on *:TEXT:!b*:#: {
if ($nick isop $chan) || ($nick ishop $chan) {
/mode $chan +b $address($2,2)
/notice $2 you are banned from $chan for $3-
/notice $nick you have successfully banned $2 at $address($2,2) from $chan for $3-
}
else {
/notice $nick you cant do that, please refer to a H'Op or Op for help
}
}
on *:TEXT:!uban*:#: {
if ($nick isop $chan) || ($nick ishop $chan) {
/mode $chan -b $address($2,2)
/notice $2 you were unbanned from $chan by $nick
/notice $nick you have successfully unbanned $2 at $address($2,2) from $chan
}
else {
notice $nick you cant do that, please refer to a H'Op or Op for help
}
}
on *:TEXT:!kb*:#: {
if ($nick isop $chan) || ($nick ishop $chan) {
/mode $chan +b $address($2,2)
kick $chan $2 Requested by $nick for $3-
/notice $2 you have been Kick-Banned from $chan by $nick for $3-
/notice $nick you have successfully kick-banned $2 at $address($2,2) from $chan
}
else {
notice $nick you cant do that, please refer to a H'Op or Op for help
}
}
on *:TEXT:!k*:#: {
if ($nick isop $chan) || ($nick ishop $chan) {
kick $chan $2 Requested by $nick for $3-
/notice $nick you have successfully kicked $2 at $address($2,2) from $chan
}
else {
notice $nick you cant do that, please refer to a H'Op or Op for help
}
}