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

	<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-03-24T15:00:29-04:00</updated>

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

		<entry>
		<author><name><![CDATA[spock]]></name></author>
		<updated>2003-03-24T15:00:29-04:00</updated>

		<published>2003-03-24T15:00:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18197#p18197</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18197#p18197"/>
		<title type="html"><![CDATA[Little question... very little about tcl...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18197#p18197"><![CDATA[
the procname in this case is "pub:something"<br><br>it could just as well have been "something"<br><br>putting &lt;bindtype&gt;:proc is just a naming convention which makes it easier (for some people (such as myself:)) to see what it does, what bind it belongs to, get rid of conflicts if you tend to name dcc&amp;msg procs the same etc...<br><br>its especially useful when you are working with larger scripts.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2369">spock</a> — Mon Mar 24, 2003 3:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tainted]]></name></author>
		<updated>2003-03-24T10:33:06-04:00</updated>

		<published>2003-03-24T10:33:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18182#p18182</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18182#p18182"/>
		<title type="html"><![CDATA[Little question... very little about tcl...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18182#p18182"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub - something pub:something</code></pre></div>The first 'pub' is the type of a bind.. It means all public messages in channels. (see tcl-commands.doc also if you havent yet). The second 'pub' is just a label for the proc. When that bind is triggered by a message, it then will look for the proc "pub:something: and execute it. I personally don't use very descriptive proc names, to go as far as to designated it a "pub" proc. To sum it up, the second one is just there for looks, but if you change it make sure the name of your proc matches.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1256">tainted</a> — Mon Mar 24, 2003 10:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-03-24T10:24:58-04:00</updated>

		<published>2003-03-24T10:24:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18181#p18181</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18181#p18181"/>
		<title type="html"><![CDATA[Little question... very little about tcl...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18181#p18181"><![CDATA[
I tried to script something, like when somebody say !kiss, then the eggdrop bot would say a specific line...<br><br>I saw some posts about it in this forum and my question is...<br><br>set something "you cant take my virginity" <br><br>bind pub - something pub:something <br>proc pub:something {nick host handle chan bla} { <br>  global something <br>  putmsg $chan $something <br>} <br><br>what's pub ?<br>why does the procedure starts with pub ? I know about the other part of it, in this case its the ':something', but why does it start with pub ? is it nessesery ?<p>Statistics: Posted by Guest — Mon Mar 24, 2003 10:24 am</p><hr />
]]></content>
	</entry>
	</feed>
