I have this in my script:

Code:
ON *:START:*: {
  .timestamp -fe [HH:nn:ss]
}
Just add your colour choice using two digits instead of one or the timestamp will bugger up. It won't work from the dialogue because mIRC is unable to write the dialogue entry to the settings file.

EG: Black == 01 not 1