mIRC Home    About    Download    Register    News    Help

Print Thread
How can I set timestamp format in script ? #58627 01/11/03 05:26 AM
Joined: Oct 2003
Posts: 10
D
digian Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Oct 2003
Posts: 10
I want to change the $timestamp format and add colors, but if I use the  color in mirc settings to edit the timestamp, it just changes back to default.

Where would I set the timestamp format and with what syntax so that it is set each time mIRC loads up ?

Thanks

Re: How can I set timestamp format in script ? #58628 01/11/03 06:21 AM
Joined: May 2003
Posts: 215
lammkott Offline
Fjord artisan
Offline
Fjord artisan
Joined: May 2003
Posts: 215
Put the /timestamp -f command into an on START event, so that the timestamp is set each time mIRC is opened
Code:
on *:START: {
  .timestamp -f 4[HH:nn4]
}


this will make the timestamp look like [HH:nn]


- Jason
Re: How can I set timestamp format in script ? #58629 01/11/03 06:48 AM
Joined: Oct 2003
Posts: 10
D
digian Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Oct 2003
Posts: 10
Thank you very much