egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

+ignore [solved]
Goto page 1, 2  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
gemeau50
Voice


Joined: 11 Jun 2004
Posts: 38
Location: Trois-Rivières, Canada

PostPosted: Thu Dec 06, 2007 12:55 pm    Post subject: +ignore [solved] Reply with quote

+ignore <hostmask> [%<XdXhXm>] [comment]
Adds a hostmask to the ignore list, with your nickname, optional comment and ignoretime.
This command can be used to either ignore users on irc,
or to ignore incoming telnet connections.
Ignoretime has to be expressed in days, hours and/or minutes.

In order to stop flooders trying to flood my bot, I used the +ignore command as follows:
.+ignore *!*@xx.*

Then, we noticed that while the bot was recording the arrival of users within that network, it wasn't logging any text for those users.

Is there a way that I can use the +ignore command in order to stop users to contact my bot while the bot would still be able to log what such users are sending to the channel?

Tx in advance


Last edited by gemeau50 on Tue Dec 11, 2007 9:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
Zircon
Op


Joined: 21 Aug 2006
Posts: 191
Location: Montreal

PostPosted: Thu Dec 06, 2007 1:20 pm    Post subject: Reply with quote

There is no command buit-in in eggdrop to allow you that. That s why in this case i use The IRC command Silence.
Code:
.dump Silence *!*@xx.*
To remove the silence:
Code:
.dump -Silence *!*@xx.*
And you have to be owner to be able to use .dump.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Thu Dec 06, 2007 1:40 pm    Post subject: Reply with quote

Might be worth noting that the "silence" irc command is not standardized, and is only available on some servers/irc-networks...
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Zircon
Op


Joined: 21 Aug 2006
Posts: 191
Location: Montreal

PostPosted: Thu Dec 06, 2007 1:51 pm    Post subject: Reply with quote

You are right nml375, i use it on Undernert, and i know it exists on Dalnet, but dont know about the other networks.
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Thu Dec 06, 2007 7:09 pm    Post subject: Reply with quote

Zircon wrote:
and i know it exists on Dalnet, but dont know about the other networks.

If it exists on DALnet then it's the best kept secret of the 21st Century. Laughing

On DALnet, to prevent a lot of rubbish, we set our user mode +R.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Zircon
Op


Joined: 21 Aug 2006
Posts: 191
Location: Montreal

PostPosted: Fri Dec 07, 2007 12:21 am    Post subject: Reply with quote

But i think on Dalnet, the +R ignore the nicks that arent registred. What if the annoying nickname is registred ? Here is more information about Silence :
http://docs.dal.net/docs/misc.html#1


Last edited by Zircon on Fri Dec 07, 2007 2:01 am; edited 1 time in total
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Fri Dec 07, 2007 12:40 am    Post subject: Reply with quote

Zircon wrote:
But i think on Dalnet, the +R ignore the nicks that arent registred. What if the annoying nickname is registred ? He is more information about Silence :
http://docs.dal.net/docs/misc.html#1

I missed that information when I checked earlier today. Laughing

On DALnet only an idiot that is flooding &c uses a registered nick; we also have the use of +M as a good channel mode. Smile

The odd foolish person using a registered nick when flooding etc gets reported and usually a-killed immediately (or is watched for further abuse).

The advantage of ignore (over silence) is that it's permanent. Wink
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Fri Dec 07, 2007 2:07 pm    Post subject: Reply with quote

Just one thing though..
If using silence, would'nt that prevent the desired logging aswell?

I am abit uncertain what the author refers to with "contacting" the bot.. DCC-chat? ctcp-floods?
(Properly configured eggie should handle either of those fairly well..)
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Zircon
Op


Joined: 21 Aug 2006
Posts: 191
Location: Montreal

PostPosted: Fri Dec 07, 2007 2:50 pm    Post subject: Reply with quote

Quote:
I am abit uncertain what the author refers to with "contacting" the bot.. DCC-chat? ctcp-floods?
(Properly configured eggie should handle either of those fairly well..)

Silence is done in the server side, so if we put a Silence on *!*@*, no1 can /dcc chat botnick or /ctcp botnick chat or any type of ctcp. At least, this is the case on undernet. However, on undernet, you can set exceptions with silence, like :
Code:
 /silence *!*@*,~*!*@*.users.undernet.org
make the bot ignore every1, but receive messages from people who are logged in to X and set to usermode +x
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Fri Dec 07, 2007 3:16 pm    Post subject: Reply with quote

So it would indeed block the logging the author wanted to keep...
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
gemeau50
Voice


Joined: 11 Jun 2004
Posts: 38
Location: Trois-Rivières, Canada

PostPosted: Fri Dec 07, 2007 3:52 pm    Post subject: Reply with quote

Zircon wrote:
Silence is done in the server side, so if we put a Silence on *!*@*, no1 can /dcc chat botnick or /ctcp botnick chat or any type of ctcp. At least, this is the case on undernet. However, on undernet, you can set exceptions with silence, like :
Code:
 /silence *!*@*,~*!*@*.users.undernet.org
make the bot ignore every1, but receive messages from people who are logged in to X and set to usermode +x

It is true that you can't DCC nor CTCP the bot while in silence but it can be reached by telnet.

As far as the exception to the silence command on Undernet, I never heard nor read anything about it but it does work. TX

nml375 wrote:
So it would indeed block the logging the author wanted to keep...

While /ignore does interfere with what is happening in a channel, /silence doesn't on Undernet.


Last edited by gemeau50 on Fri Dec 07, 2007 4:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Fri Dec 07, 2007 4:27 pm    Post subject: Reply with quote

nml375 wrote:
(Properly configured eggie should handle either of those fairly well..)

Exactly! Smile
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Dec 10, 2007 6:11 pm    Post subject: Reply with quote

gemeau50 wrote:
While /ignore does interfere with what is happening in a channel, /silence doesn't on Undernet.

Same on DALnet. The use of /silence is ineffectual and useless.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Zircon
Op


Joined: 21 Aug 2006
Posts: 191
Location: Montreal

PostPosted: Mon Dec 10, 2007 8:12 pm    Post subject: Reply with quote

Alchera wrote:
gemeau50 wrote:
While /ignore does interfere with what is happening in a channel, /silence doesn't on Undernet.

Same on DALnet. The use of /silence is ineffectual and useless.

I disagree completely. I think you didnt get the real utility of silence. The major utlity of Silence over Ignore is that it stops everything private but nothing public. So when your bot is flooded on private by floodbots, if you just /ignore them, you cant see their floods on the channel, and then you will take no action to lock the channel....Silence allow you to ignore anything private, but still be able to see what is happening in the channel, and that s what the author of this thread asked for.

Second, Silence is done on the server side, means that the server dont even try to send you the messages, good for the lag, more efficiency over the bandwidth, ad eggies cant handle any private/ctcp message when silence is ON, coz they see nothing.

I personnally use a little script based on silence, to ignore *!*@* for 2 minutes in case of a private botnet flood, and it s far more efficient than /ignore.
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Dec 10, 2007 8:46 pm    Post subject: Reply with quote

I tested /silence on a bot in a trivia channel. The test was particular to a script error created because of another bots trivia script (some characters caused parsing errors).

I reiterate my previous statement that (in this case) /silence "is ineffectual and useless".

The use of ignore still seems to be a far better tool.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber