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

	<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-09-01T11:06:58-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-01T11:06:58-04:00</updated>

		<published>2002-09-01T11:06:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10293#p10293</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10293#p10293"/>
		<title type="html"><![CDATA[rehash problem with script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10293#p10293"><![CDATA[
That worked.. Thanks for your help <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by Guest — Sun Sep 01, 2002 11:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-01T10:58:33-04:00</updated>

		<published>2002-09-01T10:58:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10291#p10291</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10291#p10291"/>
		<title type="html"><![CDATA[rehash problem with script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10291#p10291"><![CDATA[
Thank you... I'll do that<br><br>The best way would be to have trigger set to "[botnick]" and then do a replace of [botnick] ? Don't you think?<p>Statistics: Posted by Guest — Sun Sep 01, 2002 10:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-09-01T10:14:22-04:00</updated>

		<published>2002-09-01T10:14:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10283#p10283</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10283#p10283"/>
		<title type="html"><![CDATA[rehash problem with script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10283#p10283"><![CDATA[
Then as you have just stated, this is not a bug.<br><br>The confgi file, and scripts are loaded, before eggdrop even attempts to connect to a server. This is due to the fact, that all user settable settings and information, needs to be collected before connecting to a server.<br><br>If your script relies on using the var $botnick, to setup a trigger, then surly the trigger is being setup premiturly.<br><br>If eggdrop doesn't known what nickname it is using (IE, primary or altnick), then your script is not cable of knowing what trigger to use.<br><br>Sugestions would be to setup the trigger after connected to the server, and it is known what the nickname is.<br><br>Look into using the "bind evnt", to trigger a script, designed to setup the trigger based on the current nickname.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Sep 01, 2002 10:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-01T09:36:08-04:00</updated>

		<published>2002-09-01T09:36:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10282#p10282</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10282#p10282"/>
		<title type="html"><![CDATA[rehash problem with script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10282#p10282"><![CDATA[
I set my nick in my .conf file... surely that it correct?<br><br>There is no way to set it before the script loads... the botnick is set when the bot connects to a server, because it is a result of altnick and nick...<p>Statistics: Posted by Guest — Sun Sep 01, 2002 9:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-09-01T06:11:28-04:00</updated>

		<published>2002-09-01T06:11:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10279#p10279</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10279#p10279"/>
		<title type="html"><![CDATA[rehash problem with script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10279#p10279"><![CDATA[
So, as stated, set botnick before it gets a chance to load the script.<br><br>Surely that is simple to see.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Sep 01, 2002 6:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-31T18:50:02-04:00</updated>

		<published>2002-08-31T18:50:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10270#p10270</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10270#p10270"/>
		<title type="html"><![CDATA[rehash problem with script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10270#p10270"><![CDATA[
I know this, but the problem is that if you have a script that says<br><div class="codebox"><p>Code: </p><pre><code>set trigger "$botnick"</code></pre></div>in the top, (so it will be loaded once)<br><br>The variable $botnick won't contain anything....<p>Statistics: Posted by Guest — Sat Aug 31, 2002 6:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-08-31T18:31:23-04:00</updated>

		<published>2002-08-31T18:31:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10267#p10267</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10267#p10267"/>
		<title type="html"><![CDATA[rehash problem with script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10267#p10267"><![CDATA[
$botnick is normaly defined in the config file.<br><br>However, when the bot loads withou the $botnick var being set, it will set it to a default of the primary nickname.<br><br>To get around it, add a "set botnick" line to the config file, with the value of the primary nickname.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sat Aug 31, 2002 6:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-31T17:51:36-04:00</updated>

		<published>2002-08-31T17:51:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10265#p10265</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10265#p10265"/>
		<title type="html"><![CDATA[rehash problem with script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10265#p10265"><![CDATA[
I think I located the problem, the trigger is set to be "$botnick,"<br><br>but it seems that botnick is not defined when the bot is loaded, and only after the bot has been rehashed is that variable avaliable?<p>Statistics: Posted by Guest — Sat Aug 31, 2002 5:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-31T17:36:36-04:00</updated>

		<published>2002-08-31T17:36:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10262#p10262</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10262#p10262"/>
		<title type="html"><![CDATA[rehash problem with script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10262#p10262"><![CDATA[
hi again, sorry for the delay, but I've been debugging so much and found the code that is the problem<br><div class="codebox"><p>Code: </p><pre><code>if {($tigger_only_in_channel == 1 &amp;&amp; $type == "channel" &amp;&amp; [lindex $text 0] != $trigger) || ([lindex $text 0] != $trigger &amp;&amp; $tigger_only_in_channel != 1)} {infoegg_debug "Left operation because no trigger was found, trigger was '$trigger', text was '$text'"return 0}code]Now, when the bot if first started... it issues the debug notice and terminates the function, but after I rehash it works fine... it does NOT terminate the function</code></pre></div><p>Statistics: Posted by Guest — Sat Aug 31, 2002 5:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-08-26T15:43:48-04:00</updated>

		<published>2002-08-26T15:43:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10055#p10055</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10055#p10055"/>
		<title type="html"><![CDATA[rehash problem with script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10055#p10055"><![CDATA[
I am guessing it is the pubm and msgm binds you need.<br><br>However, it's the rest of the script we need to see the problem.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Mon Aug 26, 2002 3:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-26T15:09:14-04:00</updated>

		<published>2002-08-26T15:09:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10051#p10051</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10051#p10051"/>
		<title type="html"><![CDATA[rehash problem with script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10051#p10051"><![CDATA[
BTW, nice number of posts ppslim.. 1337<p>Statistics: Posted by Guest — Mon Aug 26, 2002 3:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-26T15:04:21-04:00</updated>

		<published>2002-08-26T15:04:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10050#p10050</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10050#p10050"/>
		<title type="html"><![CDATA[rehash problem with script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10050#p10050"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub - * infoegg_chanmsgbind msg - * infoegg_privmsg# - Basic forward functionsproc infoegg_chanmsg {nick host hand chan text} {infoegg_question $nick $chan channel $text}proc infoegg_privmsg {nick uhand handle text} {infoegg_question $nick $nick msg $text}</code></pre></div>nothing is registering... I've tried to debug it... but yet again.. nothing<p>Statistics: Posted by Guest — Mon Aug 26, 2002 3:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-08-26T14:40:13-04:00</updated>

		<published>2002-08-26T14:40:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10046#p10046</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10046#p10046"/>
		<title type="html"><![CDATA[rehash problem with script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10046#p10046"><![CDATA[
We would need to see more of the script, to locate the problem.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Mon Aug 26, 2002 2:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-26T12:09:21-04:00</updated>

		<published>2002-08-26T12:09:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10042#p10042</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10042#p10042"/>
		<title type="html"><![CDATA[rehash problem with script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10042#p10042"><![CDATA[
I tried that, but then it won't work all together... very strange<br><br>I'll try again... thanks<p>Statistics: Posted by Guest — Mon Aug 26, 2002 12:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-26T12:03:15-04:00</updated>

		<published>2002-08-26T12:03:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10041#p10041</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10041#p10041"/>
		<title type="html"><![CDATA[rehash problem with script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10041#p10041"><![CDATA[
try  using:<br>bind pub <br>and<br>bind msg <br><br>i got that error when working on my script i still dont know what it is.<p>Statistics: Posted by Guest — Mon Aug 26, 2002 12:03 pm</p><hr />
]]></content>
	</entry>
	</feed>
