| 1 |
! $Id: utc,v 1.4 2002-02-21 17:16:31 f Exp $ |
| 2 |
! |
| 3 |
! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, |
| 4 |
! and other ircII contributors. |
| 5 |
! |
| 6 |
! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more |
| 7 |
! information. |
| 8 |
! |
| 9 |
Usage: CTCP <nick> UTC <system time> |
| 10 |
This is primarily for robots to send date and time information |
| 11 |
to users and have it displayed in local time. The format of the |
| 12 |
UTC CTCP is: |
| 13 |
UTC number |
| 14 |
where number is the ASCII representation of the 32 bit |
| 15 |
integer representing the time as is used on UNIX machines. |
| 16 |
When ScrollZ receives this CTCP, it replaces the text of |
| 17 |
the local time expressed in the local language back into |
| 18 |
the original message. Thus if you send the following: |
| 19 |
NOTICE nick The time is ^AUTC 702777074^A |
| 20 |
The user might see: |
| 21 |
-yournick- The time is Thu Apr 9 09:51:14 1992 |
| 22 |
(if their timezone is Australian Eastern Standard Time). |
| 23 |
Obviously you can use the $TIME() function here effectively. |