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

	<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>2004-07-04T11:49:17-04:00</updated>

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

		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-07-04T11:49:17-04:00</updated>

		<published>2004-07-04T11:49:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38192#p38192</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38192#p38192"/>
		<title type="html"><![CDATA[Another simple msg script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38192#p38192"><![CDATA[
The only benefit of using :: is if you only use a variable once or twice...<br>If you use multiple times over and over (ie. if it's inside a loop or something), its overhead will become larger than with the global equivelant.<br><br>Furthur more, Not all Tcl versions support namespaces, (Tcl7.6p2 for example), so global is the only method to use to retain compatibility.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Sun Jul 04, 2004 11:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arcane]]></name></author>
		<updated>2004-07-04T07:34:35-04:00</updated>

		<published>2004-07-04T07:34:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38189#p38189</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38189#p38189"/>
		<title type="html"><![CDATA[Another simple msg script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38189#p38189"><![CDATA[
<blockquote class="uncited"><div>Ok, I'm lazy.  I can't be bothered typing "global blah blah" all the time. LOL  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"></div></blockquote>well, that was my point <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br>instead of typing "$::botnick" 20 times, i type once "global botnick" and save me 2 chars every time i use the var <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=2617">arcane</a> — Sun Jul 04, 2004 7:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-07-04T07:00:35-04:00</updated>

		<published>2004-07-04T07:00:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38188#p38188</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38188#p38188"/>
		<title type="html"><![CDATA[Another simple msg script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38188#p38188"><![CDATA[
No need to start a flame.. chil out!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sun Jul 04, 2004 7:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dollar]]></name></author>
		<updated>2004-07-04T05:47:24-04:00</updated>

		<published>2004-07-04T05:47:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38185#p38185</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38185#p38185"/>
		<title type="html"><![CDATA[Another simple msg script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38185#p38185"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>"Hey it works... so no need to change it" </div></blockquote>lol ill keep it in mind next time u give comment on some script hehe witch u did :p allready .. (don't take it wrong just wanted to point that out :p)</div></blockquote>Huh? What're you trying to say?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4046">dollar</a> — Sun Jul 04, 2004 5:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-07-04T05:18:25-04:00</updated>

		<published>2004-07-04T05:18:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38182#p38182</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38182#p38182"/>
		<title type="html"><![CDATA[Another simple msg script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38182#p38182"><![CDATA[
<blockquote class="uncited"><div>Na... I just like to declare a global variable <br>always do, when there is no global variable declared. <br><br>Seems useless, but gives the right majestic touch <br>to the procedure when you look at it. </div></blockquote>lol @ that if its not needed then its not needed that simple its useless using unused code will only slow down the script and in the end if everyone starts codeing like that the whole bot :p, also a script is about functionality not how it looks lol just a pointer .. (well abit is so its more readable to other scripters but adding useless code will only make other scripters confused or make the script to messy)<br><blockquote class="uncited"><div>"Hey it works... so no need to change it" </div></blockquote>lol ill keep it in mind next time u give comment on some script hehe witch u did :p allready .. (don't take it wrong just wanted to point that out :p)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Sun Jul 04, 2004 5:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-07-04T03:05:07-04:00</updated>

		<published>2004-07-04T03:05:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38179#p38179</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38179#p38179"/>
		<title type="html"><![CDATA[Another simple msg script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38179#p38179"><![CDATA[
The difference betwen "global botnick" and "$::botnick" is that the $botnick variable in the first case is called when the proc is started and in the second case it's called just when it's needed. If I recall corectly this has been discussed before.. long time ago. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sun Jul 04, 2004 3:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-07-03T18:10:49-04:00</updated>

		<published>2004-07-03T18:10:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38174#p38174</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38174#p38174"/>
		<title type="html"><![CDATA[Another simple msg script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38174#p38174"><![CDATA[
Ok, I'm lazy.  I can't be bothered typing "global blah blah" all the time. LOL  <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> — Sat Jul 03, 2004 6:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arcane]]></name></author>
		<updated>2004-07-02T06:52:20-04:00</updated>

		<published>2004-07-02T06:52:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38132#p38132</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38132#p38132"/>
		<title type="html"><![CDATA[Another simple msg script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38132#p38132"><![CDATA[
i agree.<br>what's more: if you are using some global var several times in a proc, global saves you some chars to type <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=2617">arcane</a> — Fri Jul 02, 2004 6:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-07-02T04:30:21-04:00</updated>

		<published>2004-07-02T04:30:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38127#p38127</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38127#p38127"/>
		<title type="html"><![CDATA[Another simple msg script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38127#p38127"><![CDATA[
Yeah you can also use $::botnick any global variable with<br>two :: between their $ sign and name will run the procedure<br>and you wouldn't have to declar the global variable.<br><br>But if you have alot of global variables it makes the script<br>look messy, hence I always restrict myself to use this method.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Fri Jul 02, 2004 4:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-07-01T20:09:04-04:00</updated>

		<published>2004-07-01T20:09:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38122#p38122</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38122#p38122"/>
		<title type="html"><![CDATA[Another simple msg script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38122#p38122"><![CDATA[
I use this method always:<div class="codebox"><p>Code: </p><pre><code>$::botnick</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=3646">Alchera</a> — Thu Jul 01, 2004 8:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-07-01T15:50:35-04:00</updated>

		<published>2004-07-01T15:50:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38115#p38115</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38115#p38115"/>
		<title type="html"><![CDATA[Another simple msg script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38115#p38115"><![CDATA[
Na... I just like to declare a global variable<br>always do, when there is no global variable declared.<br><br>Seems useless, but gives the right majestic touch<br>to the procedure when you look at it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Thu Jul 01, 2004 3:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-07-01T15:11:06-04:00</updated>

		<published>2004-07-01T15:11:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38113#p38113</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38113#p38113"/>
		<title type="html"><![CDATA[Another simple msg script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38113#p38113"><![CDATA[
The copy/paste probably confused him <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Jul 01, 2004 3:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arcane]]></name></author>
		<updated>2004-07-01T12:54:50-04:00</updated>

		<published>2004-07-01T12:54:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38104#p38104</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38104#p38104"/>
		<title type="html"><![CDATA[Another simple msg script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38104#p38104"><![CDATA[
lol.<br>i bet "AUTH &lt;nick&gt;" was meant to be replaced with "AUTH $botnick" some day...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2617">arcane</a> — Thu Jul 01, 2004 12:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dollar]]></name></author>
		<updated>2004-07-01T12:20:22-04:00</updated>

		<published>2004-07-01T12:20:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38102#p38102</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38102#p38102"/>
		<title type="html"><![CDATA[Another simple msg script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38102#p38102"><![CDATA[
<blockquote class="uncited"><div>What's with "global botnick" if you don't seem to be using it?</div></blockquote>"Hey it works... so no need to change it"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4046">dollar</a> — Thu Jul 01, 2004 12:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-07-01T11:42:37-04:00</updated>

		<published>2004-07-01T11:42:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38099#p38099</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38099#p38099"/>
		<title type="html"><![CDATA[Another simple msg script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38099#p38099"><![CDATA[
What's with "global botnick" if you don't seem to be using it?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Jul 01, 2004 11:42 am</p><hr />
]]></content>
	</entry>
	</feed>
