
QUERY_IDLE_STRING(2)       silmul_efun       QUERY_IDLE_STRING(2)

名稱
     query_idle_string -  傳回玩家發呆時間的字串

語法
     string query_idle_string( object player, int verbose );

描述
     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.

其它參考檔案
     /adm/simul_efun/idle.c, /adm/daemons/finger.c
     wade@future 4/8/1996 翻譯

AUTHOR
     Ichabod@TMI, 2/19/93


MudOS Release 0.9         Last change:                   3-19-93

