brottor commented on a Page, Slap back script  -  Sep 03, 2005

\"on :ACTION:slaps :: {
/msg $chan $nick has just attempted to slap me!
/describe $chan dodges $nick and counter attacks $nick\"

k first things first add a } at the end...
also instead of using \"slaps :: {\"
use:
\"on action:slaps:: {
if ($chan == $null) {
msg $nick has just attempted to slap me!
describe $nick dodges $nick and counter attacks $nick
}
elseif ($me isin $1-) {
msg $chan $nick just attempted to slap me!
describe $chan dodges $nick and counter attacks $nick
}
}\"

i didnt test it but i think itll work..its \'better\' IMO because if somebody slaps you in query it will slap back in the query and if in channel it will slap back in channel

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.