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

	<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-11-07T17:52:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[guppy]]></name></author>
		<updated>2001-11-07T17:52:00-04:00</updated>

		<published>2001-11-07T17:52:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=1454#p1454</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=1454#p1454"/>
		<title type="html"><![CDATA[calling a procedure when bot begins]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=1454#p1454"><![CDATA[
why not use bind join?<br><br>bind join - * blah<br><br>proc blah {nick uhost hand chan} {<br>  if {[isbotnick $nick]} {<br>    putlog "I just joined $chan"<br>  }<br>}<br><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10">guppy</a> — Wed Nov 07, 2001 5:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2001-11-06T12:30:00-04:00</updated>

		<published>2001-11-06T12:30:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=1398#p1398</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=1398#p1398"/>
		<title type="html"><![CDATA[calling a procedure when bot begins]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=1398#p1398"><![CDATA[
As such, this is not 100% possible.<br><br>It is possible to run a script as such as the bot is sterted, as soon as it connects to a server and on many other events. But running a script when the bot joins the channel, is not currently a supported event in eggdrop (allthough, it should).<br><br>If the script where to be run during any of other events mentioned above, then output to the server may either be lost, return a error, or cause eggdrop to barf.<br><br>What I am about to say, come from one of my most hated areas of eggdrop, so some1 else will need to get there fingers out.<br><br>It is possible to get around this problem with a raw bind. Using a raw bind, to detact the return replies of commands sent to the server, just after eggdrop joined a channel, should allow you to detect the point where you want to run your script.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Tue Nov 06, 2001 12:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-11-06T11:08:00-04:00</updated>

		<published>2001-11-06T11:08:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=1396#p1396</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=1396#p1396"/>
		<title type="html"><![CDATA[calling a procedure when bot begins]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=1396#p1396"><![CDATA[
I'm creating a trivia bot and I have sorted out all the commands like !start to start the game once the bot is in the channel.. but how do I make it start as soon as it enters the channel as i turn on the eggdrop??<br><br>When it enters it should run the procedure (triviastart) exactly as !start entered in the channel does.<p>Statistics: Posted by Guest — Tue Nov 06, 2001 11:08 am</p><hr />
]]></content>
	</entry>
	</feed>
