Hi, I am interested in a tcl script that, based on the letters you do not like (spam) from a specific list. the eggdrop send a notice to the moderators (aop) of chan where it is, and also to the IRCOPS network.
Last edited by TuSaiChi on Sat Feb 16, 2013 8:19 am, edited 1 time in total.
Ok.
When the user says "come on # channel" or "http://" or "www" (this should be in a list type bind pubm - "* http:// *").
The task of the BOT is in sending a notice to the moderator, where the channel is the "message" of spam, and another notice to IRC OPS.
for example (notice): (21:45:08)-BOTNAME @ # chan-Spam Reporting => <nick> http://www.website.org
Just change the first #channel with the channel you want the script to work in and #channel-notice to the channel you want the bot to send a notice with the nickname and the arguments that the nick said
I modifyed the code in the old post to work on all channel and i added the condition so that an aop (user with op in the channel) says something like http:// or anything else that is added as a spam word/phrase will be ignored
And about the IRC OPS part i don`t know.. that part is tricky to send only does nicknames a NOTICE they could just join the channel were the notice is sent (thats the easiest way for the eggdrop and everyone else)
There is a small problem, the channel for the notification does not go well. The user himself that "spams" is on channel # try and set the channel is set temp (chan) "blue"
notice is reported in the blue channel
(23:36:04)-ChanStats: # blue - User_1541 Reporting Spam => # Canalea
It would be convenient to make also the operation of the first, that do work for all channels, if it is possible.
You have to restart the eggdrop when you load my last verson of the script
The script will work on all channels that the bot is in
You only have to modify the temp(chan) with the channel where you want the bot to send the NOTICE about the spammer
The BOT will NOTICE all nicknames that are OPPED (@) in $temp(chan)
You have to restart the eggdrop when you load my last verson of the script
The script will work on all channels that the bot is in
You only have to modify the temp(chan) with the channel where you want the bot to send the NOTICE about the spammer
The BOT will NOTICE all nicknames that are OPPED (@) in $temp(chan)
Something like this..
Just test the code see if it works and does what you want .. that is what i understand you wanted..
Ok so finally we got to the final version
So the scripts works like this:
If a word/phrases added as spam is said in a channel where the bot and that user is not an voice/op/halfop in the channel the bot will notice all @'s channels about that action. The script also has a backup channel for this kind of notice
Madalin wrote:
You have to restart the eggdrop when you load my last verson of the script
The script will work on all channels that the bot is in
You only have to modify the temp(chan) with the channel where you want the bot to send the NOTICE about the spammer
The BOT will NOTICE all nicknames that are OPPED (@) in $temp(chan)
Something like this..
Just test the code see if it works and does what you want .. that is what i understand you wanted..