mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Apr 2009
Posts: 10
B
Pikka bird
OP Offline
Pikka bird
B
Joined: Apr 2009
Posts: 10
I am trying to do a script that pops up on the command !rooms and tells me how many rooms i am in at the moment. I know about $chan(0) but it only shows me the channels i am in on that particular server. not all of the servers combined. any help would be appreciated.

Joined: Aug 2004
Posts: 7,168
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,168
Code:
alias rooms {
  .scon -at1 room_count $!chan(0)
  echo -a %rooms
  unset %rooms
}
alias -l room_count {
  inc %rooms $1
}


Link Copied to Clipboard