egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

kiss script (random name script) needed

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
chaokusc
Voice


Joined: 25 Apr 2006
Posts: 18

PostPosted: Sun Jun 11, 2006 1:34 pm    Post subject: kiss script (random name script) needed Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber