[YouTube] Checking for updates and clearing variables...
[YouTube] Current: v6.2 Latest: v6.2 Status: Up to date
It's very annoying to see this everytime I start mIRC.
Could you make this happen in the background, and only show a message if there is an update. Because I don't need to know everytime that my script is already up to date.
You can use the $ctime(text) identifier to compare dates.
$ctime uses standard Unix timestamps, which are the seconds elapsed since midnight, January 1, 1970 to your specified date.
The only downside is that you can only compare dates from January 1, 1970 to January 19, 2038.
alias comparedate {
if ($ctime($1) > $ctime($2)) return 1
elseif ($ctime($1) < $ctime($2)) return 2
else return 3
}