mIRC Home    About    Download    Register    News    Help

Print Thread
#11031 14/02/03 01:49 PM
Joined: Feb 2003
Posts: 3
O
Self-satisified door
OP Offline
Self-satisified door
O
Joined: Feb 2003
Posts: 3
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! ??

#11032 14/02/03 02:26 PM
Joined: Dec 2002
Posts: 143
A
Vogon poet
Offline
Vogon poet
A
Joined: Dec 2002
Posts: 143
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]


Aubs.
cool


Link Copied to Clipboard