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

	<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>2014-07-25T12:16:39-04:00</updated>

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

		<entry>
		<author><name><![CDATA[daigo]]></name></author>
		<updated>2014-07-25T12:16:39-04:00</updated>

		<published>2014-07-25T12:16:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103044#p103044</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103044#p103044"/>
		<title type="html"><![CDATA[Respond only when user talks after a time of silence]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103044#p103044"><![CDATA[
Specific multiple users.<br><br>Also, eggdrop cannot detect joins, parts, or quits on this IRC network for some reason (it works fine on other IRC networks, just not this particular one) so I don't need to put anything in the script that will watch for those. This IRC network cannot server split due to the way the network is modified (not RFC-compliant) so that's not an issue either. Channel kicks are disabled on this network, so also not a problem.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12410">daigo</a> — Fri Jul 25, 2014 12:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2014-07-25T11:49:04-04:00</updated>

		<published>2014-07-25T11:49:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103042#p103042</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103042#p103042"/>
		<title type="html"><![CDATA[Respond only when user talks after a time of silence]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103042#p103042"><![CDATA[
You want to monitor a single specific user or multiple users?<br><br>Depending of the case things could be easy or be complicated, but nevertheless, it's do-able.<br><br>Either way you need to monitor the following aspects of user and bot actions: joins, parts, quits, is kicked, or servers splits.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Jul 25, 2014 11:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[daigo]]></name></author>
		<updated>2014-07-25T09:30:01-04:00</updated>

		<published>2014-07-25T09:30:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103039#p103039</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103039#p103039"/>
		<title type="html"><![CDATA[Respond only when user talks after a time of silence]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103039#p103039"><![CDATA[
So I want to make my bot says one line of text in response to a user talking in a channel after the user doesn't say anything for at least 30 minutes.<br><br>I thought of doing something like, if string match "" (nothing) for a user in the $chan, then wait 1 second, then repeat if string match "" (nothing), wait 1 second, repeat, etc. for 30 minutes, and then after 30 minutes passes, if the code is still running, continue to run the code until the until the user says something, then PRIVMSG $chan with the line I want, and reset the code.<br><br>However this seems wildly inefficient, especially if the user changes their nickname or never goes online again, then the code will pretty much run forever.<br><br>Is there a better way to go about this?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12410">daigo</a> — Fri Jul 25, 2014 9:30 am</p><hr />
]]></content>
	</entry>
	</feed>
