Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ($($+(%,botflood.,$nick),2) {
- halt
- ;this will stop the script if the variable set by triggering the script still exists (hasn't been a day)
- }
- else {
- ;trigger the script response here such as
- ;msg $chan hello to you too $nick
- inc -z $+(%,botflood.,$nick) 86400
- ;this will set a variable %botflood.NICK to 86400 and decrease that number once every second
- ;I used 86400 because that's how many seconds are in a day
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement