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

	<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-28T04:59:54-04:00</updated>

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

		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2006-11-28T04:59:54-04:00</updated>

		<published>2006-11-28T04:59:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68534#p68534</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68534#p68534"/>
		<title type="html"><![CDATA[little prob]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68534#p68534"><![CDATA[
I'd suggest you use "switch" for this (<a href="http://tmml.sourceforge.net/doc/tcl/switch.html" class="postlink">manpage</a>)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue Nov 28, 2006 4:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dragoneye]]></name></author>
		<updated>2006-11-28T03:30:51-04:00</updated>

		<published>2006-11-28T03:30:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68533#p68533</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68533#p68533"/>
		<title type="html"><![CDATA[little prob]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68533#p68533"><![CDATA[
got little problemn i have this script that says anything that someone says to my bot in private to my privatechannel. the problem is that i dont want the bot say !add and !remove in my private chanel, how do i make the if {[lindex $line 0] !=  "!add" "!remove" } - line so that i can add more commands that the bot dont say to my private channel ? sry my bad eng and yes im a noob <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><div class="codebox"><p>Code: </p><pre><code>proc priv {nick uhost hand arg} {global privchanset line [string trim $arg]if {[lindex $line 0] !=  "!add" "!remove" } {puthelp "PRIVMSG #$privchan :$nick on private: '$line'";return 0}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6114">dragoneye</a> — Tue Nov 28, 2006 3:30 am</p><hr />
]]></content>
	</entry>
	</feed>
