Advertisement
illpastethat

Bot Flood Example Callvote

Dec 17th, 2011
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.43 KB | None | 0 0
  1. if ($($+(%,botflood.,$nick),2) {
  2.   halt
  3.   ;this will stop the script if the variable set by triggering the script still exists (hasn't been a day)
  4. }
  5. else {
  6.   ;trigger the script response here such as
  7.   ;msg $chan hello to you too $nick
  8.   inc -z $+(%,botflood.,$nick) 86400
  9.   ;this will set a variable %botflood.NICK to 86400 and decrease that number once every second
  10.   ;I used 86400 because that's how many seconds are in a day
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement