Auto Unban Banlist On Op

Nie remote utk auto unban senarai ban yang ada dalam channel apabila korang naik OP channel tersebut.

ON *:OP:#: {
if ($opnick == $me) {
.timer 1 1 remban $chan
}
}
alias remban {
var %i = 1
while (%i <= $ibl($1,0)) { .inc %z 1 var %x = $addtok(%x,$ibl($1,%i),32) if (%z == $modespl) { mode $1 $+(-,$str(b,$modespl)) %x | .unset %x %z } .inc %i } mode $1 $+(-,$str(b,$numtok(%x,32))) %x | .unset %z } [/sourcecode]

Comments

Published by

PakCu

I'm a simple person

2 thoughts on “Auto Unban Banlist On Op”

Comments are closed.