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 

flyby tempban help

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


Joined: 01 May 2006
Posts: 24

PostPosted: Sun Jul 30, 2006 2:41 am    Post subject: flyby tempban help Reply with quote

need help please, im trying to make a flyby script tempban for a minute
i've try adding
Code:

putserv "privmsg chanserv :$c tempban [maskhost $n!$u] 1m"

didnt work,it bans , but the ban doesnt get removed.

i'm using
Code:

bind part - * ban:flyby

proc ban:flyby {nick uhost hand chan arg} {
if [matchattr $hand of|of] return ;
if {[getchanjoin $nick $chan] >= [expr {[clock seconds]-3}]} {
putquick "MODE $chan +b *!*@[lindex [split $uhost @] 1]"
 }
}

from this post
http://forum.egghelp.org/viewtopic.php?t=9248&highlight=flyby


thanks in advance.
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sun Jul 30, 2006 10:04 am    Post subject: Reply with quote

You need to add a timer to remove the ban..
Back to top
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Sun Jul 30, 2006 10:42 am    Post subject: Reply with quote

simply enable dynamicbans for your channels, this will then use the ban-time setting to remove bans (if you set it, which you should have)

.chanset * +dynamicbans
Back to top
View user's profile Send private message
flashy
Voice


Joined: 01 May 2006
Posts: 24

PostPosted: Sun Jul 30, 2006 4:29 pm    Post subject: Reply with quote

great idea on the dynamicbans will give it a try , thanks.
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