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

	<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>2007-09-05T23:52:15-04:00</updated>

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

		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2007-09-05T23:52:15-04:00</updated>

		<published>2007-09-05T23:52:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75748#p75748</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75748#p75748"/>
		<title type="html"><![CDATA[isop dumb question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75748#p75748"><![CDATA[
When the bot immediately joins, it needs time to update its internal channel-memberlist. If you immediately on join execute that script it would return some false values (some ops, would not be detected as ops), it has happened with my bot on a few occasions.<br><br>This is rare however and is mostly more favourable on channels which have large usercounts, so it takes the bot time to update the memberlist. <br><br>So my conclusion for this would be, not to immediately execute the command after the bot connects to the server and starts joining its channels. <br><br>- Give a small delay of 5-10 seconds after you execute the command --&gt; If you restarted the bot (bot connected to irc server and rejoined the channel)<br>- You normally don't need to give a delay if you made the bot cycle the channel.<br><br>Hence, on connect if the bot has alot of channels to join it takes time for it to retrieve channel modes, memberlists and can hence sometimes not-detect ops/voices if you immediately request something from it after it joins.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Wed Sep 05, 2007 11:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[droolin]]></name></author>
		<updated>2007-09-05T21:36:54-04:00</updated>

		<published>2007-09-05T21:36:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75746#p75746</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75746#p75746"/>
		<title type="html"><![CDATA[isop dumb question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75746#p75746"><![CDATA[
Im putting together a script for a IRC radio channel, and I was doing a check on the status of a nick to see if they were an oper in any of the radio channels that this nick would be valid for.  This command was issued with a msg, which required the logic of the script to loop through a list of channels to see if this nick was an oper on any of them.<br><br>Because it has been awhile sence I have done any tcl, I am stopping and starting the bot alot as I work my way through stupid errors.<br><br>When the nick(me, owner of the channel) issues the command to the bot after it joins the channel.  The 'isop' returns a value of 0.  But, if I hop the channel after the bot joins.  I receive a status of 1.  I just wondered if anyone knew why this is so?<br><blockquote class="uncited"><div>* Joins: ozzy (<a href="mailto:ozzy@AwesomeChatter-2229ACBA.awesomechat.net">ozzy@AwesomeChatter-2229ACBA.awesomechat.net</a>)<br>* ChanServ sets mode: +o ozzy<br>-Absolutely.AwesomeChat.Net- *** Notice -- Client connecting at OWC.Awesomechat.Net: scrawl27 (<a href="mailto:fathic@data.searchirc.org">fathic@data.searchirc.org</a>)<br>-Absolutely.AwesomeChat.Net- *** Notice -- Client exiting at OWC.Awesomechat.Net: scrawl27!<a href="mailto:fathic@data.searchirc.org">fathic@data.searchirc.org</a> (Outrageously Wicked Chat at AwesomeChat.Net scrawl27)<br>-&gt; *ozzy* -djtime [censored] yea<br>&lt;@ozzy&gt; xxxxxx xxxxxxDexter<br>&lt;@ozzy&gt; Checking channel oper status<br>&lt;@ozzy&gt;  Check channels in foreach for Dexter on #DextersLaboratory<br>&lt;@ozzy&gt;  this is returning 0<br>&lt;@ozzy&gt;  bot has a status of 1<br>&lt;@ozzy&gt; returned back from sub routine is </div></blockquote><blockquote class="uncited"><div>* Attempting to rejoin channel #DextersLaboratory<br>* Rejoined channel #DextersLaboratory<br>* Set by droolin on Mon Aug 13 20:54:00<br>* ChanServ sets mode: +oq Dexter Dexter<br>-&gt; *ozzy* -djtime [censored] yea<br>-ozzy- You have 1 note waiting.<br>-ozzy- For a list: /MSG ozzy NOTES &lt;pass&gt; INDEX<br>&lt;@ozzy&gt; xxxxx xxxxx Dexter<br>&lt;@ozzy&gt; Checking channel oper status<br>&lt;@ozzy&gt;  Check channels in foreach for Dexter on #DextersLaboratory<br>&lt;@ozzy&gt;  this is returning 1<br>&lt;@ozzy&gt;  bot has a status of 1<br>&lt;@ozzy&gt; Dexter is oppered in channel #DextersLaboratory<br>&lt;@ozzy&gt; returned back from sub routine is 1</div></blockquote>Thanks in advance<br><br>droolin<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3562">droolin</a> — Wed Sep 05, 2007 9:36 pm</p><hr />
]]></content>
	</entry>
	</feed>
