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.

No!Spam 1.7.2 Help please

Old posts that have not been replied to for several years.
Locked
t
therion

Post by therion »

I have a problem here. My bot can't detect any notice that is sent to the channel and have the user kickban out.
M
Mordred

Post by Mordred »

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
}
}
}
Locked