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 

Look for a script that send message to user after kick

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


Joined: 20 Sep 2013
Posts: 15

PostPosted: Fri Sep 20, 2013 12:43 pm    Post subject: Look for a script that send message to user after kick Reply with quote

Hello,

I look for a script to eggdrop that after X user kick from some channel the eggdrop will send him a private message with this info:

Hello $nick you kick out from $chan - for more info please visit http://...

Thank you !
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Fri Sep 20, 2013 2:48 pm    Post subject: Re: Look for a script that send message to user after kick Reply with quote

Code:

# Sep 20, 2013
# http://forum.egghelp.org/viewtopic.php?t=19514
# Reference: http://www.eggheads.org/support/egghtml/1.6.21/tcl-commands.html     and find      bind kick

bind kick - "* *" msg_on_kick

proc msg_on_kick {nick uhost handle chan target reason} {
        putserv "privmsg $target :Hello $target you kick out from $chan - for more info please visit http://... "
}

You will need to edit the putserv line to have the bot deliver whatever message you want. I hope this helps.
Back to top
View user's profile Send private message
Moti
Voice


Joined: 20 Sep 2013
Posts: 15

PostPosted: Sat Sep 21, 2013 12:19 pm    Post subject: Re: Look for a script that send message to user after kick Reply with quote

Oh man, I'm really really thank you! It's working great ! Smile
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