Difference between revisions of "User:Kebap/Manual:getTimestamp"

From Mudlet
Jump to navigation Jump to search
(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...")
 
m
 
Line 1: Line 1:
 +
==getTimestamp==
 
;getTimestamp( optional console_name, lineNumber )
 
;getTimestamp( optional console_name, lineNumber )
 
: Returns the timestamp string as it’s seen when you enable the timestamps view (blue i button bottom right).
 
: Returns the timestamp string as it’s seen when you enable the timestamps view (blue i button bottom right).

Latest revision as of 19:21, 5 June 2018

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