Put simply, what I want is a function that get the content of a text file hosted in the web into a string. Something like this:
var content = download( "http://www.example.com/whatever.txt" );
Now the reason I want this is because I want my script to realize when updates are available online. If there's no way to get the content from the page, anything that allows me to check a status on the web will do. For example, it could check if a certain page exists, like this:
var exists = checkIfPageExists( "http://www.example.com/whatever.txt" );
Anything that allows me to check for updates to my script.
EDIT:
Oops, looks like the script I was searching for already exists.
I found it here:
http://mpscripts.net/code.php?id=19
Very cool script, does EXACTLY what I wanted it to. Just found a couple bugs in it, and changed one or two tiny bits, but overall it's perfect.
I'm just gonna leave this page here in case someone shows up with the same doubt.