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

	<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>2013-08-01T05:35:51-04:00</updated>

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

		<entry>
		<author><name><![CDATA[gembels]]></name></author>
		<updated>2013-08-01T05:35:51-04:00</updated>

		<published>2013-08-01T05:35:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101939#p101939</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101939#p101939"/>
		<title type="html"><![CDATA[Ignore nick when ..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101939#p101939"><![CDATA[
even without any puthelp or anything, same problem occur..<br><div class="codebox"><p>Code: </p><pre><code>proc tggamemsgd2 {tgchan what} {        putserv "PRIVMSG $tgchan :$what"}proc tggamemsgd3 {nick what} {        putserv "PRIVMSG $nick :$what"}</code></pre></div>actually in the real code I didn't put any puthelp or putserv <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> just for triggering something .. anyway I try you code, same problem occur...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12028">gembels</a> — Thu Aug 01, 2013 5:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2013-08-01T02:43:29-04:00</updated>

		<published>2013-08-01T02:43:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101938#p101938</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101938#p101938"/>
		<title type="html"><![CDATA[Ignore nick when ..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101938#p101938"><![CDATA[
The snippet is indeed from one of user's posts, and from what I can see it's correct. The only thing that pop-out is the fact that to send that message you use two different messaging processes (tggamemsgd2 and tggamemsgd3) and have two different destinations: first is sent to nick and the second is sent to the channel.<br><br>Why don't you replace them with a simple puthelp like:<div class="codebox"><p>Code: </p><pre><code>if {[throttled $nick 30]} {      puthelp "PRIVMSG $chan :$nick, please try again in 30 seconds"   } else {      puthelp "PRIVMSG $chan :$text: test success"}</code></pre></div>and see what happens.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Aug 01, 2013 2:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gembels]]></name></author>
		<updated>2013-08-01T00:07:08-04:00</updated>

		<published>2013-08-01T00:07:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101937#p101937</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101937#p101937"/>
		<title type="html"><![CDATA[Re: Ignore nick when ..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101937#p101937"><![CDATA[
you are right, its from there .. there is no solution ? they don't have this problem<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12028">gembels</a> — Thu Aug 01, 2013 12:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2013-07-31T20:28:27-04:00</updated>

		<published>2013-07-31T20:28:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101935#p101935</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101935#p101935"/>
		<title type="html"><![CDATA[Re: Ignore nick when ..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101935#p101935"><![CDATA[
It probably came from user.<br><a href="http://forum.egghelp.org/viewtopic.php?p=75097#75097" class="postlink">http://forum.egghelp.org/viewtopic.php?p=75097#75097</a><br><a href="http://forum.egghelp.org/viewtopic.php?p=45537#45537" class="postlink">http://forum.egghelp.org/viewtopic.php?p=45537#45537</a><br><br>Example use:<br><a href="http://forum.egghelp.org/viewtopic.php?p=95961#95961" class="postlink">http://forum.egghelp.org/viewtopic.php?p=95961#95961</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Wed Jul 31, 2013 8:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gembels]]></name></author>
		<updated>2013-07-31T20:07:39-04:00</updated>

		<published>2013-07-31T20:07:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101933#p101933</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101933#p101933"/>
		<title type="html"><![CDATA[Ignore nick when ..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101933#p101933"><![CDATA[
Hi,<br><br>I am using this snippet<br><div class="codebox"><p>Code: </p><pre><code>proc throttled {id time} {   global throttled   if {[info exists throttled($id)]} {      return 1   } {      set throttled($id) [clock sec]      utimer $time [list unset throttled($id)]      return 0   }}</code></pre></div>Example<br><div class="codebox"><p>Code: </p><pre><code>if {[throttled $nick 30]} {      tggamemsgd3 $nick "$nick, please try again in 30 seconds"   } else {      tggamemsgd2 $chan "$text: test success"}</code></pre></div>I forgot where the source come from, anyway, there is any way to optimize this code, because this what happen:<br><br>[09:55] &lt;Grievers&gt; 111<br>[09:55] &lt;Grievers&gt; 222<br>[09:55] &lt;%bots&gt;   222: test success<br><br>the first text, always be ignored by bot, only the second one bot will be start counting. I have no idea why that happen. After "222" it start counting 30s , but why not on "111" ? why the bot didn't reply on 111 ?<br><br>If new nick type something, the first text also have problem.<br><br>or there is anyway to stop ppl doing flood !rank on game ? without kick or banned them.<br><br>Thanks in advance<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12028">gembels</a> — Wed Jul 31, 2013 8:07 pm</p><hr />
]]></content>
	</entry>
	</feed>
