Time is displayed wrong in the party line and the script

Help for those learning Tcl or writing their own scripts.
Post Reply
j
juanamores
Master
Posts: 317
Joined: Sun Mar 15, 2015 9:59 am

Time is displayed wrong in the party line and the script

Post by juanamores »

The time is displayed wrong in the party line and the script.
According to what I read, I modify the given configuration file bot.
I added these 2 lines to eggdrop.conf:

Code: Select all

set timezone "GMT"
set offset "-3"
But, still it shows wrong time scripts and party line.
If you do not understand my ideas is because I can not think in English, I help me with Google Translate. I only speak Spanish. Bear with me. Thanks :)
User avatar
heartbroken
Op
Posts: 110
Joined: Thu Jun 23, 2011 11:15 pm
Location: somewhere out there

Post by heartbroken »

I don't even known where do you live and which timezone but these settings for GMT+3 ,
be sure env(TZ) line looks like this :

Code: Select all

set env(TZ) "$timezone$offset"
in .conf

and check : http://eggwiki.org/Eggdrop.conf#Basic_settings
# If you don't want to use the timezone setting for scripting purposes only,
# but instead everywhere possible, un-comment the following line.
#set env(TZ) "$timezone$offset"
Life iS Just a dReaM oN tHE wAy to DeaTh
j
juanamores
Master
Posts: 317
Joined: Sun Mar 15, 2015 9:59 am

Solved

Post by juanamores »

Code: Select all

set timezone "CEST" 
set offset "+3"
set env(TZ) "$timezone$offset"
If you do not understand my ideas is because I can not think in English, I help me with Google Translate. I only speak Spanish. Bear with me. Thanks :)
Post Reply