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

	<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>2002-04-05T02:22:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-04-05T02:22:00-04:00</updated>

		<published>2002-04-05T02:22:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5985#p5985</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5985#p5985"/>
		<title type="html"><![CDATA[Please help with Bot A and Bot B]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5985#p5985"><![CDATA[
slennox,<br><br>so how do I make Bot B change it nick to Bot A's nick when Bot A is down?<p>Statistics: Posted by Guest — Fri Apr 05, 2002 2:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-04-04T14:27:00-04:00</updated>

		<published>2002-04-04T14:27:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5972#p5972</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5972#p5972"/>
		<title type="html"><![CDATA[Please help with Bot A and Bot B]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5972#p5972"><![CDATA[
A big thanks to you! YES YOU! Slennox! you solve my problem!<br><br>Thanks a trillion!<br><br><p>Statistics: Posted by Guest — Thu Apr 04, 2002 2:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-04-04T12:32:00-04:00</updated>

		<published>2002-04-04T12:32:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5971#p5971</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5971#p5971"/>
		<title type="html"><![CDATA[Please help with Bot A and Bot B]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5971#p5971"><![CDATA[
fudded,<br><br>Thanks anyway. I try to do some reading in that file u stated. <br><br>Meantime anyone can give a better suggestion?<br><p>Statistics: Posted by Guest — Thu Apr 04, 2002 12:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[slennox]]></name></author>
		<updated>2002-04-04T12:31:00-04:00</updated>

		<published>2002-04-04T12:31:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5970#p5970</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5970#p5970"/>
		<title type="html"><![CDATA[Please help with Bot A and Bot B]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5970#p5970"><![CDATA[
Here is something from an old script of mine.<br><br>First you set the order of priority for the bots with<br><div class="codebox"><p>Code: </p><pre><code>set prefix_priority "BotA BotB"</code></pre></div>Then you place this proc somewhere in the script:<br><div class="codebox"><p>Code: </p><pre><code>proc prefix_priority {chan} {  global botnet-nick prefix_priority  if {$prefix_priority == ""} {return 1}  foreach bot $prefix_priority {    if {[string tolower $bot] == [string tolower ${botnet-nick}]} {return 1}    if {[set nick [hand2nick $bot $chan]] != "" &amp;&amp; [isop $nick $chan] &amp;&amp; ![onchansplit $nick $chan]} {return 0}  }  return 1}</code></pre></div>Finally, in the procs that respond to the public command, you place the following check where appropriate:<br><div class="codebox"><p>Code: </p><pre><code>if {![prefix_priority $chan]} {return 0}</code></pre></div>This will stop the script at that point if another bot which has priority is present on the channel. You might want to return 1 in some cases, depending on the type of bind the proc is called from.<br><br>Also, you should replace "prefix_" with a name appropriate to your script.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13034">slennox</a> — Thu Apr 04, 2002 12:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-04-04T12:29:00-04:00</updated>

		<published>2002-04-04T12:29:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5969#p5969</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5969#p5969"/>
		<title type="html"><![CDATA[Please help with Bot A and Bot B]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5969#p5969"><![CDATA[
As im learning TCL my self i wont embarass myself and confuse you with my code, but check out tcl-command.doc, the command i think you need is [botisop] not as i said in my last post.<br>Im sure that some guru will help better than me<p>Statistics: Posted by Guest — Thu Apr 04, 2002 12:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-04-04T09:12:00-04:00</updated>

		<published>2002-04-04T09:12:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5964#p5964</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5964#p5964"/>
		<title type="html"><![CDATA[Please help with Bot A and Bot B]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5964#p5964"><![CDATA[
EdGei, <br><br>Yes I tried and both bots will like responsing to the particular user when they type !op !opme because I designed the TCL script to function in a way that, for example if they type !opme both bots will response like 'Sir, yes Sir!' I just want the Bot A to response and B as a backup service.<br><br>fudded, how to code that can roughly give me a guided on that? <p>Statistics: Posted by Guest — Thu Apr 04, 2002 9:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-04-04T06:55:00-04:00</updated>

		<published>2002-04-04T06:55:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5962#p5962</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5962#p5962"/>
		<title type="html"><![CDATA[Please help with Bot A and Bot B]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5962#p5962"><![CDATA[
I suppose you could use it on both bots and add a little code using [botonchan] to check which one to load, just an idea *shrug*<p>Statistics: Posted by Guest — Thu Apr 04, 2002 6:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-04-04T02:29:00-04:00</updated>

		<published>2002-04-04T02:29:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5957#p5957</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5957#p5957"/>
		<title type="html"><![CDATA[Please help with Bot A and Bot B]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5957#p5957"><![CDATA[
I don't know if this may be right, but why not install that script into Bot B?<br><br>Anyone? I mean this seems logical.<p>Statistics: Posted by Guest — Thu Apr 04, 2002 2:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-04-04T01:05:00-04:00</updated>

		<published>2002-04-04T01:05:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5953#p5953</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5953#p5953"/>
		<title type="html"><![CDATA[Please help with Bot A and Bot B]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5953#p5953"><![CDATA[
I have a problem with 2 of my bots. I have a TCL script doing all those public commands like !OP !DEOP and I want Bot B to act as a backup for Bot A whenever Bot A is down Bot B will replace bot A's duty to carry out !OP !DEOP <br><br>How can that be possible? <p>Statistics: Posted by Guest — Thu Apr 04, 2002 1:05 am</p><hr />
]]></content>
	</entry>
	</feed>
