Info Feature (#2391)

(an instance of Generic Feature Object made by melusina)


Go to location of this object, Features Feature Object.


HELP MANUAL:
     Find out more about connection times than you ever wanted to know.  Courtesy of dried.
     USAGE:  ti 



VERB SOURCE CODE:

ti*me:
if ((!valid(loser = toobj(argstr))) || (loser == #0))
    if (!valid(loser = $string_utils:match_player(argstr)))
        return player:tell("'", argstr, "' isn't a player, you fucking idiot.");
    endif
endif
if (typeof(idle = idle_seconds(loser)) != ERR)
    idle = $string_utils:from_seconds(idle);
    conned = $string_utils:from_seconds(time() - loser.last_connect_time);
    player:tell(loser.name, "(", loser, ") has been connected for ", conned, " and 
idle for ", idle, ", in ", loser.location.name, "(", loser.location, ")");
else
    conned = $string_utils:from_seconds(loser.last_disconnect_time - loser.last_connect_time);
    player:tell(loser.name, "(", loser, ") was last connected on ", player:ctime(loser.last_disconnect_time), 
", for ", conned, ".");
endif
.



PROPERTY DATA: