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

	<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>2016-06-09T03:50:13-04:00</updated>

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

		<entry>
		<author><name><![CDATA[juanamores]]></name></author>
		<updated>2016-06-09T03:50:13-04:00</updated>

		<published>2016-06-09T03:50:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105141#p105141</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105141#p105141"/>
		<title type="html"><![CDATA[Only one bot responds]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105141#p105141"><![CDATA[
It is rare , but I saw what the problem was .<br>The BoT is not taking my virtual host.<br>It must be a network problem, I will  consult...<br><br>The bot takes a random virtual ip given by the Network .<br>If I performed a /whois I see my virtual Ip (registered host by the Network), but the bot takes:<br>(<a href="mailto:Rxm@BeL8IV.BARG4B.virtual">Rxm@BeL8IV.BARG4B.virtual</a>)   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><br><br><strong class="text-strong">EDIT:</strong> I was told the network that may have been a momentary desynchronization and it was solved. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12499">juanamores</a> — Thu Jun 09, 2016 3:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2016-06-09T01:17:24-04:00</updated>

		<published>2016-06-09T01:17:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105138#p105138</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105138#p105138"/>
		<title type="html"><![CDATA[Only one bot responds]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105138#p105138"><![CDATA[
There are 3 options:<br><br>1. You don't have the right access (flags).<br>2. You issue the command on another channel than what is defined by <em class="text-italics">channel_admin</em><br>3. This piece of code:<div class="codebox"><p>Code: </p><pre><code>if { $chan != $channel_admin} { return 0 } </code></pre></div>meaning let's say that <em class="text-italics">channel_admin</em> is defined to be #admin but the server tells the bot he is on #ADMIN channel then that comparison fails.<br><br>How to find the culprit?<br><br>1. From DCC Chat/Telnet with the bot do a <em class="text-italics">.channel #channel_admin</em> and see with what user name it sees you then do a <em class="text-italics">.whois</em> on that name and see if you have the required flags<br><br>2. Check the <em class="text-italics">channel_admin</em> variable and make sure you are on the same channel.<br><br>3. You better change that line with:<div class="codebox"><p>Code: </p><pre><code>if {![string equal -nocase $chan $channel_admin} return</code></pre></div>I honestly suspect it's the 3rd option. <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=187">caesar</a> — Thu Jun 09, 2016 1:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[juanamores]]></name></author>
		<updated>2016-06-08T22:54:15-04:00</updated>

		<published>2016-06-08T22:54:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105136#p105136</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105136#p105136"/>
		<title type="html"><![CDATA[Only one bot responds]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105136#p105136"><![CDATA[
I have 2 BOTs on my channel having the same TCL.<br>Until a few days ago both BOTs responded the same commands .<br>Today just one answers me.<br>What can be changed?<br><br><strong class="text-strong"><span style="text-decoration:underline">This only happens with this Tcl</span>:</strong><div class="codebox"><p>Code: </p><pre><code>bind pub n|n !restart restart_botbind pub n|n !rehash rehash_botbind pub n|n !reload reload_botbind pub nt|n !quits quit_botproc restart_bot {nick uhost hand chan text} {global channel_admin   if { $chan != $channel_admin} { return 0 }    putserv "PRIVMSG $chan :Ok, restart...."putlog "\002RESTART\002 requested by $nick"utimer 1 restart}proc rehash_bot {nick uhost hand chan text} {global channel_admin if { $chan != channel_admin} { return 0 }     putserv "PRIVMSG $chan :Ok, rehash...."putlog "\002Rehash\002 requested by $nick"utimer 1 rehash}proc reload_bot {nick uhost hand chan text} {global channel_admin   if { $chan != $channel_admin} { return 0 }   putserv "PRIVMSG $chan :Ok, reload...."putlog "\002Reload\002 requested by $nick"utimer 1 reload}proc quit_bot {nick uhost hand chan text} {global channel_admin   if { $chan != $channel_admin} { return 0 }   putserv "PRIVMSG $chan :Ok, quit...."putlog "\002QUIT\002 requested by $nick"die "good bye!"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12499">juanamores</a> — Wed Jun 08, 2016 10:54 pm</p><hr />
]]></content>
	</entry>
	</feed>
