Advertisement
illpastethat

flood protection for andromeda

Apr 11th, 2012
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.66 KB | None | 0 0
  1. on text bla bla bla ...
  2. if ($($+(%,botflood.,$nick),2)) {
  3.     if ($($+(%,botflood.,$nick),2) >= 50) {
  4.       ignore -u60 $address($nick,2)
  5.       msg $chan $+($nick,$chr(44)) You have been put on ignore for 60secs for abusing the bot.
  6.       halt
  7.     }
  8.     elseif ($($+(%,botflood.,$nick),2) >= 40) {
  9.       msg $chan $+($nick,$chr(44)) Please do not flood the bot.
  10.       inc -z $+(%,botflood.,$nick) 20
  11.       halt
  12.     }
  13.     else {
  14.       inc -z $+(%,botflood.,$nick) 25
  15.     }
  16.   }
  17.   else {
  18.     inc -z $+(%,botflood.,$nick) 25
  19.   }
  20. and then the actual script starts here.
  21. and change the value it increases it by to lower or higher the flood protection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement