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.
z_one
Master
Posts: 269 Joined: Mon Jan 14, 2002 8:00 pm
Location: Canada
Post
by z_one » Wed Apr 10, 2002 12:10 pm
Can anyone write a small script (or point me to one) that bans a user with the following mask *!*@host when they send a channel notice.
I know it's easy but for some reason I am unable to make it work!
Thx
<font size=-1>[ This Message was edited by: z_one on 2002-04-10 10:11 ]</font>
M
Mordred
Post
by Mordred » Fri Apr 12, 2002 5:32 am
this should work..
set channels "#chan1 #chan2"
bind notc - "*" notice
proc notice {nick host hand text dest} {
global channels botnick
foreach chan $channels {
if {$chan == $dest} {
set x [split $host @]
newchanban $chan *!*@[lindex $x 1] $botnick "Another noticing dickhead bites the dust.." 60
}
}
}
<font size=-1>[ This Message was edited by: Mordred on 2002-04-12 03:35 ]</font>
z_one
Master
Posts: 269 Joined: Mon Jan 14, 2002 8:00 pm
Location: Canada
Post
by z_one » Thu Apr 18, 2002 5:01 am
Thx Mordered, I'll try it out and sorry for being late to reply. I was a bit busy
z_one
n
n3v3r
Post
by n3v3r » Fri May 17, 2002 3:36 pm
Please I use this tcl script,it's possible set the ban after 3 notice?tnx