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

	<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>2005-02-05T08:11:30-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2005-02-05T08:11:30-04:00</updated>

		<published>2005-02-05T08:11:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46275#p46275</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46275#p46275"/>
		<title type="html"><![CDATA[&quot;subst -nobackslashes -nocommands -novariables&quot; ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46275#p46275"><![CDATA[
I ran a quick test on it (the way he has it written) and it does indeed seem to do nothing. I'm not even sure if the syntax is right. It looked to me (from reading up on it) as though $text is supposed to be within braces i.e. subst -nocommands {$text}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sat Feb 05, 2005 8:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Adrenalin]]></name></author>
		<updated>2005-02-05T04:51:20-04:00</updated>

		<published>2005-02-05T04:51:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46274#p46274</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46274#p46274"/>
		<title type="html"><![CDATA[&quot;subst -nobackslashes -nocommands -novariables&quot; ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46274#p46274"><![CDATA[
I taked that piece from <a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=619" class="postlink">Channel Guardian</a> by DrN.. One of the <a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?sort=9" class="postlink">most popular</a> protection script(8396 downloads)  .. (see online <a href="http://irc.server.md/eggdrop/guard102.tcl.txt" class="postlink">source</a>)<br><br>I trying to do somethink better, i counted 6 "subst -nobackslashes -nocommands -novariables .." in that script, so i was been thinking what that is somethink important.. After reading the manual i still don't understand for what author ussing it.. So i was tried to get answer here.<br><br>So, it's do nothing ussefuly in this case? Just wasting cpu ? Cool ;)<br>Thanks you all!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5939">Adrenalin</a> — Sat Feb 05, 2005 4:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2005-02-03T12:37:06-04:00</updated>

		<published>2005-02-03T12:37:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46202#p46202</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46202#p46202"/>
		<title type="html"><![CDATA[&quot;subst -nobackslashes -nocommands -novariables&quot; ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46202#p46202"><![CDATA[
i know, but i don't think it was the intention of using them all i think he is learning tcl and trying to find out the use of the command<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Thu Feb 03, 2005 12:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2005-02-03T08:33:53-04:00</updated>

		<published>2005-02-03T08:33:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46200#p46200</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46200#p46200"/>
		<title type="html"><![CDATA[&quot;subst -nobackslashes -nocommands -novariables&quot; ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46200#p46200"><![CDATA[
<blockquote class="uncited"><div>i think he just forgot a '$' infront of the word text</div></blockquote>It would still do nothing. (subst doesn't modify variables...it returns the string fed to it with substitutions performed (none if all the switches are used)) <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=2878">user</a> — Thu Feb 03, 2005 8:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2005-02-03T04:09:38-04:00</updated>

		<published>2005-02-03T04:09:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46183#p46183</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46183#p46183"/>
		<title type="html"><![CDATA[&quot;subst -nobackslashes -nocommands -novariables&quot; ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46183#p46183"><![CDATA[
i think he just forgot a '$' infront of the word text<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Thu Feb 03, 2005 4:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2005-02-02T20:24:34-04:00</updated>

		<published>2005-02-02T20:24:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46169#p46169</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46169#p46169"/>
		<title type="html"><![CDATA[&quot;subst -nobackslashes -nocommands -novariables&quot; ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46169#p46169"><![CDATA[
<blockquote class="uncited"><div>Dont hold back user you just tell it as you see it..  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"></div></blockquote>LOL .. well there went my nice little theory out the window.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Wed Feb 02, 2005 8:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2005-02-02T19:51:02-04:00</updated>

		<published>2005-02-02T19:51:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46163#p46163</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46163#p46163"/>
		<title type="html"><![CDATA[&quot;subst -nobackslashes -nocommands -novariables&quot; ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46163#p46163"><![CDATA[
Dont hold back user you just tell it as you see it..  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Wed Feb 02, 2005 7:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2005-02-02T19:39:05-04:00</updated>

		<published>2005-02-02T19:39:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46159#p46159</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46159#p46159"/>
		<title type="html"><![CDATA[&quot;subst -nobackslashes -nocommands -novariables&quot; ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46159#p46159"><![CDATA[
It does nothing but waste some cpu. The string "text" doesn't contain any characters that would trigger substitutions, and the return value (text) is discarded. The author is either stupid or trying to confuse you. <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=2878">user</a> — Wed Feb 02, 2005 7:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2005-02-02T19:10:20-04:00</updated>

		<published>2005-02-02T19:10:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46157#p46157</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46157#p46157"/>
		<title type="html"><![CDATA[&quot;subst -nobackslashes -nocommands -novariables&quot; ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46157#p46157"><![CDATA[
A rough guess would be that the piece of code Adrenalin posted is from some sort of channel protection script and is used for excessive "away" messages in the channel and the use of -nocommands -novariables -nobackslashes could be to get around the varied weird and wonderfull messages that are created these days (along with equally weird and wonderfull nicks) all using characters that eggdrop most of the time chokes on.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Wed Feb 02, 2005 7:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2005-02-02T18:08:13-04:00</updated>

		<published>2005-02-02T18:08:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46151#p46151</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46151#p46151"/>
		<title type="html"><![CDATA[&quot;subst -nobackslashes -nocommands -novariables&quot; ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46151#p46151"><![CDATA[
hehe sorry didn't notice he used all 3 of em<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Wed Feb 02, 2005 6:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2005-02-02T14:26:42-04:00</updated>

		<published>2005-02-02T14:26:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46144#p46144</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46144#p46144"/>
		<title type="html"><![CDATA[&quot;subst -nobackslashes -nocommands -novariables&quot; ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46144#p46144"><![CDATA[
Ofloo, the posted code uses -nocommands -novariables -nobackslashes all at once.<br><br>If it only used one of them, then yeah, it would have a point.. but all 3?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Wed Feb 02, 2005 2:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2005-02-02T14:13:19-04:00</updated>

		<published>2005-02-02T14:13:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46143#p46143</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46143#p46143"/>
		<title type="html"><![CDATA[&quot;subst -nobackslashes -nocommands -novariables&quot; ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46143#p46143"><![CDATA[
<blockquote class="uncited"><div>RTFM<br><a href="http://www.tcl.tk/man/tcl8.5/TclCmd/subst.htm" class="postlink">http://www.tcl.tk/man/tcl8.5/TclCmd/subst.htm</a><br><br>PS: lol @KrzychuG, a few sec faster ^-^</div></blockquote>i think mentioning the manual once would be sufficient<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Wed Feb 02, 2005 2:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2005-02-02T14:08:03-04:00</updated>

		<published>2005-02-02T14:08:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46142#p46142</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46142#p46142"/>
		<title type="html"><![CDATA[&quot;subst -nobackslashes -nocommands -novariables&quot; ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46142#p46142"><![CDATA[
well its like for example to evaluate variables but not execute or execute but not resolve variables and so on .. for example<br><div class="codebox"><p>Code: </p><pre><code>set new_test blahset a newset b testputs [subst -nocommands $a_$b]</code></pre></div>otherwize it would say $a_ is not a variable !<br><br>i used it to create dynamic array names.<br><br>name_Array(something) data<br><br>ex: <br>set $nick_$chan($host) "+o"<br><br>could be done more efficient but just to give you an idea..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Wed Feb 02, 2005 2:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2005-02-02T12:46:22-04:00</updated>

		<published>2005-02-02T12:46:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46140#p46140</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46140#p46140"/>
		<title type="html"><![CDATA[&quot;subst -nobackslashes -nocommands -novariables&quot; ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46140#p46140"><![CDATA[
I don't think Adrenalin was asking for the man page... more like, what is it DOING? In other words, if you call subst and tell it not to evaluate backslashes, commands, or variables, what is the point? What does it DO? Anybody have an idea? My initial guess is... it does nothing.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Wed Feb 02, 2005 12:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-02-03T10:10:10-04:00</updated>

		<published>2005-02-02T11:29:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46136#p46136</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46136#p46136"/>
		<title type="html"><![CDATA[&quot;subst -nobackslashes -nocommands -novariables&quot; ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46136#p46136"><![CDATA[
PS: lol @KrzychuG, a few sec faster ^-^<br><br>PPS: better? <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=2382">De Kus</a> — Wed Feb 02, 2005 11:29 am</p><hr />
]]></content>
	</entry>
	</feed>
