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

	<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>2008-12-14T16:26:18-04:00</updated>

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

		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2008-12-14T16:26:18-04:00</updated>

		<published>2008-12-14T16:26:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86242#p86242</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86242#p86242"/>
		<title type="html"><![CDATA[can i load a TCL  from a process?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86242#p86242"><![CDATA[
I use a pre-rehash script, which unbinds all non-default binds upon rehash. So if you remove your script from the config file, it wont be reloaded.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Sun Dec 14, 2008 4:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-12-14T13:09:48-04:00</updated>

		<published>2008-12-14T13:09:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86240#p86240</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86240#p86240"/>
		<title type="html"><![CDATA[can i load a TCL  from a process?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86240#p86240"><![CDATA[
There are some rudimentary attempts to build script-APIs to allow dynamic loading and unloading, although I cannot comment on the usability of these scripts.<br><br>Depending on the number of triggers/commands, I'd suggest simply using globalspace variables to specify the operation of the different triggers/commands.<br><br>Ie, something like this:<div class="codebox"><p>Code: </p><pre><code>set EnableMytrigger 1...bind dcc - "enabletrigger" DccEnableMytriggerproc DccEnableMytrigger {hand idx text} { set ::EnableMytrigger 1}bind dcc - "disabletrigger" DccDisableMytriggerproc DccDisableMytrigger {hand idx text} { set ::EnableMytrigger 0}bind pub - "trigger" PubMytriggerproc PubMyTrigger {nick host hand chan text} { if {![info exists ::EnableMytrigger] || $::EnableMytrigger != 1} {  return 0 }#rest of script here}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sun Dec 14, 2008 1:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[topdawg_b]]></name></author>
		<updated>2008-12-14T06:22:46-04:00</updated>

		<published>2008-12-14T06:22:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86233#p86233</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86233#p86233"/>
		<title type="html"><![CDATA[can i load a TCL  from a process?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86233#p86233"><![CDATA[
i have a  whole set of triggers that i want to turn off and on from time to time. is there a way to load and unload a tcl from the party line or from a  process?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10347">topdawg_b</a> — Sun Dec 14, 2008 6:22 am</p><hr />
]]></content>
	</entry>
	</feed>
