mIRC Home    About    Download    Register    News    Help

Print Thread
#234852 12/11/11 11:25 PM
Joined: Nov 2011
Posts: 1
V
Mostly harmless
OP Offline
Mostly harmless
V
Joined: Nov 2011
Posts: 1
I run an IRC Client for a game I play(which uses its own IRC Client to transfer Game Chat to IRC Chat), I need a way to ignore spammers. As of right now, this is an example of my problem:

Code:
<@EoS_IRC_0> volatiletutor > **** you for banning bubba
<@EoS_Info_Booth>  volatiletutor, Please do not use foul language.
<@EoS_IRC_0> volatiletutor > **** you for banning bubba
<@EoS_Info_Booth>  volatiletutor, Please do not use foul language.
<@EoS_IRC_0> volatiletutor > **** you for banning bubba
<@EoS_Info_Booth>  volatiletutor, Please do not use foul language.
<@EoS_IRC_0> volatiletutor > **** you for banning bubba
<@EoS_Info_Booth>  volatiletutor, Please do not use foul language.
<@EoS_IRC_0> volatiletutor > **** you for banning bubba
<@EoS_Info_Booth>  volatiletutor, Please do not use foul language.

As, all chat goes through the IRC Client named EoS_IRC_0, I cannot just ignore the nick EoS_IRC_0(which is what all of the scripts i've found, do)

Last edited by Khaled; 12/11/11 11:53 PM.
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
It depends on what exactly you want to do. You don't want to ignore that nick, so I guess you probably don't want to ban or kick that nick either. How are you expecting to stop the person from spamming if you're not going to do anything to the nick?

Beyond spam detection, your bot can run a flood protection script within the script that is getting spammed. However, if it's not a mIRC bot, then you'll probably have to figure out how to write it yourself or ask on the forum for that client. For mIRC, flood protection for any type of user input that generates a bot response is to set a variable that will unset after X seconds. As long as the variable is set, halt the bot response. That makes it so it only responds every X seconds (or less).

Another option you have is to track $1 and if the nick listed there is on an "ignore" list (not the built-in ignore list), then you halt the display of the text. You'd have to have that on the bot though or else the channel will still get flooded. If you just put that on yourself, you wouldn't see the flooding, but everyone else would. In general the flood protection mentioned above is better. You'll just have to figure out how to do that with that other client.


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard