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

	<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>2011-05-16T12:53:43-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Trixar_za]]></name></author>
		<updated>2011-05-16T12:53:43-04:00</updated>

		<published>2011-05-16T12:53:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96876#p96876</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96876#p96876"/>
		<title type="html"><![CDATA[Help with event after connect to server]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96876#p96876"><![CDATA[
@nml375 : Actually, I was thinking of a totally different different language because I was playing with a couple of non-standard ones yesterday.<br><br>That's the only thing I could see that might be wrong. The only possible explanation then is that botnick hasn't been set yet, which is probably caused by the NICK event. I don't really see the point of doing this at connect. Why change the bot's nick to itself on connect? Why not just remove the NICK $nick part all together?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10958">Trixar_za</a> — Mon May 16, 2011 12:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darkwood]]></name></author>
		<updated>2011-05-15T15:26:32-04:00</updated>

		<published>2011-05-15T15:26:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96871#p96871</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96871#p96871"/>
		<title type="html"><![CDATA[Help with event after connect to server]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96871#p96871"><![CDATA[
@Trixar_za : Not solved the problem<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11668">darkwood</a> — Sun May 15, 2011 3:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2011-05-15T15:23:43-04:00</updated>

		<published>2011-05-15T15:23:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96870#p96870</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96870#p96870"/>
		<title type="html"><![CDATA[Help with event after connect to server]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96870#p96870"><![CDATA[
@darkwood:<br>The latter probably does not work since you've just issued a NICK-command, and the "botnick" variable hasn't been updated yet. Keep in mind that eggdrop isn't multi-threaded, and the "botnick" variable is updated by another binding (catching the response-code of the NICK-command).<br><br>@Trixar_za:<br>Providing multiple variable names to a single global command is just as valid as calling the global command multiple times. Maybe you were thinking of the "variable" command?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sun May 15, 2011 3:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Trixar_za]]></name></author>
		<updated>2011-05-15T15:08:20-04:00</updated>

		<published>2011-05-15T15:08:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96869#p96869</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96869#p96869"/>
		<title type="html"><![CDATA[Help with event after connect to server]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96869#p96869"><![CDATA[
<strong class="text-strong">Change:</strong><div class="codebox"><p>Code: </p><pre><code>global nick botnick</code></pre></div><strong class="text-strong">To:</strong><div class="codebox"><p>Code: </p><pre><code>global nickglobal botnick</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10958">Trixar_za</a> — Sun May 15, 2011 3:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darkwood]]></name></author>
		<updated>2011-05-15T14:58:50-04:00</updated>

		<published>2011-05-15T14:58:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96868#p96868</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96868#p96868"/>
		<title type="html"><![CDATA[Help with event after connect to server]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96868#p96868"><![CDATA[
<strong class="text-strong">This is working:</strong><br><div class="codebox"><p>Code: </p><pre><code># This is a Tcl script to be run immediately after connecting to a server.bind evnt - init-server evnt:init_serverbind raw - "432" evnt:nick_invalidproc evnt:init_server {type} {  global nick  putserv "OPER nick operpass"  putserv "NICK $nick"  putserv "NS ID nickpass"  putserv "MODE $nick +BiHqx-sw"}proc evnt:nick_invalid {from keyword text} {  global altnick  putserv "NICK $altnick"}</code></pre></div><strong class="text-strong">This isnt working:</strong><br><div class="codebox"><p>Code: </p><pre><code># This is a Tcl script to be run immediately after connecting to a server.bind evnt - init-server evnt:init_serverbind raw - "432" evnt:nick_invalidproc evnt:init_server {type} {  global nick botnick  putserv "OPER nick operpass"  putserv "NICK $nick"  putserv "NS ID nickpass"  putserv "MODE $botnick +BiHqx-sw" # this doesnt works}proc evnt:nick_invalid {from keyword text} {  global altnick  putserv "NICK $altnick"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11668">darkwood</a> — Sun May 15, 2011 2:58 pm</p><hr />
]]></content>
	</entry>
	</feed>
