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

	<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-09-25T14:37:21-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-09-25T14:37:21-04:00</updated>

		<published>2003-09-25T14:37:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27578#p27578</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27578#p27578"/>
		<title type="html"><![CDATA[Help in tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27578#p27578"><![CDATA[
your welcome. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cool.gif" width="15" height="15" alt="8)" title="Cool"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Sep 25, 2003 2:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jag]]></name></author>
		<updated>2003-09-25T14:25:58-04:00</updated>

		<published>2003-09-25T14:25:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27575#p27575</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27575#p27575"/>
		<title type="html"><![CDATA[Help in tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27575#p27575"><![CDATA[
OK, 10x a lot!  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3871">Jag</a> — Thu Sep 25, 2003 2:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-09-25T14:12:31-04:00</updated>

		<published>2003-09-25T14:12:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27574#p27574</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27574#p27574"/>
		<title type="html"><![CDATA[Help in tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27574#p27574"><![CDATA[
yes, or:<div class="codebox"><p>Code: </p><pre><code>if {[regexp -all {[?]} $text] &gt; 6} { do something.. }</code></pre></div>notice the &gt; that indicates bigger than x.. you should use it in case someone uses more than x..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Sep 25, 2003 2:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jag]]></name></author>
		<updated>2003-09-25T14:07:19-04:00</updated>

		<published>2003-09-25T14:07:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27572#p27572</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27572#p27572"/>
		<title type="html"><![CDATA[Help in tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27572#p27572"><![CDATA[
so, the command supposed to be:<div class="codebox"><p>Code: </p><pre><code>set count [regexp -all {[?]} $text]if {$count == "6"} { ....</code></pre></div>?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3871">Jag</a> — Thu Sep 25, 2003 2:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-09-25T14:01:32-04:00</updated>

		<published>2003-09-25T14:01:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27571#p27571</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27571#p27571"/>
		<title type="html"><![CDATA[Help in tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27571#p27571"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set count [regexp -all {[?]} $text]</code></pre></div>replace text with what you got in your proc..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Sep 25, 2003 2:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jag]]></name></author>
		<updated>2003-09-25T06:28:14-04:00</updated>

		<published>2003-09-25T06:28:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27546#p27546</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27546#p27546"/>
		<title type="html"><![CDATA[Help in tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27546#p27546"><![CDATA[
hi,<br><br>i want to build a script that if someone write 6 times "?" in a sentence the eggdrop will kick him.<br><br>this command is the same as:<br><div class="codebox"><p>Code: </p><pre><code>$count</code></pre></div>in mirc-scripting<br><br>or the if command in mirc-scripting:<br><div class="codebox"><p>Code: </p><pre><code>if ($count($1-,?) &gt; 6)</code></pre></div>Thanks for the help  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3871">Jag</a> — Thu Sep 25, 2003 6:28 am</p><hr />
]]></content>
	</entry>
	</feed>
