Hi, I have searched the tcl pages and googled it but i can seem to find a script so that if i type !GMT in a channel the bot responds with the current time in GMT...
Does anyone know of a script like this or where to get it please ?
Thanks in advance
Actually there is a script called worldtime.tcl around here, which can be changed to query it. I am personally currently working on something major about time zones, but I cannot find the ideal way/page to query the offset from a timezone name. It currently looks like I'd have to temporarily change env(TZ) ^-^.
But queriing GMT times can be done via RFC 867 or RFC 868 time servers, if the shell local time is not accurate enough.
@caesar:
I dont want to discourage you, but clock in TCL 8.4 has a few less features. I would be happy to be able to use these