<?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/6517" />

	<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>2004-01-05T04:08:49-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-01-05T04:08:49-04:00</updated>

		<published>2004-01-05T04:08:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32222#p32222</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32222#p32222"/>
		<title type="html"><![CDATA[one command lots of bots how to make only one respond]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32222#p32222"><![CDATA[
sounds like it but not sur if that is what i mean .. could be tho .. but not sur hehe<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Mon Jan 05, 2004 4:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2004-01-04T08:32:08-04:00</updated>

		<published>2004-01-04T08:32:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32194#p32194</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32194#p32194"/>
		<title type="html"><![CDATA[one command lots of bots how to make only one respond]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32194#p32194"><![CDATA[
I can't find my code, however, there was a very kind fellow here last year working on a games module (he worked for a games designer near where I live). This main question was how to make a system that would do exactly the same but using C.<br><br>He kindly sent me the C code that handled this function.<br><br>It worked by holding an election each time a bot joined, parted, quited, aplit or rejoined the channel.<br><br>On leaving events, the list of elected bots is checked, if it is on the list, the list is deleted and a new election is held.<br><br>Only bots currently on the channel can be elected.<br><br>Each time a command is then called, you call a function to see if it is your turn.<br><br>The idea of the election, is to see what the starting order should be. From then on, you just cycle through the list of bots that have been elected, when it is your name that pops up, you reply.<br><br>I have found the code (still in amy inbox), though I am not too sure about releasing it. I do know I have permission to release any direct Tcl port, so if I ahve chance, that is what I will do.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Jan 04, 2004 8:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TALES]]></name></author>
		<updated>2004-01-04T07:34:53-04:00</updated>

		<published>2004-01-04T07:34:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32190#p32190</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32190#p32190"/>
		<title type="html"><![CDATA[one command lots of bots how to make only one respond]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32190#p32190"><![CDATA[
maybe the next script of caesar is something your looking for. The bot keeps a list of ppl that join part etc.. the channel. if you only set the nick of you bot in the list: if {[matchattr $hand b]} { #add bot in list code }<br><br>is a start i think to get a list of the bots who are only in channel<br>then for help if {$1stbotnick == $botnick}  { #code for help }<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4104">TALES</a> — Sun Jan 04, 2004 7:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-01-04T00:31:57-04:00</updated>

		<published>2004-01-04T00:31:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32179#p32179</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32179#p32179"/>
		<title type="html"><![CDATA[one command lots of bots how to make only one respond]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32179#p32179"><![CDATA[
ive done few things but not mutch results is there some one who has made an script like this so i can see how they did it ..? just wondering ..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Sun Jan 04, 2004 12:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-01-02T22:50:10-04:00</updated>

		<published>2004-01-02T22:50:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32099#p32099</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32099#p32099"/>
		<title type="html"><![CDATA[one command lots of bots how to make only one respond]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32099#p32099"><![CDATA[
ok ic .. <br>so if bot 1 goes of line lets say tere is 5 bots ok .. well then they all set the new global var how u know that only one bot will do it and not all bots .. to gether .. to me its a mather of timeing so if bot 1 goes offline or if they all come online together .. and set it all to gether .. then what .. witch bot is to keep the variable .. and how u be doing that cause if the script is simular and one has the var then the other one would say unset it i got it then bot 2 tells that to bot 3 and bot 3 to bot 2 same story .. again none have set it .. <br><br>might be bit unclear but .. hope u understand hehe<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Fri Jan 02, 2004 10:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2004-01-02T13:26:28-04:00</updated>

		<published>2004-01-02T13:26:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32079#p32079</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32079#p32079"/>
		<title type="html"><![CDATA[one command lots of bots how to make only one respond]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32079#p32079"><![CDATA[
hehe, I knew my explanation was somewhat unclear <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br>example:<ul><li>bot1 has !help<br>bot2 comes online and asks the botnet who has !help<br>botnet responds that it's bot1, and it also sends a list of ready bots<br>bot2 sends to botnet that he's now online and ready to handle the !help<br>botnet responds that bot2 can add itself to the list of ready bots<br>bot1 goes offline<br>the entire botnet updates the global variable and the bot that's first on the list now binds the !help</li></ul>.... etc<br><br>something like this <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Fri Jan 02, 2004 1:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-01-02T11:46:20-04:00</updated>

		<published>2004-01-02T11:46:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32075#p32075</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32075#p32075"/>
		<title type="html"><![CDATA[one command lots of bots how to make only one respond]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32075#p32075"><![CDATA[
like :<br><br>bot linking bot islinked when link putallbots msg if bot = global var 1 unbind all binds when global variable 0 keep binds &amp;&amp; on split bind again .. on startup always bind <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"> or beter yet i set global var to botnick who has the binds so when its unlinked i can call up on an event .. maybe i could use flags some how .. not sur that i understand what is writen above ... maybe u can give me an example ..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Fri Jan 02, 2004 11:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2004-01-02T07:32:06-04:00</updated>

		<published>2004-01-02T07:32:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32066#p32066</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32066#p32066"/>
		<title type="html"><![CDATA[one command lots of bots how to make only one respond]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32066#p32066"><![CDATA[
make the other bots check at different times if the bot that had the !help command is offline, store which bot is doing the !help in a global variable that you send out to the other bots, then when one bot notices that the !help bot is offline bind the !help command on that bot, at the same time ofc sending a msg over the botnet that "I'm now doing the !helping"<br>......<br>hehe... hope you understand what I'm <strong class="text-strong">trying</strong> to say <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=852">Papillon</a> — Fri Jan 02, 2004 7:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2003-12-31T16:23:59-04:00</updated>

		<published>2003-12-31T16:23:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32038#p32038</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32038#p32038"/>
		<title type="html"><![CDATA[one command lots of bots how to make only one respond]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32038#p32038"><![CDATA[
if i where to have a cmd !help<br><br>but all the bots have the script loaded there on a botnet linked to each other, now if i where to type !help all bots would show the msg but, i only wan't one to show it but that bot could time out or disconnect or what ever so how do i script it so that only one bot responds and if that one is gone other one takes over and so on and so on .. ? <br><br>so !help 5 bots have same script but only one shows they can use botnet but i have no clue how to do this so .. any help would be welcome ..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Wed Dec 31, 2003 4:23 pm</p><hr />
]]></content>
	</entry>
	</feed>
