Simple on action script designed for a bot so when someone does /me pokes bot the bot will reply /me pokes person back. Has poke, snog, hug, cuddles, huggles, touches & slaps.
Works Perfect fully tested and running on my bot.
Simply Load into remotes!
on *:ACTION:*:#: {
if ($1 == hugs) goto hug
if ($1 == cuddles) goto hug
if ($1 == huggles) goto hug
if ($1 == touches) goto touch
if ($1 == pokes) goto poke
if ($1 == snogs) goto snog
if ($1 == slaps) goto slap
halt
:hug
if ($2 == $me) {
describe # hugs $nick back.
else halt
halt
}
:touch
if ($2 == $me) {
describe # touches $nick back .
else halt
halt
}
:Poke
if ($2 == $me) {
describe # pokes $nick back!
else halt
halt
}
:snog
if ($2 == $me) {
describe # snogs $nick back.
else halt
halt
}
:slap
if ($2 == $me) {
describe # slaps $nick back.
else halt
halt
}
}
This wouldn\'t work?
$1 is the nick that *\'s you. For example; King-Kai huggles BeDfRaMe, so it would be better if you had if (hugs isin $1-)? Perhaps add if (hugs isin $1-) && ($me isin $1-) goto? The && part does exactly the same as the rest of the snippet but it might look neater, ahuno.
Apart from that, pretty good. I like the idea of having more than just huggle or slap revenge. I\'d rate it if I could. (Y)