This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

kiss script (random name script) needed

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
c
chaokusc
Voice
Posts: 18
Joined: Tue Apr 25, 2006 5:57 am

kiss script (random name script) needed

Post by chaokusc »

What i need is, when somone types !kiss, my bot will kiss a random user with a random line from the randkiss_response

But when user adds somthing after kiss, the bot kisses them (EXAMPLE: !kiss Gemma would pull the text from the kiss_response) but only if the user excists on that channel, otherwise it should say User %noexcistnick does not excist in this channel

%randomnick = A random user from the channel, except the bots nick
%nick = The person who posted the !kiss Command
%whotokiss = The person the bot kisses if stated in the command

Code: Select all

set randkiss_response {
  "\001ACTION Kisses %randomnick\001"
  "I dont feel like slapping %randomnick right now %nick"
  "."
}
set kiss_response {
  "\001ACTION Kisses %whotokiss\001"
  "I dont feel like slapping %random right now %nick"
  "."
}
Thanks to anyone who helps with this
Post Reply