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

	<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-07-21T11:12:31-04:00</updated>

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

		<entry>
		<author><name><![CDATA[krimson]]></name></author>
		<updated>2006-07-21T11:12:31-04:00</updated>

		<published>2006-07-21T11:12:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64772#p64772</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64772#p64772"/>
		<title type="html"><![CDATA[uncomment a *]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64772#p64772"><![CDATA[
i misinterpreted your request.. my bad  :roll:<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7663">krimson</a> — Fri Jul 21, 2006 11:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[keeper2]]></name></author>
		<updated>2006-07-21T10:42:45-04:00</updated>

		<published>2006-07-21T10:42:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64771#p64771</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64771#p64771"/>
		<title type="html"><![CDATA[uncomment a *]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64771#p64771"><![CDATA[
if {[string first * $oper 0] &lt; 0} { <br>#this will check if there's at least no '*' in $oper <br>} <br><br>OK have it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>Thanks for help!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7984">keeper2</a> — Fri Jul 21, 2006 10:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[keeper2]]></name></author>
		<updated>2006-07-21T10:35:57-04:00</updated>

		<published>2006-07-21T10:35:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64770#p64770</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64770#p64770"/>
		<title type="html"><![CDATA[uncomment a *]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64770#p64770"><![CDATA[
<blockquote class="uncited"><div>so you want to check if '*' is anywhere in your string? or only at the beginning?<br><div class="codebox"><p>Code: </p><pre><code>if {[string first * $oper 0] &gt;0} {  #this will check if there's at least one '*' in $oper}</code></pre></div></div></blockquote>seems not to work. I want to test if in the variable $oper is no '*'.<br><br>if {![string first * $oper 0] &gt;0} { <br>  #this will check if there's at least no '*' in $oper <br>} <br><br>^^that doesnt't work <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7984">keeper2</a> — Fri Jul 21, 2006 10:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[krimson]]></name></author>
		<updated>2006-07-21T10:19:04-04:00</updated>

		<published>2006-07-21T10:19:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64769#p64769</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64769#p64769"/>
		<title type="html"><![CDATA[uncomment a *]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64769#p64769"><![CDATA[
so you want to check if '*' is anywhere in your string? or only at the beginning?<br><div class="codebox"><p>Code: </p><pre><code>if {[string first * $oper 0] &gt;0} {  #this will check if there's at least one '*' in $oper}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7663">krimson</a> — Fri Jul 21, 2006 10:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[keeper2]]></name></author>
		<updated>2006-07-21T09:49:04-04:00</updated>

		<published>2006-07-21T09:49:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64766#p64766</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64766#p64766"/>
		<title type="html"><![CDATA[uncomment a *]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64766#p64766"><![CDATA[
OK I have the following<br><br>set oper [lindex [split $arg " "] 6]<br>if {[string match "*" $oper]} {<br>...<br>}<br><br>So my problem is now I want to test if the * isin the variable oper, but so it get interpreted as any character.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7984">keeper2</a> — Fri Jul 21, 2006 9:49 am</p><hr />
]]></content>
	</entry>
	</feed>
