OperScan v1.0 Bu kod, IRC Operatorler için desteklenen kanalı tarar ve bir liste olarak gösterir.
/operscan #Kanal Kod:
alias operscan {
if (!$1 && $active !ischan) || ($isid) { return }
if (%list_opers) { unset %list_opers }
tokenize 32 $iif($1,$1,$active)
echo $color(info) -ta * IRC Operator scan of $+($1,...)
.enable #operscan
who $1
}
alias -l encap { return $iif($isid,$+($chr(40),$round($calc(($1 / $nick($2,0)) * 100),2),%,$chr(41))) }
#operscan off
raw 352:*:{
if (* isin $7) { echo $color(info2) -ta * $+($chr(2),$6,$chr(2)) is an IRC Operator | %list_opers = %list_opers $6 }
halt
}
raw 315:*:{
var %a = $numtok(%list_opers,32), %q = IRC $iif(%a == 1,Operator,Operators)
echo $color(info) -ta * %a %q found on $+($2,.) $2 is $+(%a,/,$nick($2,0)) $encap(%a,$2) $+(%q,.)
unset %list_opers
.disable #operscan
halt
}
#operscan end HTML-Kodu:
[21:58:13] * IRC Operator scan of #Sohbet...
[21:58:13] * Eglence is an IRC Operator
[21:58:13] * Cekilis is an IRC Operator
[21:58:13] * Bad-Serv is an IRC Operator
[21:58:13] * Host is an IRC Operator
[21:58:13] * Gevezeyiz is an IRC Operator
[21:58:13] * Che is an IRC Operator
[21:58:13] * Faith is an IRC Operator
[21:58:13] * Candy is an IRC Operator
[21:58:14] * Sado is an IRC Operator
[21:58:14] * 9 IRC Operators found on #Sohbet. #Sohbet is 9/43 (20.93%) IRC Operators. |