mIRC Home    About    Download    Register    News    Help

Print Thread
#125897 23/07/05 05:40 AM
Joined: Dec 2002
Posts: 27
S
silent Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Dec 2002
Posts: 27
Hi,

i am connected on 3 servers, if i do this: //echo -a $server(0)
then it returns 1? well i could use "$scon", but i need the servernames! and i can only use "$server(1)"... if id use 2 or 3 it returns:

* /echo: insufficient parameters

What is wrong?

#125898 23/07/05 06:35 AM
Joined: Dec 2002
Posts: 27
S
silent Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Dec 2002
Posts: 27
nevermind, i forgot that $server is for the serverlist and not the connected servers.... but how can i get the connected servernames? $scon only returns numbers

#125899 23/07/05 06:52 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
$server will return the server you are connected to.

$server(?) reference the server list.

The first one doesn't use a parameter, the second does.

#125900 23/07/05 09:16 AM
Joined: Jul 2003
Posts: 19
R
Pikka bird
Offline
Pikka bird
R
Joined: Jul 2003
Posts: 19
$scon(N).server


"Three words of destruction: Shun-Goku-Satsu"

Link Copied to Clipboard