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.

Ignoring public chat

Old posts that have not been replied to for several years.
s
smds
Voice
Posts: 22
Joined: Mon Sep 15, 2003 6:11 pm

Ignoring public chat

Post by smds »

Is there any way to to get a bot to ignore public/channel text
so it doesnt respond to public commands?
I cant really think of anything
O
Ofloo
Owner
Posts: 953
Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:

Post by Ofloo »

what you mean from certain users ???

set flags in binds

if you mean for only ops or voice

isop & isvoice

so not sur what you exactly mean !!!

if this answers your question plz read eggdrop doc file for more info binds are explained in there
XplaiN but think of me as stupid
s
smds
Voice
Posts: 22
Joined: Mon Sep 15, 2003 6:11 pm

Post by smds »

I said exactly what I meant.
Is there any way to make a bot ignore public/channel text,
nothing to do with flags, I can handle that.
O
Ofloo
Owner
Posts: 953
Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:

Post by Ofloo »

meaning you want to bot to ignore all text execpt your commands ..?

=> bind your commands to a flag and it will ignore all text or commands made by others !

i think i understand wrong why do you want to use it for ?
XplaiN but think of me as stupid
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Re: Ignoring public chat

Post by egghead »

smds wrote:Is there any way to to get a bot to ignore public/channel text
so it doesnt respond to public commands?
I cant really think of anything
By default eggdrop doesn't do much with public/channel text. If your bot is responding to public commands then you have loaded a script. Unload that script if you don't like that.
If this answer doesn't cover your question then give a copy and paste of the eggdrop behaviour that you want to get rid of.
s
smds
Voice
Posts: 22
Joined: Mon Sep 15, 2003 6:11 pm

Post by smds »

No, no one has understood what i meant.
yes i have my own scripts running that use public commands,
and this is not a bind issue/question.
i want to be able to make a specific bot ignore ALL public text,
like 'ignore' text from a specific channel,
almost like usermode +d, but not on all channels,
just specific channels i select or code it for
i dont know how to do this though, or i would have.
like i said, this is nothing to do with binds/flags
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Post by egghead »

smds wrote: [snip]
i want to be able to make a specific bot ignore ALL public text,
like 'ignore' text from a specific channel,
[snip]
Can you define (in IRC/eggdrop terminology) the word "ignore"?
egghead from previous post wrote: [snip]
If this answer doesn't cover your question then give a copy and paste of the eggdrop behaviour that you want to get rid of.
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Then use the user defined channel flags - check the tcl-commands.doc file for "setudef" - and make it be *active* only on the channels that have the certain flag.
Once the game is over, the king and the pawn go back in the same box.
s
smds
Voice
Posts: 22
Joined: Mon Sep 15, 2003 6:11 pm

Post by smds »

omg lol, I shouldn't have bothered asking.
I'm putting it as simple as I can.
I think you know what I mean by ignore.

Can none of you think of a way to create a
vote system where the bots simply ellect a main bot on that channel and then the others don't answer public commands, or just ignore all public text on that channel?
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Post by egghead »

smds wrote:omg lol, I shouldn't have bothered asking.
I'm putting it as simple as I can.
I think you know what I mean by ignore.

Can none of you think of a way to create a
vote system where the bots simply ellect a main bot on that channel and then the others don't answer public commands, or just ignore all public text on that channel?
It appears you refuse to consider the answers given.

And no, I don't know what you mean by ignore. It is completely unclear from your statements. If I knew, I would not have asked. Not answering the question doesn't help a single bit.

Eggdrop by default does NOT answer public commands (not answering public commands appears to be your definition of "ignore").

If your bot does answer to public commands then it is through scripts which you have loaded.

So, if it is undesired that your bot responds to public commands you need to modify the scripts. caesar gave a first hint to that.
Or alternatively, don't load the scripts at all except for one bot.

Or you may consider linking your bots and have the bots talk to each other and decide which bot to react and which bots to shut up. You will need to write yourself a script for that.

Once again, it appears you want to stop some "undesired" behaviour. Without knowing the "undesired" behaviour or the "offending script", it is difficult to help you in the right direction.
s
smds
Voice
Posts: 22
Joined: Mon Sep 15, 2003 6:11 pm

Post by smds »

well, forget it then, i have told you what i wanted to stop/do
and how i thought it could be done, which you confirmed,
and yet you still ask what i want to do.
if i could do it myself i would have, then we woudlnt
be having this conversation would we.

and yes i know what caesar said, which i'd already said about myself
in the post before his, anyway never mind.
b
bobjuh
Master
Posts: 268
Joined: Wed Oct 03, 2001 8:00 pm
Location: Netherlands
Contact:

Post by bobjuh »

*sigh*
User avatar
strikelight
Owner
Posts: 708
Joined: Mon Oct 07, 2002 10:39 am
Contact:

Post by strikelight »

lol... basically smds is saying this:
'NO I DON'T WANT TO UNLOAD MY SCRIPTS, I WANT THEM THERE FOR DECORATION, I JUST DON'T WANT THE BOT TO DO WHAT THE SCRIPTS TELL IT TO DO! UNDERSTAND?'

priceless... =p
s
smds
Voice
Posts: 22
Joined: Mon Sep 15, 2003 6:11 pm

Post by smds »

no, when there are 2 or more bots on a chan
that both respond to the same public commands,
say for example:

<me> saytopic
<bot1> the topic is: blah
<bot2> the topic is: blah

basically i dont want the spam, i want the two or more
bots on the chan to elect a main bot, and only that bot would reply
not all of them, and if the 'main' bot was to part the chan or die
the next bot in line would respond.
simple eh? lol
User avatar
strikelight
Owner
Posts: 708
Joined: Mon Oct 07, 2002 10:39 am
Contact:

Post by strikelight »

finally he says what he wants instead of speaking in tongues....

And this has already been answered for you... you will need to modify the scripts to use botnet communication to determine which bot responds to the command. You obviously don't want to 'ignore' the text, as there would then be no way for the bot to determing if it should respond to the public text or not.
Locked