mIRC Home    About    Download    Register    News    Help

Print Thread
#117587 17/04/05 04:57 PM
Joined: Sep 2004
Posts: 73
S
SteeleR Offline OP
Babel fish
OP Offline
Babel fish
S
Joined: Sep 2004
Posts: 73
i'm trying to get the group that my current network is written in ..
with $server($cid).desc i get the first in the list ... but how do i get the one that is active at the moment ?
10x for the help smile


HanPeg HanPeg u BuHaru HanPeg nPu noPa}|{eHue kParoM u nAk HanPeg
#117588 17/04/05 05:27 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Do you mean..
Code:
if ($server($server).desc) { ... }

#117589 17/04/05 11:05 PM
Joined: Dec 2002
Posts: 1,544
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,544
//echo -a $server($server).group will show the group it's listed in. As Slade showed you, a comparison could be used like:

if ($server($server).group == Mine) { code }


Those who fail history are doomed to repeat it
#117590 17/04/05 11:23 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
They wanted it's Group name? Oops! mad

#117591 18/04/05 12:19 AM
Joined: Dec 2002
Posts: 1,544
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,544
I dont know but that's how I saw it. You could easily be right and me wrong


Those who fail history are doomed to repeat it
#117592 18/04/05 02:06 AM
Joined: Sep 2004
Posts: 73
S
SteeleR Offline OP
Babel fish
OP Offline
Babel fish
S
Joined: Sep 2004
Posts: 73
10x ... it's working smile


HanPeg HanPeg u BuHaru HanPeg nPu noPa}|{eHue kParoM u nAk HanPeg
#117593 18/04/05 03:14 AM
Joined: Dec 2002
Posts: 1,544
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,544
awesome! you're welcome smile


Those who fail history are doomed to repeat it

Link Copied to Clipboard