you could clean it up abit
on *:JOIN:#: {
if ($($+(%,banned,.,$address($nick,2)),2) > 0) {
ban -k $chan $nick 2 you are on the Pban List and are not welcome here!!
msg $chan $nick is on the Pban List and is not welcome here!!
}
}
on *:text:!pban*:#: {
if ($2 ison # && $nick isop # && $nick != $2) {
inc $+(%,banned,.,$address($2,2))
ban -k $chan $2 2 you are on the Pban List and are not welcome here!!
msg $chan $nick is now on the Pban List and is not welcome here!!
}
}
you dont need to use the kick line if you are useing the -k switch in the ban