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

	<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>2003-01-03T22:51:19-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-01-03T22:51:19-04:00</updated>

		<published>2003-01-03T22:51:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14866#p14866</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14866#p14866"/>
		<title type="html"><![CDATA[eggdrop not setting the correct time and/or timezone]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14866#p14866"><![CDATA[
The problem is with your "set offset" line.  Going by what the example config file says:<br><br># The offset setting specifies the time value to be added to the local<br># time to get Coordinated Universal Time (UTC aka GMT). The offset is<br># positive if the local timezone is west of the Prime Meridian and<br># negative if it is east. The value (in hours) must be between -23 and<br># 23. For example, if the timezone is UTC+1, the offset is -1.<br><br>You be "set offset 6" since you live west of teh Primer Meridian and CST is UTC-6.  Hope this helps.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_surprised.gif" width="15" height="15" alt=":o" title="Surprised">)<p>Statistics: Posted by Guest — Fri Jan 03, 2003 10:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-12-30T03:26:56-04:00</updated>

		<published>2002-12-30T03:26:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14699#p14699</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14699#p14699"/>
		<title type="html"><![CDATA[eggdrop not setting the correct time and/or timezone]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14699#p14699"><![CDATA[
It seems that the problem was this line:<br><br>#set env(TZ) "$timezone $offset"<br><br>I uncommented it and broke the time of bot. I had to comment it again, kill the bot and when it came back it's time was correct.<br><br>Perhaps it is a bug?<p>Statistics: Posted by Guest — Mon Dec 30, 2002 3:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-12-28T06:41:40-04:00</updated>

		<published>2002-12-28T06:41:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14641#p14641</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14641#p14641"/>
		<title type="html"><![CDATA[eggdrop not setting the correct time and/or timezone]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14641#p14641"><![CDATA[
Hi!<br><br>I just setup my eggdrop bot, but it thinks he is living 12 hours ahead, as I show you here:<br><br>[16:38] #Imoq# status<br>I am GR-Master, running eggdrop v1.6.13:  6 users (mem: 97k)<br>Online for 03:05  (background)  CPU 00:04  cache hit 62.2%<br>Admin: Imoq &lt;email: <a href="mailto:imoq@mydomain.com">imoq@mydomain.com</a>&gt;<br>Config file: ./GR-Master.conf<br>OS: Linux 2.4.18-18.7.x<br>Tcl library: /usr/lib/tcl8.3<br>Tcl version: 8.3.3 (header version 8.3.3)<br>   Channels: #ImoqLand(want ops!), #station51(want ops!),<br>    Online as: GR-Master!<a href="mailto:gr-master@Station51.2166FBBE5959E0.TR">gr-master@Station51.2166FBBE5959E0.TR</a> (Bot Master!)<br>    Server irc.server.net:6667 (connected for 03:05)<br>    #ImoqLand :  3 members, enforcing "+stn-klim" (greet, auto-op)<br>    #station51:  3 members, enforcing "+tn" (greet, auto-op)<br><br>As you can see from the "status" command, it thinks that right now it is 16:38, however, right now it's 04:38 (morning) as I show from the server where it's running:<br><br>[imoq@server eggdrop]$ date<br>Sat Dec 28 04:39:08 CST 2002<br>[imoq@server eggdrop]$<br><br>The relevant (I think) settings in eggdrop.conf are the following:<br><br>set timezone "CST"<br>set offset "-6"<br>set env(TZ) "$timezone $offset"<br><br>I alredy tried to change offset to -18 to see if it helped in anyway, but it didn't.<br><br>Could you please tell me what am I doing wrong?<br><br>Thank you for your help.<br><br>Imoq.<p>Statistics: Posted by Guest — Sat Dec 28, 2002 6:41 am</p><hr />
]]></content>
	</entry>
	</feed>
