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

	<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-10-11T15:58:30-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2003-10-11T15:58:30-04:00</updated>

		<published>2003-10-11T15:58:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28294#p28294</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28294#p28294"/>
		<title type="html"><![CDATA[break a script on certain chars ..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28294#p28294"><![CDATA[
thats a way arround it as well dude it always will be a way arround it there is no correct way its not cause someone has written it down that it is a correct way ! it nice way but its a way arround it just the same as mine :p<br><br>A write way would be an index way of tcl it self !<br><br>like: largs or something what ever then you would be able to say that it is the best way but this is scripting so i don't thing there is a write way on the other hand best way is in every ones opinion depending what you know and what is easyest to understand for your self <br><br>So concluding this there is no write way to solve this only suggestions that are ways arround it <br><br>Tnx for the info tho <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Sat Oct 11, 2003 3:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Souperman]]></name></author>
		<updated>2003-10-10T13:47:49-04:00</updated>

		<published>2003-10-10T13:47:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28238#p28238</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28238#p28238"/>
		<title type="html"><![CDATA[break a script on certain chars ..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28238#p28238"><![CDATA[
Instead of trying to devise unnecessary workarounds to problems with special chars, rather try and write your script correctly in the first place.  Read <a href="http://www.peterre.com/characters.html" class="postlink">http://www.peterre.com/characters.html</a>.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=801">Souperman</a> — Fri Oct 10, 2003 1:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2003-10-04T19:26:18-04:00</updated>

		<published>2003-10-04T19:26:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27929#p27929</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27929#p27929"/>
		<title type="html"><![CDATA[break a script on certain chars ..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27929#p27929"><![CDATA[
tryed that didn't work either so found a way arround it tnx for replying tho<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Sat Oct 04, 2003 7:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-10-04T18:50:52-04:00</updated>

		<published>2003-10-04T18:50:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27928#p27928</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27928#p27928"/>
		<title type="html"><![CDATA[break a script on certain chars ..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27928#p27928"><![CDATA[
try<div class="codebox"><p>Code: </p><pre><code>if {[string match *\[*\]* $var] || [string match *\{*\}* $var]} {   putserv "privmsg $chan :Your string contains invalid chars !"   break }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Oct 04, 2003 6:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2003-10-04T13:59:37-04:00</updated>

		<published>2003-10-04T13:59:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27913#p27913</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27913#p27913"/>
		<title type="html"><![CDATA[break a script on certain chars ..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27913#p27913"><![CDATA[
how do i do this <br><br>the match with a var and if the var contains [] i want to disable it but how do i do that ..? <br><div class="codebox"><p>Code: </p><pre><code>if {[string match *[*]* $var] || [string match *{*}* $var] == 1} {  putserv "privmsg $chan :Your string contains invalid chars !"  break}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Sat Oct 04, 2003 1:59 pm</p><hr />
]]></content>
	</entry>
	</feed>
