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

	<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>2006-11-17T13:47:35-04:00</updated>

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

		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2006-11-17T13:47:35-04:00</updated>

		<published>2006-11-17T13:47:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68148#p68148</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68148#p68148"/>
		<title type="html"><![CDATA[Enabl and Disable script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68148#p68148"><![CDATA[
Example:<br><div class="codebox"><p>Code: </p><pre><code>setudef flag blascriptbind PUB -|- !bla pub:blascriptproc pub:blascript {nickname hostname handle channel arguments} {  if {[string equal "on" [set type [lindex [split $arguments] 0]]]} {    channel set $channel +blascript  } elseif {[string equal "off" $type]} {    channel set $channel -blascript  } elseif {![channel get $channel blascript]} {    return 0  } else {    # Do something here  }}</code></pre></div>You should be able to implement something similar for your own script(s).[/code]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Fri Nov 17, 2006 1:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[deadite66]]></name></author>
		<updated>2006-11-17T07:37:27-04:00</updated>

		<published>2006-11-17T07:37:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68139#p68139</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68139#p68139"/>
		<title type="html"><![CDATA[Enabl and Disable script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68139#p68139"><![CDATA[
<a href="http://www.eggheads.org/support/egghtml/1.6.18/tcl-commands.html" class="postlink">http://www.eggheads.org/support/egghtml ... mands.html</a><br><br>eggdrop has bind and unbind, so you could have a separate procedure to disable/re-enable a bind<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6296">deadite66</a> — Fri Nov 17, 2006 7:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[starpossen]]></name></author>
		<updated>2006-11-17T05:00:25-04:00</updated>

		<published>2006-11-17T05:00:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68136#p68136</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68136#p68136"/>
		<title type="html"><![CDATA[Enabl and Disable script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68136#p68136"><![CDATA[
Is there anyways to make a public command for Enabling and Disabling a script?<br>Like example:<br>!scriptname on<br>!scriptname off<br><br>If this has already been covered in another topic, im sorry for my bad search.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7219">starpossen</a> — Fri Nov 17, 2006 5:00 am</p><hr />
]]></content>
	</entry>
	</feed>
