mIRC Home    About    Download    Register    News    Help

Print Thread
$GMT command #101434 24/10/04 12:00 PM
Joined: Jun 2004
Posts: 3
D
darrenpascoe Offline OP
Self-satisified door
OP Offline
Self-satisified door
D
Joined: Jun 2004
Posts: 3
I am having probs with the $gmt part of this script i cant seem to get it to allow for daylight saving. please can someone help. thanks.

on *:text:~time*:#: {
if ($2 == server) {
msg # Server Time:4 $asctime(hh:nn:ss) }
else if ($2 == uk || $2 == london || $2 == exeter || $2 == gmt) {
msg # $2 Time:4 $gmt(hh:nn:ss) }
}

Re: $GMT command #101435 24/10/04 04:35 PM
Joined: Aug 2003
Posts: 19
P
Propogater Offline
Pikka bird
Offline
Pikka bird
P
Joined: Aug 2003
Posts: 19
$daylight returns the offset for the daylight savings (0 or 3600). Use that one and you should be able to solve your problem smile

Yours,


Propogater @ DALnet, #HelpDesk and #Help