It's just a simple blacklist using hash tables. [For a Bot]
<!---Start Note---!>
It will give you an error the first time you use this. There is most likely not a table in your mIRC directory named shitlist.tmp. This is ok. The script will make one, and save it.
<!--End Note--!>
Just set the var, %owner, to your nick, or whoever the owner is.
on *:start: hmake shitlist 100 | hload shitlist shitlist.tmp
on *:exit: hsave shitlist shitlist.tmp
on *:join:#: if ($me isop $chan) && ($botaccess($fulladdress) = Dead) { kick $chan $nick You've been SHITLISTED! | mode # +b $address($nick,5) }
on *:text:~add*:#: if ($2 = shitlist) && ($nick = %owner) { hadd shitlist $3 Dead }
on *:text:~del*:#: if ($2 = shitlist) && ($nick = %owner) { hdel shitlist $3 Dead }
alias botaccess { return $hget(shitlist, $hfind(shitlist, $1, 1, W)) }