grr.. /who problem.. AGAIN :( - 20/10/07 05:35 PM
Being testing this for ages without any luck. been asking here too befor, but no luck
the code coloring the nick as it should, but if it's a channel with many users the script freezes, and im not able to solve it, any ideas?
Code:
alias who-cli { if (%colnick_ == enabled) { upd-clienc } var %nr = 1 while ($chan(%nr)) { var %chans = $addtok(%chans,%nr $ifmatch,149) inc %nr } var %nr = 1 while $gettok(%chans,%nr,149) { var %token = $ifmatch .timer 1 $calc($gettok(%token,1,32) *5) who $gettok(%token,2,32) inc %nr } } raw 352:*: { haltdef if (%nickcol_ == enabled) { if ($me !ison $2) { return } if (* isin $7) { cline -l $clinecol(po) $2 $6 } if ($6 isnotify) { cline -l $clinecol(.no) $2 $6 } if (G isin $7) { cline -l $clinecol(aw) $2 $6 } elseif (G !isin $7) && ($6 !isnotify) && (* !isin $7) { cline -l $clinecol(no) $2 $6 } upd-clienc } }
the code coloring the nick as it should, but if it's a channel with many users the script freezes, and im not able to solve it, any ideas?