query_idle_string.2

tmi2_fluffos_v2/lib/doc/functions/simul_efuns/query_idle_string.2 · 1000 B

From the archive tmi2_fluffos_v2.zip

Download the archive   « Back to the archive contents

QUERY_IDLE_STRING(2)      SYSTEM CALLS       QUERY_IDLE_STRING(2)

NAME
     query_idle_string -  "returns  string  describing  how  long
     player has been idle

SYNOPSIS
     string query_idle_string( object player, int verbose );

DESCRIPTION
     If a player has  been  idle  for  longer  than  60  seconds,
     returns  a  string  describing  how long the player has been
     idle.  Also returns "Link Dead" if player  is  disconnected.
     Returns  0  if player is not actually a player object; or ""
     if the player has been idle for less than 60 seconds.

     If verbose == 1, the string returned will use the long  form
     of  the  labels (i.e. "Link Dead", "month", "day", "second",
     etc.) If verbose == 1, shorter labels  will  be  used  (i.e.
     "LD", "m", "d", "s", etc.)

     Used by the finger command.

SEE ALSO
     /adm/simul_efun/idle.c, /adm/daemons/finger.c

AUTHOR
     Ichabod@TMI, 2/19/93


MudOS Release 0.9         Last change:                   3-19-93

Site Stats

Snippets: 1791
Codebases: 571