User:Kebap/Manual:getTimestamp

From Mudlet
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()))