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.
F
Fizzwizz
Post
by Fizzwizz » Sat Jul 26, 2003 12:02 pm
Due to enourmous amounts of spam on my network I would like my eggdrop to add a kline for anyone who messages it. I have had a similar script running in my remotes on MIRC but unfortunately I cannot be online all the time. My bot can!
Can anyone helpme with this
Many Thanks .... Fizz
spock
Master
Posts: 319 Joined: Thu Dec 12, 2002 8:40 pm
Post
by spock » Sat Jul 26, 2003 12:40 pm
Code: Select all
bind msgm - "*" msgm:kline
proc msgm:kline { n uh h t } {
if { [validuser [nick2hand $n]] } { return 0 }
# do the kline stuff
return 0
}
i dont know the syntax of kill/kline stuff
also, im not sure, but this might break other msg commands
photon?
B
Bena
Post
by Bena » Sat Jul 26, 2003 12:43 pm
You should chech the "noads.tcl" .... it's a good script designed to ban spamming bot / ppl
You should find the binds you need to do what you want
and next, you'll have to add a procedure to kline everybody who /msg your bot
Maybe you should check before ading kline if the one msging in the in the bot userlist ^^
good luck
-- argh ... too slow
F
Fizzwizz
Post
by Fizzwizz » Sat Jul 26, 2003 1:10 pm
The syntax for the kline would be /kline nick
If entered from my clients' command line. How would this translate into the script you have shown me?
Thanks again ... Fizz
spock
Master
Posts: 319 Joined: Thu Dec 12, 2002 8:40 pm
Post
by spock » Sat Jul 26, 2003 3:07 pm
putserv "KLINE $n"
photon?
F
Fizzwizz
Post
by Fizzwizz » Sat Jul 26, 2003 3:43 pm
Brilliant, that works a treat. Thanks once more!