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.
Old posts that have not been replied to for several years.
-
Volume
- Halfop
- Posts: 84
- Joined: Fri May 23, 2003 5:08 am
Post
by Volume »
hello,
i need a anti rejoin script that bans a user for the time of 10 minutes.
the banmask must be: *!*@p5085306A.dip.t-dialin.net
in the tcl archive have i not found this script.
thank all for help.
-
B
BassezAss
Post
by BassezAss »
just put this when you telnet your bot
+ban <hostmask> [channel] [%<XdayXhoursXminutes>] [comment]
example: .+ban *yousuck*!*@* %1h30m change your nick please (yeah i know it's slennox one

)
-
caesar
- Mint Rubber
- Posts: 3778
- Joined: Sun Oct 14, 2001 8:00 pm
- Location: Mint Factory
Post
by caesar »
Anti rejoin after a kick or what?
Once the game is over, the king and the pawn go back in the same box.
-
Volume
- Halfop
- Posts: 84
- Joined: Fri May 23, 2003 5:08 am
Post
by Volume »
caesar wrote:Anti rejoin after a kick or what?
wenn a user get a kick and this user join this chan in 5 seconds he get channelban for 10 minutes
-
caesar
- Mint Rubber
- Posts: 3778
- Joined: Sun Oct 14, 2001 8:00 pm
- Location: Mint Factory
Post
by caesar »
Code: Select all
bind kick - "*" arj:kick
bind join * * arj:join
proc arj:kick {nick uhost handle chan target reason} {
global arejn
if {$target == $::botnick} {
return
}
set arejn($chan:[getchanhost $target $chan]) 1
utimer 5 [list arj:reset $chan [getchanhost $target $chan]]
}
proc arj:join {nick uhost handle chan} {
global arejn
if {[info exists arejn($chan:$uhost)]} {
set mask "*!*@[lindex [split $uhost @] 1]"
newchanban $chan $mask $::botnick "rejoined after you got kicked, this definitly was smart.." 10
array unset arejn $chan:$uhost
}
}
proc arj:reset {chan uhost} {
global arejn
if {[info exists arejn($chan:$uhost)]} {
array unset arejn $chan:$uhost
}
}
Once the game is over, the king and the pawn go back in the same box.
-
Volume
- Halfop
- Posts: 84
- Joined: Fri May 23, 2003 5:08 am
Post
by Volume »
@caesar
thank you very much
works great
