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.

Look for a script that send message to user after kick

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
M
Moti
Voice
Posts: 15
Joined: Fri Sep 20, 2013 12:36 pm

Look for a script that send message to user after kick

Post by Moti »

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 !
w
willyw
Revered One
Posts: 1205
Joined: Thu Jan 15, 2009 12:55 am

Re: Look for a script that send message to user after kick

Post by willyw »

Code: Select all

# 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.
M
Moti
Voice
Posts: 15
Joined: Fri Sep 20, 2013 12:36 pm

Re: Look for a script that send message to user after kick

Post by Moti »

Oh man, I'm really really thank you! It's working great ! :)
Post Reply