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

	<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>2003-08-20T15:30:05-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Moose]]></name></author>
		<updated>2003-08-20T15:30:05-04:00</updated>

		<published>2003-08-20T15:30:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25384#p25384</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25384#p25384"/>
		<title type="html"><![CDATA[Would it be possible...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25384#p25384"><![CDATA[
lol we are going to have a tripple negative if we are not careful<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3684">Moose</a> — Wed Aug 20, 2003 3:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[shanks]]></name></author>
		<updated>2003-08-20T14:24:54-04:00</updated>

		<published>2003-08-20T14:24:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25381#p25381</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25381#p25381"/>
		<title type="html"><![CDATA[Would it be possible...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25381#p25381"><![CDATA[
hmm. i might have to test that.. at the moment i'm using a script i was pointed to that lets me unload and then load the other script through dcc chat.. but thats almost as much hastle as doing it via config.<br><br>this would work nicely... problem is, there may be a 3rd script soon! :p<br><br>nevermind.i'll test it. thanks a lot.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3686">shanks</a> — Wed Aug 20, 2003 2:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2003-08-19T15:01:52-04:00</updated>

		<published>2003-08-19T15:01:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25300#p25300</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25300#p25300"/>
		<title type="html"><![CDATA[Would it be possible...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25300#p25300"><![CDATA[
stdragon - I was commenting in general on your "switcher.tcl" being a true tcl "switcher".  'rehash' will break it. When others search the forum for similar answers, we don't want to lead them up the wrong path.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Tue Aug 19, 2003 3:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-08-19T13:55:56-04:00</updated>

		<published>2003-08-19T13:55:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25298#p25298</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25298#p25298"/>
		<title type="html"><![CDATA[Would it be possible...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25298#p25298"><![CDATA[
Stikelight - Double negative... if you read the original post you can see that he currently edits the config file and rehashes, thus clearing the binds must not be an issue (overlapping?).<br><br>That said, maybe he just said it wrong (that is why I used restart to begin with), but I wanted to give him the option to try it his way.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Tue Aug 19, 2003 1:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2003-08-19T11:13:04-04:00</updated>

		<published>2003-08-19T11:13:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25278#p25278</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25278#p25278"/>
		<title type="html"><![CDATA[Would it be possible...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25278#p25278"><![CDATA[
<blockquote class="uncited"><div>Oh, you can make that "rehash" instead of "restart" if you want.</div></blockquote>Negative.. 'rehash' doesn't clear previous bindings.. You'll need to keep the 'restart'.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Tue Aug 19, 2003 11:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-08-18T23:47:59-04:00</updated>

		<published>2003-08-18T23:47:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25249#p25249</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25249#p25249"/>
		<title type="html"><![CDATA[Would it be possible...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25249#p25249"><![CDATA[
Oh, you can make that "rehash" instead of "restart" if you want.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Mon Aug 18, 2003 11:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-08-18T23:47:03-04:00</updated>

		<published>2003-08-18T23:47:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25248#p25248</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25248#p25248"/>
		<title type="html"><![CDATA[Would it be possible...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25248#p25248"><![CDATA[
switcher.tcl:<div class="codebox"><p>Code: </p><pre><code># set the paths to your two scripts hereset script1 "scripts/script1.tcl"set script2 "scripts/script2.tcl"bind pub n !script1 load_script1bind pub n !script2 load_script2proc load_script1 {nick uhost hand chan text} {  global script1  switch_to $script1  restart}proc load_script2 {nick uhost hand chan text} {  global script2  switch_to $script2  restart}proc switch_to {fname} {  set fp [open script_toggle.tcl w]  puts $fp "source $fname"  close $fp}if {![file exists script_toggle.tcl]} {  switch_to $script1}</code></pre></div>config:<div class="codebox"><p>Code: </p><pre><code># source scripts/script1.tcl# source scripts/script2.tcl &lt;-- comment these lines out, or delete themsource switcher.tclcatch {source script_toggle.tcl}</code></pre></div>tada! not tested :)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Mon Aug 18, 2003 11:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[shanks]]></name></author>
		<updated>2003-08-18T13:51:25-04:00</updated>

		<published>2003-08-18T13:51:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25230#p25230</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25230#p25230"/>
		<title type="html"><![CDATA[Would it be possible...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25230#p25230"><![CDATA[
it is a nice idea, but not actually necessairy.<br><br>i was directed to a script in the archive that lets me load and unload scripts through dcc. with a little modification, i should be able to make it a public command for the people who need it. will solve the problems.<br><br><br>thanks a lot for all your help though people.<br><br>shanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3686">shanks</a> — Mon Aug 18, 2003 1:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[vork3]]></name></author>
		<updated>2003-08-18T13:23:17-04:00</updated>

		<published>2003-08-18T13:23:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25226#p25226</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25226#p25226"/>
		<title type="html"><![CDATA[Would it be possible...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25226#p25226"><![CDATA[
but if you combine the scripts and build in a function to shut them off by for instece !chat off and !event off ??<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3676">vork3</a> — Mon Aug 18, 2003 1:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[shanks]]></name></author>
		<updated>2003-08-18T13:19:21-04:00</updated>

		<published>2003-08-18T13:19:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25225#p25225</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25225#p25225"/>
		<title type="html"><![CDATA[Would it be possible...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25225#p25225"><![CDATA[
well, this kind of hard to explain, but it wouldn't work.<br><br>the main script relays every thing from the server. it parses every thing that is produced by the logs.<br><br>the second script ignores every thing except chat. this one would be used for matches, where having events shown publically wouldn't be allowed by the rules.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3686">shanks</a> — Mon Aug 18, 2003 1:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[vork3]]></name></author>
		<updated>2003-08-18T10:56:09-04:00</updated>

		<published>2003-08-18T10:56:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25217#p25217</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25217#p25217"/>
		<title type="html"><![CDATA[Would it be possible...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25217#p25217"><![CDATA[
and combining the 2 scripts to 1?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3676">vork3</a> — Mon Aug 18, 2003 10:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[shanks]]></name></author>
		<updated>2003-08-18T10:48:47-04:00</updated>

		<published>2003-08-18T10:48:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25216#p25216</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25216#p25216"/>
		<title type="html"><![CDATA[Would it be possible...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25216#p25216"><![CDATA[
i only have the option of hosting one, and it would make it easier using just the one bot<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3686">shanks</a> — Mon Aug 18, 2003 10:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[vork3]]></name></author>
		<updated>2003-08-18T10:42:02-04:00</updated>

		<published>2003-08-18T10:42:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25214#p25214</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25214#p25214"/>
		<title type="html"><![CDATA[Would it be possible...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25214#p25214"><![CDATA[
why don't you use 2 bots. one for eetch script<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3676">vork3</a> — Mon Aug 18, 2003 10:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[shanks]]></name></author>
		<updated>2003-08-18T09:31:55-04:00</updated>

		<published>2003-08-18T09:31:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25210#p25210</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25210#p25210"/>
		<title type="html"><![CDATA[Would it be possible...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25210#p25210"><![CDATA[
the binds wouldn't be needed to be flushed.<br><br>the scripts are relay scripts from game servers 2 irc.<br><br>one of them relays every event, so it parses practically every thing from the logs of the server. thats the main one.<br><br>the second one however, only parses the chat, and ignores all the events.<br><br>when you have them both loaded at the same time, neither one works because they interfere with each other trying to parse the same things differently.<br><br>if i can't change the config file, is there a way putting at the beginning of a script file, some thing to tell it to ignore the rest of the script unless a command is inputted.<br><br>basically a way of turning the script on and off completely, because as they are  now, they continually run in the background, regardless of whether stuff is inputted into the channel or not.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3686">shanks</a> — Mon Aug 18, 2003 9:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gumbydammit]]></name></author>
		<updated>2003-08-18T07:43:55-04:00</updated>

		<published>2003-08-18T07:43:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25202#p25202</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25202#p25202"/>
		<title type="html"><![CDATA[Would it be possible...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25202#p25202"><![CDATA[
search the tcl archive on here... there are some scripts that enable you to load and unload tcl's from partyline i believe. hmm to flush the old binds tho its probably going to take more then a rehash.. not sure have not actually looked at the scripts.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1870">gumbydammit</a> — Mon Aug 18, 2003 7:43 am</p><hr />
]]></content>
	</entry>
	</feed>
