mIRC Homepage
Posted By: Deep3D Version finder - 16/08/05 06:50 PM
on *:ctcpreply:VERSION*:{
if (Reactor Script isin $1-) {
if (%last.rs isin $1-) { halt }
if (v1. !isin $1-) { halt }
if ($5 < %last.rs) { halt }
else { .notice $nick A new version ( $+ %last.rs $+ ) of The Reactor Script has been released, please visit http://reactor.vivaladag.com for download and updates! }
}
}[/code]

I need the script to halt if over version 1.70 and if lower countinue... But this "red" i have now dosent work... Perhaps a script that search and find the 1.70 version and compared with the saved %var..

Also:
And the version reply is:

[djup VERSION reply]: mIRC v6.16 Khaled Mardam-Bey
-
[djup VERSION reply]: The Reactor Script v1.70
Posted By: SladeKraven Re: Version finder - 16/08/05 07:13 PM
And what is the identifier/variable to define it's current version?

if (%ver.now < $4) { .notice $nick ... }

Supposing the old/new versions look like:

v1.68 & v1.70

-Andy
Posted By: Riamus2 Re: Version finder - 16/08/05 08:20 PM
Are you mass noticing people who have your script to tell them to update? That's not a good way of handling new versions. You're better off having the script give an option to check for new versions (give the user an option of automatically checking or manually checking depending on their preferences).
Posted By: stefys99 Re: Version finder - 16/08/05 09:51 PM
Quote:
Are you mass noticing people who have your script to tell them to update? That's not a good way of handling new versions. You're better off having the script give an option to check for new versions (give the user an option of automatically checking or manually checking depending on their preferences).

Or connecting with sockets to a server once a half of hour and check for updates smile
Posted By: Riamus2 Re: Version finder - 17/08/05 02:29 PM
Quote:
(give the user an option of automatically checking or manually checking depending on their preferences)


As I said... "automatically checking" smile
Posted By: Deep3D Re: Version finder - 17/08/05 04:33 PM
Quote:
Quote:
(give the user an option of automatically checking or manually checking depending on their preferences)


As I said... "automatically checking" smile


It's just temporary, since there is so many that hasent updated.. smirk
© mIRC Discussion Forums