Im looking for what I thought was a simple function, a script to define a number, lets say 100

I then want it to check a text file, if the text file has 100 in it , it displays "You have latest version" , If the textfile has 101 in it, it displays "Update available"

Hope you guys understand. Looking forward in seeing your ideas on this one. Cheers