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

	<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>2005-07-16T06:37:42-04:00</updated>

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

		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2005-07-16T06:37:42-04:00</updated>

		<published>2005-07-16T06:37:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52574#p52574</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52574#p52574"/>
		<title type="html"><![CDATA[Auto-Reply private messages]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52574#p52574"><![CDATA[
You can also place it in your .conf file, in a new line at the end of the file. To your surprise it will work there as well.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br><br>Not sure why it doesn't respond, the code looks fine to me. Try replacing "puthelp" with "putquick" if not then, then try removing the utimer and testing it without a utimer.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Sat Jul 16, 2005 6:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sloop]]></name></author>
		<updated>2005-07-14T12:37:22-04:00</updated>

		<published>2005-07-14T12:37:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52468#p52468</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52468#p52468"/>
		<title type="html"><![CDATA[Auto-Reply private messages]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52468#p52468"><![CDATA[
EDITED: NOW IT WORKS!!! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> MY FAULT, I MESSED SOMETHING UP! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"> TNX AGAIN TO YOU!!!!<br><br>No, I DID that. I also attached to your code on the bottom:<br><br>putlog "Autoreply to private messages - script loaded"<br><br>And when starting eggdrop I get this message as well, that means the script was loaded. But when I send a /msg to my bot I do not get the reply.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6470">Sloop</a> — Thu Jul 14, 2005 12:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-07-14T12:26:24-04:00</updated>

		<published>2005-07-14T12:26:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52467#p52467</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52467#p52467"/>
		<title type="html"><![CDATA[Auto-Reply private messages]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52467#p52467"><![CDATA[
you probably missed to <strong class="text-strong">source scripts/autoreplymsg.tcl</strong> in your config<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Thu Jul 14, 2005 12:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sloop]]></name></author>
		<updated>2005-07-14T11:14:28-04:00</updated>

		<published>2005-07-14T11:14:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52464#p52464</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52464#p52464"/>
		<title type="html"><![CDATA[Auto-Reply private messages]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52464#p52464"><![CDATA[
Thanks for the code, but how do I implent that in my eggdrop bot?<br><br>I created a new file "autoreplymsg.tcl" in my scripts/ directory and entered your code and altered it with my desired messages.<br><br>I logged in with telnet and did .rehash but it doesn't seem to work. When I /msg my bot I don't get a reply??<br><br>What am I doing wrong?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6470">Sloop</a> — Thu Jul 14, 2005 11:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-07-14T11:05:56-04:00</updated>

		<published>2005-07-14T11:05:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52461#p52461</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52461#p52461"/>
		<title type="html"><![CDATA[Auto-Reply private messages]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52461#p52461"><![CDATA[
If you mean "when someone sends the bot a message" then this should do it:<div class="codebox"><p>Code: </p><pre><code># delay time (seconds)set areply(time) 20# replies listset areply(list) { "foo" "bar"}bind msgm - * delayed:replyproc delayed:reply {nick uhost hand arg} { global areply utimer $areply(time) [list puthelp "PRIVMSG $nick :[lindex $areply(list) [rand [llength $areply(list)]]]"]}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Jul 14, 2005 11:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sloop]]></name></author>
		<updated>2005-07-14T08:45:24-04:00</updated>

		<published>2005-07-14T08:45:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52452#p52452</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52452#p52452"/>
		<title type="html"><![CDATA[Auto-Reply private messages]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52452#p52452"><![CDATA[
Hi @ll,<br><br>I cannot find a script which does following:<br><br>When someone sends me a private message, I want my bot to reply after a certain period time (for example after 20 seconds) with pre-defined messages, which randomly will be choosed. I tried the botaway script, it works fine with all my pre-defined away-messages, but the bot does NOT reply to the user, if he gets a private message.<br><br>Can someone help?<br><br>Tnx in advance,<br>Sloop<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6470">Sloop</a> — Thu Jul 14, 2005 8:45 am</p><hr />
]]></content>
	</entry>
	</feed>
