mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Sep 2008
Posts: 23
P
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Sep 2008
Posts: 23
Hello Everyone.

This seems like something easy.. I read through the Time and Date Identifiers section on help, but didn't find much.

The script I have currently sends time out in a 24 hour military time form. Is there anyway to change it to the 12 hour clock?

Current Script:
Code:
on 1:TEXT:!time:#:{ /msg $chan >- $nick -< The current time where Dylan lives is: $time }


As always,
You guys are awesome!

Last edited by partyboy911; 25/11/08 01:04 AM.
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Use $time(h:nn)

See /help $asctime for more information regarding character codes for various formats.

Joined: Sep 2008
Posts: 23
P
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Sep 2008
Posts: 23
Thanks! Figured it wasn't too hard of a change.


Link Copied to Clipboard