mIRC Home    About    Download    Register    News    Help

Print Thread
#123815 27/06/05 05:10 PM
Joined: Mar 2005
Posts: 46
P
Pariah Offline OP
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Mar 2005
Posts: 46
I've got this code for messaging channels i've stored in a hash table, but i'd like it to msg across all the servers im connected to, so long ass the channel exists anyway.
Code:
  var %a = $numtok($hget(table,chans),44)
  while (%a) {
    msg $gettok($hget(outcast,chans),%a,44) <my message>
    dec %a
  }  

#123816 27/06/05 05:13 PM
Joined: Feb 2005
Posts: 681
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Feb 2005
Posts: 681
var %a = $numtok($hget(table,chans),44)
while (%a) {
scon -at1 gmsg $gettok($hget(outcast,chans),%a,44) <my message>
dec %a
}

alias gmsg if ($1 ischan) msg $1-

#123817 27/06/05 05:17 PM
Joined: Mar 2005
Posts: 46
P
Pariah Offline OP
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Mar 2005
Posts: 46
thank you!! i've been scratching my head over this for 2 days now


Link Copied to Clipboard