Simple Shitlist For Bot
Platform: mIRC
Published Mar 25, 2008
Updated Mar 27, 2008
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 shoot.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 shoot 100 | hload shoot shoot.tmp
on *:exit: hsave shoot shoot.tmp
on *:join:#: if ($me isop $chan) && ($botaccess($fulladdress) = Dead) { kick $chan $nick You've been shoot! | mode # +b $address($nick,5) }
on *:text:~add*:#: if ($2 = shoot) && ($nick = %owner) { hadd shoot $3 Dead }
on *:text:~del*:#: if ($2 = shoot) && ($nick = %owner) { hdel shoot $3 Dead }
alias botaccess { return $hget(shoot, $hfind(shoot, $1, 1, W)) }