rendered paste bodyon *:text:.*:#:{
if ($nick isvoice $chan) { notice $nick this command is for ops only | halt }
if ($nick isreg $chan) { notice $nick this command is for ops only | halt }
if ($1 == .k) { .kick $chan $$2 $3- %kcount }
elseif ($1 == .kb) {
.ban -ku1800 $chan $2 $address($2,7) }
elseif ($1 == .unban) {
.mode $chan -b $address($2,7)
}
elseif ($1 == .gag) { .mode $chan +b ~q: $+ $address($$2,2) }
elseif ($1 == .degag) { .mode $chan -b ~q: $+ $address($$2,2) }
elseif ($1 == .m) { mode $chan m }
elseif ($1 == .-m){ mode $chan -m }
elseif ($1 == .v) { mode $chan v $IIF($2,$2-,$nick) }