I'm curious as to how to add a delay to a script.... Such and such slaps Boxbred around with a trout...after this I auto slap them back...Now they also have the auto slap script, so when they slap me, it triggers their script also. How can I add a delay in the script to keep from getting kicked for scrolling? Any help would be greatful. Thanks
just throw in a timer i dont know what the remote for recognizing a slap would look like so i wont bother but when you get to the command portion just slap a timer of whatever length you need ie { /timer 1 5 /action slaps $nick around a bit with a large trout }
Use a timer, /.timerslap $+ # 1 3 describe # slaps $nick back
"slap $+ #" is the name assigned to the timer, 1 is the number of times to perform the command, 3 is the time delay in seconds and the proceeding text is the command. Look at /help /timer