mIRC Homepage
Posted By: darrenpascoe $GMT command - 24/10/04 12:00 PM
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) }
}
Posted By: Propogater Re: $GMT command - 24/10/04 04:35 PM
$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,
© mIRC Discussion Forums