This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

eggdrop clock

Old posts that have not been replied to for several years.
Locked
User avatar
SaPrOuZy
Halfop
Posts: 75
Joined: Wed Mar 24, 2004 7:38 am
Location: Lebanon

eggdrop clock

Post by SaPrOuZy »

hello,
how can i set the eggdrop clock to a specific time to match my local time
thanks
User avatar
]Kami[
Owner
Posts: 590
Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:

Post by ]Kami[ »

You can set it in conf:
# This setting defines the timezone is your bot in. It's used for internal
# routines as well as for logfile timestamping and scripting purposes.
# The timezone string specifies the name of the timezone and must be three
# or more alphabetic characters. For example, Central European Time(UTC+1)
# should be "CET".
set timezone "EST"
User avatar
SaPrOuZy
Halfop
Posts: 75
Joined: Wed Mar 24, 2004 7:38 am
Location: Lebanon

gmt + 2

Post by SaPrOuZy »

how can i specify it to gmt + 2
thanks
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

set offset "+2"
Once the game is over, the king and the pawn go back in the same box.
User avatar
SaPrOuZy
Halfop
Posts: 75
Joined: Wed Mar 24, 2004 7:38 am
Location: Lebanon

eggdrop clock

Post by SaPrOuZy »

didn't work
i tried putting:
set offset "+2" alone didn't work
i tried:
set timezone "GMT"
set offset "+2"
same didn't work, local time for the bot

<)botnick> Local time is now 08:35 <- while GMT +2 supposed to be 18:35
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Dumb question.. have you .rehash-ed after you've done that change in the .conf file?
Once the game is over, the king and the pawn go back in the same box.
User avatar
SaPrOuZy
Halfop
Posts: 75
Joined: Wed Mar 24, 2004 7:38 am
Location: Lebanon

eggdrop clock

Post by SaPrOuZy »

yea i did, i even killed and restarted the bot
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Re: eggdrop clock

Post by egghead »

SaPrOuZy wrote:[snip]
<)botnick> Local time is now 08:35 <- while GMT +2 supposed to be 18:35
It appears this is output from a script which may use its own [clock seconds]. If that is the case, you will need to modify the script or look at the settings of the script.
User avatar
SaPrOuZy
Halfop
Posts: 75
Joined: Wed Mar 24, 2004 7:38 am
Location: Lebanon

eggdrop clock

Post by SaPrOuZy »

that's when i telnet to the bot
and even the time stamps on the log files are the same as this

anyway it seems it wont work
thanks for trying guys
Locked