| View previous topic :: View next topic |
| Author |
Message |
Moti Voice
Joined: 20 Sep 2013 Posts: 15
|
Posted: Fri Sep 20, 2013 12:43 pm Post subject: Look for a script that send message to user after kick |
|
|
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 |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Fri Sep 20, 2013 2:48 pm Post subject: Re: Look for a script that send message to user after kick |
|
|
| 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 |
|
 |
Moti Voice
Joined: 20 Sep 2013 Posts: 15
|
Posted: Sat Sep 21, 2013 12:19 pm Post subject: Re: Look for a script that send message to user after kick |
|
|
Oh man, I'm really really thank you! It's working great !  |
|
| Back to top |
|
 |
|