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

	<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>2012-01-31T14:08:22-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Johannes13]]></name></author>
		<updated>2012-01-31T14:08:22-04:00</updated>

		<published>2012-01-31T14:08:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98656#p98656</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98656#p98656"/>
		<title type="html"><![CDATA[on / off switch via console]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98656#p98656"><![CDATA[
setudef flag !this<br><br>set it with .chanset +!this or .chanset -!this<br><br>check it in the script with [channel get $channel !this]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11381">Johannes13</a> — Tue Jan 31, 2012 2:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Elfriede]]></name></author>
		<updated>2011-12-09T06:10:40-04:00</updated>

		<published>2011-12-09T06:10:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98367#p98367</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98367#p98367"/>
		<title type="html"><![CDATA[on / off switch via console]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98367#p98367"><![CDATA[
Hi everyone <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Hopefully someone can help me on that. Ive a small script, that needs an on/off switch for a specific command. <br><br>In the following example id like to have eg:<br><br>.chanset !this off<br><br>like this <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><div class="codebox"><p>Code: </p><pre><code>proc beta_recv    {from command text} {set type [lindex [split $text] 0]switch $type {"!this"   { sendmsg #chan "$text" }"!that"   { sendmsg #chan "$text" }"!somethg"   { sendmsg #chan "$text" }}}</code></pre></div>Would be awesome, if someone would write that for me <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Thanks a lot<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9204">Elfriede</a> — Fri Dec 09, 2011 6:10 am</p><hr />
]]></content>
	</entry>
	</feed>
