chaokusc Voice
Joined: 25 Apr 2006 Posts: 18
|
Posted: Sun Jun 11, 2006 1:34 pm Post subject: kiss script (random name script) needed |
|
|
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: |
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 |
|