Project

General

Profile

Actions

$uptime » History » Revision 1

Revision 1/6 | Next »
Per Amundsen, 03/16/2015 08:47 AM


Added in 1.9.6

$uptime

Returns connection time in seconds on the associated server connection.

Added in 1.9.2

$uptime(mirc|AdiIRC|server|system, N)

Returns uptime in milliseconds for the specified item.

Parameters

mirc|AdiIRC|server|system - Item to retrieve uptime for.
N - Optional, if N = 1 returns same format as $duration(), if N = 2 returns same format as $duration() but without seconds, and if N = 3 returns seconds instead of milliseconds.

Example

; Current connection uptime
//echo -ag Server has been connected $uptime seconds

; AdiIRC uptime
//echo -ag AdiIRC has been connected $uptime(AdiIRC, 1)

Updated by Per Amundsen about 9 years ago · 1 revisions

Also available in: PDF HTML TXT