Truly it will go off, whenever someone does a
/me [text] $me ($me being the bots nick) or having the text after $me.
So they could be welcoming you back, hugging, slapping, kissing, or whatever. As long as your name is included in a /me line, it will activate.
on *:action:*slap*:#:{
if ($me isin $1- && slap isin $1- && !%fl) {
inc -u10 %fl
.timer 1 2 describe # $replace($1-,$me,$nick,$chr(36),$+($chr(36),!),$chr(37),$+($str($chr(2),2),$chr(37)),|,$+($str($chr(2),2),|))
}
}
something like this would check for the slap. granted, there are better ways, of checking. as you could also
on *:action:*slap*:#:{
if ($me isin $1- && !%fl) {
inc -u10 %fl
.timer 1 2 describe # $replace($1-,$me,$nick,$chr(36),$+($chr(36),!),$chr(37),$+($str($chr(2),2),$chr(37)),|,$+($str($chr(2),2),|))
}
}
Just a couple ways. checking for the slap would help prevent spam, and unneeded triggers.
that is without stripping the colors. If you want to do that. look it up. I don't need it for myself, as the place I use it, doesn't allow, colored text.