| View previous topic :: View next topic |
| Author |
Message |
flashy Voice
Joined: 01 May 2006 Posts: 24
|
Posted: Sun Jul 30, 2006 2:41 am Post subject: flyby tempban help |
|
|
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 |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Sun Jul 30, 2006 10:04 am Post subject: |
|
|
| You need to add a timer to remove the ban.. |
|
| Back to top |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Sun Jul 30, 2006 10:42 am Post subject: |
|
|
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 |
|
 |
flashy Voice
Joined: 01 May 2006 Posts: 24
|
Posted: Sun Jul 30, 2006 4:29 pm Post subject: |
|
|
| great idea on the dynamicbans will give it a try , thanks. |
|
| Back to top |
|
 |
|