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

	<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>2009-05-08T07:54:07-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Fill]]></name></author>
		<updated>2009-05-08T07:54:07-04:00</updated>

		<published>2009-05-08T07:54:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=88696#p88696</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=88696#p88696"/>
		<title type="html"><![CDATA[To ignore command for a time specifies]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=88696#p88696"><![CDATA[
hehe, sou de Portugal tambem! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10430">Fill</a> — Fri May 08, 2009 7:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[hmetall]]></name></author>
		<updated>2009-05-08T07:26:49-04:00</updated>

		<published>2009-05-08T07:26:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=88694#p88694</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=88694#p88694"/>
		<title type="html"><![CDATA[To ignore command for a time specifies]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=88694#p88694"><![CDATA[
Bom Dia  garfwen<br><br>Maravilha em Este Forum aqui nao tem explicacao 100% <br>Galera aqui se ajuda mesmo.<br><br>Bom Deu Tudo Certo ai garfwen  <br><br>Muito Obrigado Pela Ajuda e pela rapides !<br><br>Flw.<br><br><br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10642">hmetall</a> — Fri May 08, 2009 7:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[garfwen]]></name></author>
		<updated>2009-05-07T17:22:19-04:00</updated>

		<published>2009-05-07T17:22:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=88692#p88692</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=88692#p88692"/>
		<title type="html"><![CDATA[To ignore command for a time specifies]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=88692#p88692"><![CDATA[
Boas<br><br>Sou Portugues, Portugal!<br><br><br>Bem existe uma maneira relativamente facil:<br><div class="codebox"><p>Code: </p><pre><code>bind pub - .am pub_ambind pub - .save pub_save# Apos o utilizador fazer um comando o bot vai deixar de responder passado X segundos# Metes portanto aqui o tempo, em segundos, que o bot esteja caladoset repeattime 120set time 0set canal1 "#UOplus"set canal2 #EBclan" proc pub_am {nick host handle channel arg} {global time repeattimeif {[expr [unixtime] - $time] &gt;= $repeattime } {  putserv "PRIVMSG #EBclan :.am"set time [unixtime]}}proc pub_save {nick host handle channel arg} {global time repeattimeif {[expr [unixtime] - $time] &gt;= $repeattime } {  putserv "PRIVMSG #EBclan :.save"set time [unixtime]}}putlog "TCL Captura \2AM - SAVE \2 Carregada..." </code></pre></div><strong class="text-strong">[ Não foi testado - Untested ]</strong><br><br>Neste script o bot "guarda" a ultima vez que foi executado o comando e faz uma conta para ver se a diferença de tempo entre a ultima vez e o tempo real é maior ou igual que o tempo minimo para que volte a responder.<br><br><br>Espero que tenhas percebido...<br>Cumps GaRfWeN<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9777">garfwen</a> — Thu May 07, 2009 5:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[hmetall]]></name></author>
		<updated>2009-05-07T12:44:56-04:00</updated>

		<published>2009-05-07T12:44:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=88689#p88689</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=88689#p88689"/>
		<title type="html"><![CDATA[To ignore command for a time specifies]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=88689#p88689"><![CDATA[
Good afternoon to All.  <br>  <br>Firstly he/she wanted to say that am <strong class="text-strong">Brazilian</strong> I am writing through   <br>translators;)  <br>  <br>Good My problem is the following I am new in TCL   <br>I am wanting to do the following function for TCL  <br>  <br>That she catches a word it specifies of another channel I specify and write in another channel  <br>Tie oh it is simple the problem that if the person repeats the same word I wanted   <br>that the script didn't repeat her for a certain time the same command or it ignores himself for certain  <br>time!   <br>  <br>  <br>I will pass my first script.<br><div class="codebox"><p>Code: </p><pre><code>set canal1 "#UOplus"set canal2 #EBclan"bind pubm - *.am* pub_ambind pubm - *.save* pub_saveproc pub_am {nick host handle channel arg} {  putserv "PRIVMSG #EBclan :.am"  return 1}proc pub_save {nick host handle channel arg} {  putserv "PRIVMSG #EBclan :.save"  return 1}putlog "TCL Captura \2AM - SAVE \2 Carregada..."</code></pre></div>Could anybody help me to do that as I should do?<br><br>They will understand it is simple to catch a command of a channel and it orders for other and the principal not to let to repeat the same command for a certain time.<br><br>Muito Obrigado.<br>Thank you.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10642">hmetall</a> — Thu May 07, 2009 12:44 pm</p><hr />
]]></content>
	</entry>
	</feed>
