mIRC Home    About    Download    Register    News    Help

Print Thread
#102449 09/11/04 12:14 AM
Joined: Oct 2003
Posts: 306
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Oct 2003
Posts: 306
alias st {
if (!$dialog(stats)) dialog -m stats stats
var %c = $chan(0)
while (%c) { .did -a stats 4 1 $chan(%c) $chr(9) $nick($chan(%c),0) $chr(9) $nick($chan(%c),0,v ) $chr(9) $nick($chan(%c),0,o) | dec %c }

}

$nick($chan(%c),0,v ) this is may be a bug , they report me 6 users with voice and in the channel shows me only 2

could be?


thnx


mess with the best
#102450 09/11/04 12:36 AM
Joined: Mar 2004
Posts: 457
D
Fjord artisan
Offline
Fjord artisan
D
Joined: Mar 2004
Posts: 457
some opped/hoped etc users have been voiced. unvoice them and it will only show 2 voiced.

#102451 09/11/04 02:03 AM
Joined: Nov 2004
Posts: 12
E
Pikka bird
Offline
Pikka bird
E
Joined: Nov 2004
Posts: 12
if you use a bouncer for example, mIRC doesnt know if opped people have voice too. it trys to voice them while they ARE allready, so the server doesnt return that it voiced the guys that are voiced allready, again.

Try /names #channel

to get arround that problem

#102452 22/11/04 12:41 AM
Joined: Oct 2003
Posts: 214
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Oct 2003
Posts: 214
Take a look at the mIRC help:

$nick(#mIRC,0,a,o) return the total number of nicks not including ops on #mIRC

So you could use $nick(<channel>,0,v,oh) - to get only voiced nicks (excluded ops and halfops with voice)


one step closer to world domination

Link Copied to Clipboard