<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/5903" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2003-10-23T15:02:35-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/5903</id>

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-10-23T15:02:35-04:00</updated>

		<published>2003-10-23T15:02:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28851#p28851</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28851#p28851"/>
		<title type="html"><![CDATA[Ignoring public chat]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28851#p28851"><![CDATA[
That was just an ideea.. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Oct 23, 2003 3:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2003-10-23T14:09:41-04:00</updated>

		<published>2003-10-23T14:09:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28849#p28849</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28849#p28849"/>
		<title type="html"><![CDATA[Ignoring public chat]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28849#p28849"><![CDATA[
<blockquote class="uncited"><div>Creating an *list* with what bot is the first, the second and etc., then do a check and see if the 1st one is missing then continue checking if the second bot is also missing, etc. until one before it is not missing and stop the check and let it send the msg. In case he is in line and all the bots before him are missing then he will send the msg.</div></blockquote>That's inefficient.. the way already described is better as the first bot to see the text will indicate that is the least laggiest relative to the source of where the text originated, thus giving it a better reaction time.<br><br>With a list of predetermined bots, you'd have to account for bots that are down, recently went down, etc... And you would not be able to determine if one of the predetermined bots is on a lagged server and about to split, thus not responding at all.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Thu Oct 23, 2003 2:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-10-23T13:43:55-04:00</updated>

		<published>2003-10-23T13:43:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28848#p28848</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28848#p28848"/>
		<title type="html"><![CDATA[Ignoring public chat]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28848#p28848"><![CDATA[
Creating an *list* with what bot is the first, the second and etc., then do a check and see if the 1st one is missing then continue checking if the second bot is also missing, etc. until one before it is not missing and stop the check and let it send the msg. In case he is in line and all the bots before him are missing then he will send the msg.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Oct 23, 2003 1:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[smds]]></name></author>
		<updated>2003-10-23T13:19:05-04:00</updated>

		<published>2003-10-23T13:19:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28847#p28847</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28847#p28847"/>
		<title type="html"><![CDATA[Ignoring public chat]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28847#p28847"><![CDATA[
thanks, i'll give it a test later and let you know.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3848">smds</a> — Thu Oct 23, 2003 1:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2003-10-22T22:27:01-04:00</updated>

		<published>2003-10-22T22:27:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28807#p28807</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28807#p28807"/>
		<title type="html"><![CDATA[Ignoring public chat]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28807#p28807"><![CDATA[
well you would need to modify your public text bound procs to have something like:<br><br>(assuming $chan and $text are the variable names in the proc header declaration)<div class="codebox"><p>Code: </p><pre><code>global botrespondif {![info exists botrespond([set ct [string tolower $chan,$text]])]} {  putallbots "itsmine $ct" ;# tell all other bots that this bot is calling dibs..  set botrespond($ct) 1  utimer 10 [list unset botrespond($ct)] ;# gotta unset it} else {  return ;# another bot has called dibs, let's exit ...}.. bot code to process the text ..</code></pre></div>and you would also need to bind to the botnet communication:<div class="codebox"><p>Code: </p><pre><code>bind bot - itsmine bot:itsmineproc bot:itsmine {bot cmd text} {  global botrespond  if {![info exists botrespond($text)]} {    set botrespond($text) 1    utimer 10 [list unset botrespond($text)]  }}</code></pre></div>This will give you a good idea on how to get started...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Wed Oct 22, 2003 10:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[smds]]></name></author>
		<updated>2003-10-22T22:05:44-04:00</updated>

		<published>2003-10-22T22:05:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28806#p28806</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28806#p28806"/>
		<title type="html"><![CDATA[Ignoring public chat]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28806#p28806"><![CDATA[
i did say it already, just in a round about way.<br>anyway, i dont know how to do it, which is why im here<br>any ideas or a script that could give me an example<br>of how to do it so they decide which bot is the main one?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3848">smds</a> — Wed Oct 22, 2003 10:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2003-10-22T21:02:28-04:00</updated>

		<published>2003-10-22T21:02:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28803#p28803</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28803#p28803"/>
		<title type="html"><![CDATA[Ignoring public chat]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28803#p28803"><![CDATA[
finally he says what he wants instead of speaking in tongues....<br><br>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.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Wed Oct 22, 2003 9:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[smds]]></name></author>
		<updated>2003-10-22T20:39:55-04:00</updated>

		<published>2003-10-22T20:39:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28802#p28802</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28802#p28802"/>
		<title type="html"><![CDATA[Ignoring public chat]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28802#p28802"><![CDATA[
no, when there are 2 or more bots on a chan<br>that both respond to the same public commands,<br>say for example:<br><br>&lt;me&gt; saytopic<br>&lt;bot1&gt; the topic is: blah<br>&lt;bot2&gt; the topic is: blah<br><br>basically i dont want the spam, i want the two or more<br>bots on the chan to elect a main bot, and only that bot would reply<br>not all of them, and if the 'main' bot was to part the chan or die<br>the next bot in line would respond.<br>simple eh? lol<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3848">smds</a> — Wed Oct 22, 2003 8:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2003-10-22T19:17:43-04:00</updated>

		<published>2003-10-22T19:17:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28801#p28801</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28801#p28801"/>
		<title type="html"><![CDATA[Ignoring public chat]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28801#p28801"><![CDATA[
lol... basically smds is saying this:<br>'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?'<br><br>priceless... =p<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Wed Oct 22, 2003 7:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bobjuh]]></name></author>
		<updated>2003-10-22T17:09:59-04:00</updated>

		<published>2003-10-22T17:09:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28796#p28796</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28796#p28796"/>
		<title type="html"><![CDATA[Ignoring public chat]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28796#p28796"><![CDATA[
*sigh*<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=109">bobjuh</a> — Wed Oct 22, 2003 5:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[smds]]></name></author>
		<updated>2003-10-22T16:57:55-04:00</updated>

		<published>2003-10-22T16:57:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28795#p28795</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28795#p28795"/>
		<title type="html"><![CDATA[Ignoring public chat]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28795#p28795"><![CDATA[
well, forget it then, i have told you what i wanted to stop/do<br>and how i thought it could be done, which you confirmed,<br>and yet you still ask what i want to do. <br>if i could do it myself i would have, then we woudlnt<br>be having this conversation would we.<br><br>and yes i know what caesar said, which i'd already said about myself<br>in the post before his, anyway never mind.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3848">smds</a> — Wed Oct 22, 2003 4:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2003-10-22T16:15:42-04:00</updated>

		<published>2003-10-22T16:15:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28794#p28794</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28794#p28794"/>
		<title type="html"><![CDATA[Ignoring public chat]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28794#p28794"><![CDATA[
<blockquote class="uncited"><div>omg lol, I shouldn't have bothered asking.<br>I'm putting it as simple as I can.<br>I think you know what I mean by ignore.<br><br>Can none of you think of a way to create a<br>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?</div></blockquote>It appears you refuse to consider the answers given.<br><br>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.<br><br>Eggdrop by default does NOT answer public commands (not answering public commands appears to be your definition of "ignore").<br><br>If your bot does answer to public commands then it is through scripts which you have loaded.<br><br>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.<br>Or alternatively, don't load the scripts at all except for one bot.<br><br>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.<br><br>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.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=282">egghead</a> — Wed Oct 22, 2003 4:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[smds]]></name></author>
		<updated>2003-10-22T15:55:07-04:00</updated>

		<published>2003-10-22T15:55:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28793#p28793</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28793#p28793"/>
		<title type="html"><![CDATA[Ignoring public chat]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28793#p28793"><![CDATA[
omg lol, I shouldn't have bothered asking.<br>I'm putting it as simple as I can.<br>I think you know what I mean by ignore.<br><br>Can none of you think of a way to create a<br>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?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3848">smds</a> — Wed Oct 22, 2003 3:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-10-22T14:37:00-04:00</updated>

		<published>2003-10-22T14:37:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28792#p28792</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28792#p28792"/>
		<title type="html"><![CDATA[Ignoring public chat]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28792#p28792"><![CDATA[
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.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Oct 22, 2003 2:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2003-10-22T14:33:21-04:00</updated>

		<published>2003-10-22T14:33:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28791#p28791</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28791#p28791"/>
		<title type="html"><![CDATA[Ignoring public chat]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28791#p28791"><![CDATA[
<blockquote class="uncited"><div>[snip]<br>i want to be able to make a specific bot ignore ALL public text,<br>like 'ignore' text from a specific channel,<br>[snip]</div></blockquote>Can you define (in IRC/eggdrop terminology) the word "ignore"?<br><blockquote class="uncited"><div>[snip]                      <br>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.</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=282">egghead</a> — Wed Oct 22, 2003 2:33 pm</p><hr />
]]></content>
	</entry>
	</feed>
