mIRC Homepage
Posted By: omarkhan server catcher - 14/02/03 01:49 PM
Im trying to get alist of the servers i have connected to or the past 8 servers i connected to! i've used the on connect statement like this :
on 1:connect:{
write servers.txt $sever $+:$+ $port
}
will this work or shud i use something else to get the list! ??
Posted By: Aubs Re: server catcher - 14/02/03 02:26 PM
The last servers you connected to (I think) are automatically saved in order.

Try:
//echo -a $server(1)
//echo -a $server(2)
//echo -a $server(3)
//echo -a $server(4)

See if they are the last few servers you connected to.

Oh, you have to alter one thing...

In mIRC Options, Connect--->Options, put a "tick" in the box marked "Move to top of list on connect"

This makes mIRC move the server yo last connected to to the top of the list (so if you are connected to a server now, doing //echo -a $server(1) would tell you the server you are on) $server(2) would tell you the you were on before...etc...


From the help file (/help Connect Options):

[help]
Move to top of list on connect
Moves a server to the top of the servers list when you connect to it.
[/help]
© mIRC Discussion Forums