Code: Select all
proc stats:opcount {chan} {
set userops 0
putlog "$chan"
foreach person [chanlist $chan] {
if {[isop $person $chan] && ![isvoice $person $chan]} {
incr userops
set person "\@$person"
putlog "$person - $userops"
}
}
return $userops
}
But clearly in MIRC and other clients secure and subsero|a are not oped[10:48] <asustek> [10:48] #hammie
[10:48] <asustek> [10:48] @asustek - 1
[10:48] <asustek> [10:48] @TheDeadMan - 2
[10:48] <asustek> [10:48] @kissmine - 3
[10:48] <asustek> [10:48] @secure - 4
[10:48] <asustek> [10:48] @subzero|a - 5
I have tryed everything i can think of. If anyone can tell me why this is not working correctly it would be great.
-----------
ThePope