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

	<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-18T13:00:58-04:00</updated>

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

		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2005-07-18T13:00:58-04:00</updated>

		<published>2005-07-18T13:00:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52799#p52799</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52799#p52799"/>
		<title type="html"><![CDATA[Time Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52799#p52799"><![CDATA[
np<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Mon Jul 18, 2005 1:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sarahJ]]></name></author>
		<updated>2005-07-18T12:54:21-04:00</updated>

		<published>2005-07-18T12:54:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52798#p52798</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52798#p52798"/>
		<title type="html"><![CDATA[Time Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52798#p52798"><![CDATA[
greenbear your good  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"> <br><br>Thanks alot its working just the way i want it.<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=6493">sarahJ</a> — Mon Jul 18, 2005 12:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2005-07-18T12:46:09-04:00</updated>

		<published>2005-07-18T12:46:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52797#p52797</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52797#p52797"/>
		<title type="html"><![CDATA[Time Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52797#p52797"><![CDATA[
try this<div class="codebox"><p>Code: </p><pre><code># the chan you want this to work inset tm(chan) #chanbind pub - !time pub:ttimeproc pub:ttime {nick uhost hand chan text} { global tm if {![string eq -noc $tm(chan) $chan]||[info exists tm($uhost)]} {return} if {$text!=""} {set n [lindex [split $text] 0]} {set n $nick} if [onchan $n $chan] {  putserv "PRIVMSG $n :\001TIME\001"  set tm($uhost) 1  timer 5 [list unset tm($uhost)] } {  putserv "PRIVMSG $chan :Usage: !time &lt;nick&gt;" }}bind ctcr - TIME reply:ttimeproc reply:ttime {nick uhost hand dest keyword text} { putserv "PRIVMSG $::tm(chan) :time: [ctime [expr [clock seconds]+3600]], $nick's time: $text"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Mon Jul 18, 2005 12:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sarahJ]]></name></author>
		<updated>2005-07-18T12:30:42-04:00</updated>

		<published>2005-07-18T12:30:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52791#p52791</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52791#p52791"/>
		<title type="html"><![CDATA[Time Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52791#p52791"><![CDATA[
Thanks alot greenbear works perfectly  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> <br><br>Just one more question if you dont mind, is it possible to make it that you dont have to state the nick after the !time command so instead of:<br><br>!time sarah<br>&lt;botnick&gt; Time: Mon Jul 18 17:12:56 2005, sarah's Time: Mon Jul 18 17:12:56 2005 <br><br>make it just:<br><br>!time<br>so that it still ctcp times the person who does !time<br>&lt;botnick&gt; Time: Mon Jul 18 17:12:56 2005, sarah's time: Mon Jul 18 17:12:56 2005<br><br>and can it be done so that the bot display its time one hour ahead of its real time?<br><br>Thanks again for your help most appreciated  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>sarah<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6493">sarahJ</a> — Mon Jul 18, 2005 12:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2005-07-18T10:59:01-04:00</updated>

		<published>2005-07-18T10:59:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52782#p52782</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52782#p52782"/>
		<title type="html"><![CDATA[Time Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52782#p52782"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code># the chan you want this to work inset tm(chan) #chanbind pub - !time pub:ttimeproc pub:ttime {nick uhost hand chan text} { global tm if {![string eq -noc $tm(chan) $chan]||[info exists tm($uhost)]} {return} set n [lindex [split $text] 0] if [onchan $n $chan] {  putserv "PRIVMSG $n :\001TIME\001"  set tm($uhost) 1  timer 5 [list unset tm($uhost)] } {  putserv "PRIVMSG $chan :Usage: !time &lt;nick&gt;" }}bind ctcr - TIME reply:ttimeproc reply:ttime {nick uhost hand dest keyword text} { putserv "PRIVMSG $::tm(chan) :time: [ctime [clock seconds]], $nick's time: $text"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Mon Jul 18, 2005 10:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sarahJ]]></name></author>
		<updated>2005-07-18T06:05:35-04:00</updated>

		<published>2005-07-18T06:05:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52770#p52770</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52770#p52770"/>
		<title type="html"><![CDATA[Time Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52770#p52770"><![CDATA[
Hello Everyone<br><br>Is there a script out there that can do the following if so can you please point me in the right direction as i have not come across anything by searching egghelp.org archives<br><br>What i need is for the bot to respond to when someone does !time in channel it must display the bots time and then the person who did the commands time and also limiting the person who does !time to 1 in 5 minutes<br><br>Example:<br>&lt;sarah&gt; !time<br>&lt;botnick&gt; time: Mon Jul 18 10:32:57 2005  sarah's time: Mon Jul 18 10:32:57 2005<br><br>Any help will be great <br><br>Thanks sarah<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6493">sarahJ</a> — Mon Jul 18, 2005 6:05 am</p><hr />
]]></content>
	</entry>
	</feed>
