mIRC Home    About    Download    Register    News    Help

Print Thread
/scon -a??? #54683 14/10/03 02:25 PM
Joined: Oct 2003
Posts: 16
B
baron Offline OP
Pikka bird
OP Offline
Pikka bird
B
Joined: Oct 2003
Posts: 16
yeah ppl i need a lil input here... i got my mp3 player set to display in the active room on the active server right now by using the line..

/scon -a describe $active <command>

but than it takes the active room and searches for that room on every server to display in.....
now i know i can do something like..

/scon <-a | $activecid> describe $active <command>

but it doesnt work for me smirk what am i doing wrong here?.

Re: /scon -a??? #54684 14/10/03 02:40 PM
Joined: Jun 2003
Posts: 242
R
r0ck0 Offline
Fjord artisan
Offline
Fjord artisan
R
Joined: Jun 2003
Posts: 242
/scid -t1 $activecid if ($active ischan) describe $active <text>

That will work on $activecid if $active is a channel, if $active is not a channel, it does nothing.

Edit: Added -t1 so it will do nothing if $activecid is not connected to a server.

Last edited by r0ck0; 14/10/03 02:51 PM.
Re: /scon -a??? #54685 14/10/03 02:46 PM
Joined: Oct 2003
Posts: 16
B
baron Offline OP
Pikka bird
OP Offline
Pikka bird
B
Joined: Oct 2003
Posts: 16
tyvm smile

Re: /scon -a??? #54686 14/10/03 02:49 PM
Joined: Jun 2003
Posts: 242
R
r0ck0 Offline
Fjord artisan
Offline
Fjord artisan
R
Joined: Jun 2003
Posts: 242
yvw smile