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

	<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-13T00:51:22-04:00</updated>

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

		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-07-13T00:51:22-04:00</updated>

		<published>2004-07-13T00:51:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38525#p38525</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38525#p38525"/>
		<title type="html"><![CDATA[ONJOIN]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38525#p38525"><![CDATA[
Seems as if you are not clear yourself, what you are trying to say, or you want todo.<br><br>- <strong class="text-strong">ON JOIN</strong> will trigger when someone or the bot joins a channel.<br>- <strong class="text-strong">ON CONNECT</strong> will trigger when a connection to the server is established.<br><br>If you want to use the mIRC trigger of 'ON JOIN' in TCL it will be binded to 'join' like:<br><div class="codebox"><p>Code: </p><pre><code>bind join - * your_procedure_name</code></pre></div><blockquote class="uncited"><div>JOIN (stackable)<br><br>bind join &lt;flags&gt; &lt;mask&gt; &lt;proc&gt;<br>procname &lt;nick&gt; &lt;user@host&gt; &lt;handle&gt; &lt;channel&gt;<br><br>Description: triggered by someone joining the channel. The mask in the bind is matched against "#channel nick!user@host" and can contain wildcards.</div></blockquote><br>If you want to use the mIRC trigger of 'ON CONNECT' in TCL it will be binded to the EVENT 'initialize server' (init-server) like:<br><div class="codebox"><p>Code: </p><pre><code>bind evnt - init-server your_procedure_name</code></pre></div><blockquote class="uncited"><div>EVNT (stackable)<br><br>bind evnt &lt;flags&gt; &lt;type&gt; &lt;proc&gt;<br>proc-name &lt;type&gt;<br><br>Description: Description: triggered whenever one of these events happen; flags are ignored; valid events are:<br><br>sighup         called on a kill -HUP &lt;pid&gt; <br>sigterm       called on a kill -TERM &lt;pid&gt;<br>sigill            called on a kill -ILL &lt;pid&gt;<br>sigquit         called on a kill -QUIT &lt;pid&gt; <br>save           called when the userfile is saved<br>rehash        called just after a rehash<br>prerehash   called just before a rehash<br>prerestart   called just before a restart<br><br>logfile         called when the logs are switched daily <br>loaded        called when the bot is done loading <br>* userfile-loaded        called after userfile has been loaded<br> <br>connect-server        called just before we connect to an IRC server<br>init-server               called when we actually get on our IRC server <br>disconnect-server    called when we disconnect from our IRC server</div></blockquote>There are many binds availiable for eggdrops, as mIRC has.<br>For a full list of the binds availiable in eggdrops you can see the tcl-commands.doc (in the eggdrop source package) for <strong class="text-strong">BIND TYPES</strong>, or alternatively try this link:<br><br><a href="http://tcl.b0rk.de/b0rked/eggdrop1.6.16/html/tcl-commands/bind.html" class="postlink">http://tcl.b0rk.de/b0rked/eggdrop1.6.16 ... /bind.html</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Tue Jul 13, 2004 12:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-07-13T00:29:27-04:00</updated>

		<published>2004-07-13T00:29:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38522#p38522</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38522#p38522"/>
		<title type="html"><![CDATA[ONJOIN]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38522#p38522"><![CDATA[
Is there a TCL equivalent to the mIRC "ONJOIN" command that will pass information to the server as soon as a connection is established?<p>Statistics: Posted by Guest — Tue Jul 13, 2004 12:29 am</p><hr />
]]></content>
	</entry>
	</feed>
