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

	<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>2001-12-01T05:03:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-12-01T05:03:00-04:00</updated>

		<published>2001-12-01T05:03:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2280#p2280</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2280#p2280"/>
		<title type="html"><![CDATA[Need codes :)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2280#p2280"><![CDATA[
Ok, alright. Got it.<br>I changed the code to<br><blockquote class="uncited"><div>set away [lindex $areas [rand [llength $areas]]]<br>set aaway ${away}<br>putserv "AWAY :$aaway"<br>}</div></blockquote>It works perfectly now <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"> Thanks for all the help guys <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><p>Statistics: Posted by Guest — Sat Dec 01, 2001 5:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-12-01T04:50:00-04:00</updated>

		<published>2001-12-01T04:50:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2279#p2279</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2279#p2279"/>
		<title type="html"><![CDATA[Need codes :)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2279#p2279"><![CDATA[
Ok, i've changed it to init-server.<br>It's working fine, except, it has one problem now.<br><blockquote class="uncited"><div>set areas {<br> {1 away reason here}<br>}</div></blockquote>It is only able to display the reason 1. Not the rest of the line. Any ideas?<p>Statistics: Posted by Guest — Sat Dec 01, 2001 4:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Petersen]]></name></author>
		<updated>2001-11-30T17:39:00-04:00</updated>

		<published>2001-11-30T17:39:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2252#p2252</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2252#p2252"/>
		<title type="html"><![CDATA[Need codes :)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2252#p2252"><![CDATA[
personally I prefer binding these kinds of events to raw 001, though when you do that you gotta be 101% sure it ain't gonna return 1 and stop the bot noticing its connected.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=60">Petersen</a> — Fri Nov 30, 2001 5:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2001-11-30T15:58:00-04:00</updated>

		<published>2001-11-30T15:58:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2250#p2250</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2250#p2250"/>
		<title type="html"><![CDATA[Need codes :)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2250#p2250"><![CDATA[
EEK - yup<br><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Nov 30, 2001 3:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Wcc]]></name></author>
		<updated>2001-11-30T15:46:00-04:00</updated>

		<published>2001-11-30T15:46:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2249#p2249</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2249#p2249"/>
		<title type="html"><![CDATA[Need codes :)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2249#p2249"><![CDATA[
connect-server is triggered when eggdrop starts connecting to the server. Using init-server would better suit what you are trying to do, as it triggers once connected.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=270">Wcc</a> — Fri Nov 30, 2001 3:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2001-11-30T13:11:00-04:00</updated>

		<published>2001-11-30T13:11:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2238#p2238</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2238#p2238"/>
		<title type="html"><![CDATA[Need codes :)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2238#p2238"><![CDATA[
OK - part 1.<br><br>change<blockquote class="uncited"><div>putserv "AWAY [lindex $areas [rand [llength $reas]]]"</div></blockquote>to<blockquote class="uncited"><div>putserv "AWAY [lindex $areas [rand [llength $areas]]]"</div></blockquote>You will see 2 lines the same in the script, change both.<br><br>As for the connect-server script not working, add a putlog line in the script, see it that proves the script is being called.<br><br>Some IRC server set you as returned upon the first receiveing the first non-automated command fromt he client. A auto-mated command is classed as somthing that should be returned automaticaly byt he client, like a ping. This maybe causing the problems.<br><br>If the putlog line is displayed, then yes, this is the problem.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Nov 30, 2001 1:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-11-30T05:43:00-04:00</updated>

		<published>2001-11-30T05:43:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2234#p2234</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2234#p2234"/>
		<title type="html"><![CDATA[Need codes :)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2234#p2234"><![CDATA[
err ppslim,<br><br>the code doesn't seems to work. The bot doesn't set itself away on-connect. There's no tcl error though ..<p>Statistics: Posted by Guest — Fri Nov 30, 2001 5:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-11-29T06:39:00-04:00</updated>

		<published>2001-11-29T06:39:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2206#p2206</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2206#p2206"/>
		<title type="html"><![CDATA[Need codes :)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2206#p2206"><![CDATA[
<br><br>&lt;font size=-1&gt;[ This Message was edited by: galaxyboy on 2001-11-30 02:43 ]&lt;/font&gt;<p>Statistics: Posted by Guest — Thu Nov 29, 2001 6:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2001-11-28T11:57:00-04:00</updated>

		<published>2001-11-28T11:57:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2177#p2177</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2177#p2177"/>
		<title type="html"><![CDATA[Need codes :)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2177#p2177"><![CDATA[
It is easy to make it set itself away on connection to the server.<br><br>It's not easy to set itself away on netsplits though. Not all servers provide a detectable netsplit message. It will be allmost imposible to detect them if no1 getting lost in the split is in the room.<br><br>Here is the code to the current detectable way<br><div class="codebox"><p>Code: </p><pre><code>set areas {{1 away reason}{another away reason}{think of some more}}bind evnt - "connect-server" away:connectproc away:connect {t} {  global areas  putserv "AWAY [lindex $areas [rand [llength $reas]]]"}bind splt - "*" away:splitproc away:split {nick uh hand chan} {  global areas  putserv "AWAY [lindex $areas [rand [llength $reas]]]"}</code></pre></div>This only marks the bot as away. There was nothing noted as to when it should be marked as returned.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Wed Nov 28, 2001 11:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-11-24T05:39:00-04:00</updated>

		<published>2001-11-24T05:39:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=1953#p1953</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=1953#p1953"/>
		<title type="html"><![CDATA[Need codes :)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=1953#p1953"><![CDATA[
Hi,<br><br>Is there anyway to code this script such that it will set bot to be autoaway with preset reasons upon connected to the IRC Server? Next, is there anyway to make it set autoaway if there's a netspilt?<br><br>If it's possible, how can it be done? Can someone kindly do some coding on it?<br><br>Thanks <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><p>Statistics: Posted by Guest — Sat Nov 24, 2001 5:39 am</p><hr />
]]></content>
	</entry>
	</feed>
