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

	<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-05-02T12:16:17-04:00</updated>

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

		<entry>
		<author><name><![CDATA[laidas]]></name></author>
		<updated>2003-05-02T12:16:17-04:00</updated>

		<published>2003-05-02T12:16:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19742#p19742</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19742#p19742"/>
		<title type="html"><![CDATA[:)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19742#p19742"><![CDATA[
You`re welcome <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=1641">laidas</a> — Fri May 02, 2003 12:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[eiSi]]></name></author>
		<updated>2003-05-02T12:14:46-04:00</updated>

		<published>2003-05-02T12:14:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19741#p19741</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19741#p19741"/>
		<title type="html"><![CDATA[global procs (different files)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19741#p19741"><![CDATA[
all right, thx!<br><br>I'll try it!<br><br>ps: really fast help!!! <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=939">eiSi</a> — Fri May 02, 2003 12:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[laidas]]></name></author>
		<updated>2003-05-02T12:13:25-04:00</updated>

		<published>2003-05-02T12:13:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19739#p19739</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19739#p19739"/>
		<title type="html"><![CDATA[Yes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19739#p19739"><![CDATA[
Yes. in the config file is wrote:<br><br><strong class="text-strong">source scripts/script.tcl</strong> - it means that this tcl file will be in use. And binds, procs and other [censored] will be active, cause you use not one tcl script, and eggdrop sees them all, so be smart <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br>and it is no need to write <strong class="text-strong">global ...</strong>, cause global command takes only variables and arrays to proc.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1641">laidas</a> — Fri May 02, 2003 12:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-05-02T12:13:17-04:00</updated>

		<published>2003-05-02T12:13:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19738#p19738</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19738#p19738"/>
		<title type="html"><![CDATA[global procs (different files)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19738#p19738"><![CDATA[
Yes.<br><br>The source command simply loads a file, into the global memory namespace.<br><br>If your example, you use the global command in the proc. There is no need to do this. The global command is to import variable names, that exist globaly, so they may be used localy (which they are not).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri May 02, 2003 12:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[eiSi]]></name></author>
		<updated>2003-05-02T12:07:44-04:00</updated>

		<published>2003-05-02T12:07:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19737#p19737</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19737#p19737"/>
		<title type="html"><![CDATA[global procs (different files)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19737#p19737"><![CDATA[
hi there!<br><br>Is it possible to use procs from an other tcl file?<br><br>For Example:<br><br>file1:<br>proc blub {blub blubb} { putmsg $chan "blub" }<br><br>file2:<br>proc asd {asd asdd} {<br>global blub<br>blub a b<br>}<br><br>or something like this?<br>I think you got the point. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Thanks for any help!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=939">eiSi</a> — Fri May 02, 2003 12:07 pm</p><hr />
]]></content>
	</entry>
	</feed>
