ctcp_utc
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | ctcp_utc [2006/07/25 21:22] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ======Synopsis: | ||
| + | [[ctcp]] //< | ||
| + | |||
| + | ======Description: | ||
| + | This " | ||
| + | timestamp is the number of seconds since the UNIX epoch, the same as is used by | ||
| + | the [[PING]] command. | ||
| + | receiver' | ||
| + | |||
| + | Older clients have been vulnerable to bugs that crashed when this ctcp was | ||
| + | supplied with a maliciously crafted //<time value>//, | ||
| + | feature with a stranger, they will probably assume you are attacking them and | ||
| + | will react with hostility. | ||
| + | |||
| + | ======Examples: | ||
| + | Let's say that you wanted to tell another user when you went away. | ||
| + | When they send you a message, you send a notice back which includes | ||
| + | the UTC of your departure: | ||
| + | alias away {if (@) {@away_time=time()};// | ||
| + | on #^msg -1 * {if (A) {notice $0 Away since ^AUTC $away_time^A}} | ||
| + | |||
| + | # $EPIC: ctcp_utc.txt, | ||
ctcp_utc.txt · Last modified: 2006/07/25 21:22 by 127.0.0.1
