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!
asel
Voice
Posts: 3 Joined: Sat Jul 08, 2006 2:33 am
Post
by asel » Sat Jul 08, 2006 2:40 am
I need a script to kick some type of nick:
Ex: Dona10 John11 Mona23 Kali27 Laura13
To kick evrey nick like this namenumber
and if somone /msg botnick !unban
to unban that ip nick
this is a solution for
some drone nick. Place help me.
Thanx.
avilon
Halfop
Posts: 64 Joined: Tue Jul 13, 2004 6:58 am
Location: Germany
Post
by avilon » Sat Jul 08, 2006 10:40 am
Code: Select all
set droneRegEx {^[A-Z][a-z]{3,}[12][0-9]$}
bind join - * droneKick
proc droneKick {nick host hand chan} {
if { [regexp -- ${::droneRegEx} $nick] } {
newban $nick!*@* $::botnick "Your nick matches a pattern typical for certain spam drones."
}
}
bind msg - !unban droneUnBan
proc droneUnBan {nick host hand arg} {
if { [regexp -- ${::droneRegEx} $nick] } {
killban $nick!*@*
puthelp "NOTICE $nick :Done."
}
}
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Sat Jul 08, 2006 7:50 pm
And when the nick rejoins, it will be banned again.
avilon
Halfop
Posts: 64 Joined: Tue Jul 13, 2004 6:58 am
Location: Germany
Post
by avilon » Sat Jul 08, 2006 9:26 pm
I don't see a problem there really?!
Alchera
Revered One
Posts: 3344 Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:
Post
by Alchera » Sat Jul 08, 2006 9:34 pm
avilon wrote: I don't see a problem there really?!
asel wrote: and if somone /msg botnick !unban
to unban that ip nick
.. which I gather Sir_Fz was referring to.
Add [SOLVED] to the thread title if your issue has been.
Search |
FAQ |
RTM
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Sun Jul 09, 2006 5:24 am
1) Dona12 joins the channel and gets banned
2) Dona12 is not a bot, so she msgs the bot !unban in order to be able to join the channel again.
3) Dona12 joins again, and she gets banned again.
4) The loop continues...
metroid
Owner
Posts: 771 Joined: Wed Jun 16, 2004 2:46 am
Post
by metroid » Sun Jul 09, 2006 6:49 am
tell your users to think of better nicknames