User:Kebap/Manual:getTimestamp

From Mudlet
< User:Kebap
Revision as of 19:21, 5 June 2018 by Kebap (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

getTimestamp

getTimestamp( optional console_name, lineNumber )
Returns the timestamp string as it’s seen when you enable the timestamps view (blue i button bottom right).

Note Note: Available in Mudlet 1.1.0-pre1.

Example
--Echo the timestamp of the current line in a trigger:
echo(getTimestamp(getLineCount()))