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

	<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-17T16:06:30-04:00</updated>

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

		<entry>
		<author><name><![CDATA[DayCuts]]></name></author>
		<updated>2004-07-17T16:06:30-04:00</updated>

		<published>2004-07-17T16:06:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38724#p38724</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38724#p38724"/>
		<title type="html"><![CDATA[bind triggered after restart or on bot startup?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38724#p38724"><![CDATA[
thank you spock<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5073">DayCuts</a> — Sat Jul 17, 2004 4:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spock]]></name></author>
		<updated>2004-07-17T13:53:59-04:00</updated>

		<published>2004-07-17T13:53:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38721#p38721</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38721#p38721"/>
		<title type="html"><![CDATA[bind triggered after restart or on bot startup?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38721#p38721"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind evnt - loaded evnt:loadedproc evnt:loaded t {  putlog "$::lastbind triggered"# do stuff}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2369">spock</a> — Sat Jul 17, 2004 1:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-07-17T12:13:07-04:00</updated>

		<published>2004-07-17T12:13:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38716#p38716</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38716#p38716"/>
		<title type="html"><![CDATA[bind triggered after restart or on bot startup?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38716#p38716"><![CDATA[
You could always use bind filt to execute a command only on .restart<div class="codebox"><p>Code: </p><pre><code>bind filt - ".restart" custom:restartproc custom:restart {idx arg} {   # Your code goes here  return $arg}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Sat Jul 17, 2004 12:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DayCuts]]></name></author>
		<updated>2004-07-17T09:42:41-04:00</updated>

		<published>2004-07-17T09:42:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38714#p38714</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38714#p38714"/>
		<title type="html"><![CDATA[bind triggered after restart or on bot startup?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38714#p38714"><![CDATA[
what would i use to set a script/proc to run when a bot is started up or .restart 'ed, i know there is a EVNT prerestart, but i wish to have a proc triggered once the restart has finished, my first thought was evnt rehash, but this would trigger on rehashes but i want it to trigger only on restarts.  Also i want this proc to be triggered after an initial startup<br><br>proc will be used for loading a tcl list from a backup db when the bots starts and when the bot is restarted (since lists are cleared on .restart's)<br><br>tia to anybody who can point me in the right direction : )<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5073">DayCuts</a> — Sat Jul 17, 2004 9:42 am</p><hr />
]]></content>
	</entry>
	</feed>
