on *:TEXT:!bl *:#ZHelp:{ if ($read(botadmins.txt,w,$address($nick,2)) || $read(botowner.txt,w,$address($nick,2))) || ($nick == [-]DaN[-]) {
if ($2 == #zhelp) { HALT }
if ($read(blchans.txt,w,$2)) {
notice $nick 4[6Blacklist4] 6Channel 7[4 $2 7]6 is already 6Blacklisted6.
halt
}
write blchans.txt $2
notice $nick 4[6Blacklist4] 6Channel6 [4 $2 7]6 successfully Blacklisted
part $2 4[6Blacklist4] 6Channel7 [4 $2 6]6 has been BlackListed.
write -dw $+ $chan ajchans.txt
}
}
on *:TEXT:!delbl *:#zhelp:{ if ($read(botadmins.txt,w,$address($nick,2)) || $read(botowner.txt,w,$address($nick,2))) {
if ($read(blchans.txt,w,$2)) {
write -ds $+ $2 blchans.txt
notice $nick 4[6Blacklist4] 6Channel7 [4 $2 7]6 was removed from the 4Blacklist6.
halt
}
notice $nick 4[6Blacklist4] 6Channel7 [4 $2 7]6 Not found on the 4Blacklist6.
}
}
on *:INVITE:#:{ if ($read(blchans.txt,w,$chan)) {
notice $nick 6[4 $chan 6]6 is 4Blacklisted6. Go to 4#ZHelp6 for Queries
ignore $nick 2
timer 1 100 ignore -r $nick 2
halt
}