User:Kebap/Manual:getTimestamp

From Mudlet
< User:Kebap
Revision as of 16:34, 29 May 2018 by Kebap (talk | contribs) (Created page with ";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}} Av...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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()))