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

	<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>2007-05-22T04:12:06-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-05-22T04:12:06-04:00</updated>

		<published>2007-05-22T04:12:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72906#p72906</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72906#p72906"/>
		<title type="html"><![CDATA[!help once every 5 mins]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72906#p72906"><![CDATA[
You can add<div class="codebox"><p>Code: </p><pre><code>if {[matchattr $hand n|n $chan]} {return 0}</code></pre></div>in the help:user proc. This way it'll exempt owners.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue May 22, 2007 4:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-05-21T11:22:02-04:00</updated>

		<published>2007-05-21T11:22:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72886#p72886</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72886#p72886"/>
		<title type="html"><![CDATA[!help once every 5 mins]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72886#p72886"><![CDATA[
tersayang: Please edit your post and enclose the code in <div class="codebox"><p>Code: </p><pre><code> tags.</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Mon May 21, 2007 11:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tersayang]]></name></author>
		<updated>2007-05-21T01:07:55-04:00</updated>

		<published>2007-05-21T01:07:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72879#p72879</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72879#p72879"/>
		<title type="html"><![CDATA[!help timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72879#p72879"><![CDATA[
Sir_Fz  wrote<br><br>bind pub - !help help:user<br><br>proc help:user {nick uhost hand chan arg} {<br> if {![isvoice $nick $chan]} {return 0}<br> if {![throttled $uhost:$chan 300]} {<br>  # You can help $nick now<br>  pushmode $chan -v $nick<br> } {<br>  puthelp "notice $nick :you can only use help command every 5 minutes"<br> }<br>}<br><br># user's throttled proc<br>proc throttled {id time} {<br> global throttled<br> if {[info exists throttled($id)]} {<br>  return 1<br> } {<br>  set throttled($id) [clock sec]<br>  utimer $time [list unset throttled($id)]<br>  return 0<br> }<br>}<br><br><br>thanks Sir, it's work for all user, one thing how to give an exception to bot owner. let say the bot owner nick is "tersayang" <br><br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8922">tersayang</a> — Mon May 21, 2007 1:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-05-13T07:55:30-04:00</updated>

		<published>2007-05-13T07:55:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72732#p72732</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72732#p72732"/>
		<title type="html"><![CDATA[!help once every 5 mins]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72732#p72732"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub - !help help:userproc help:user {nick uhost hand chan arg} { if {![isvoice $nick $chan]} {return 0} if {![throttled $uhost:$chan 300]} {  # You can help $nick now  pushmode $chan -v $nick } {  puthelp "notice $nick :you can only use help command every 5 minutes" }}# user's throttled procproc 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><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun May 13, 2007 7:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tersayang]]></name></author>
		<updated>2007-05-13T03:59:51-04:00</updated>

		<published>2007-05-13T03:59:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72724#p72724</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72724#p72724"/>
		<title type="html"><![CDATA[!help once every 5 mins]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72724#p72724"><![CDATA[
Hi there,<br><br>I have help bot, so when user type !help bnc the bot will respon and display the help contents. !help command only for user who have +v<br><br>Is it any other option some how,  after the bot displayed help contents the bot will devoice the user and if the user type !help command again before 5 minutes the bot will message the nick " you can only use help command every 5 minutes" and the bot ignore that nick for 5 minutes.<br><br>thanks<br><br><span style="color:red">Edit: Split this reply from Tcl Faq to this topic due to irrelevance. (Sir_Fz)</span><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8922">tersayang</a> — Sun May 13, 2007 3:59 am</p><hr />
]]></content>
	</entry>
	</feed>
