mIRC Home    About    Download    Register    News    Help

Print Thread
#127768 16/08/05 06:50 PM
Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
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

Last edited by Deep3D; 16/08/05 06:53 PM.
#127769 16/08/05 07:13 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
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

#127770 16/08/05 08:20 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
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).


Invision Support
#Invision on irc.irchighway.net
#127771 16/08/05 09:51 PM
Joined: Aug 2005
Posts: 128
S
Vogon poet
Offline
Vogon poet
S
Joined: Aug 2005
Posts: 128
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

#127772 17/08/05 02:29 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Quote:
(give the user an option of automatically checking or manually checking depending on their preferences)


As I said... "automatically checking" smile


Invision Support
#Invision on irc.irchighway.net
#127773 17/08/05 04:33 PM
Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
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


Link Copied to Clipboard