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.
Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
deadman
Voice
Posts: 18 Joined: Mon May 08, 2006 6:32 pm
Post
by deadman » Sun Jul 16, 2006 12:50 pm
hi guys
is it poss to make the eggdrop msg a nick onjoining a set channel after say 5 sec but if the nick leaves befor 5 secs is up the eggdrop dosent msg said channel
thanx guys
rosc2112
Revered One
Posts: 1454 Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania
Post
by rosc2112 » Mon Jul 17, 2006 7:19 pm
Sure, just use a timer and then double-check if the nick is still present before sending the msg.
metroid
Owner
Posts: 771 Joined: Wed Jun 16, 2004 2:46 am
Post
by metroid » Tue Jul 18, 2006 1:37 am
Code: Select all
bind JOIN -|- * useless:spam
proc useless:spam {nick host hand chan} {
utimer 5 [list send:spam $chan $nick]
}
proc send:spam {chan nick} {
if {[onchan $nick $chan]} {
putserv "PRIVMSG $chan :Welcome $nick!"
}
}
if the person were to rejoin over and over, this would obviously cause a flood though.
deadman
Voice
Posts: 18 Joined: Mon May 08, 2006 6:32 pm
Post
by deadman » Tue Jul 18, 2006 1:33 pm
thanx metroid for your help
is there away to stop it flooding say like if the bot was to only msg the cannel to the same nick every 10 mins if they kept rejoining
deadite66
Halfop
Posts: 74 Joined: Mon May 30, 2005 2:49 am
Location: Great Yarmouth, UK
Post
by deadite66 » Tue Jul 18, 2006 1:49 pm
maybe change to NOTICE $nick so they would just spam themselves
<- tcl newb
deadman
Voice
Posts: 18 Joined: Mon May 08, 2006 6:32 pm
Post
by deadman » Tue Jul 18, 2006 2:22 pm
nice idea thanx