C.36.  $world->getidletime

Abstract

$world->getidletime function: GETs the IDLE TIME

$seconds = $world->getidletime(void); 
 

This function returns the idle time, that is, the time elapsed since the last command was sent, in seconds. See Section 4.2.3, “Status Bar” for information on how that time is calculated and how to configure it.