/doc/sefun/query_user_tag


SYNOPSIS

string query_user_tag(object|string player, void|int flags)

DESCRIPTION

Return a string describing the status of <player>, which may be given as an actual object or by its name.

<flags> may be a combination of several bitflags. Currently supported are

  1. Return a long string instead of the normal short one.
  2. Don't count domainlords as normal wizards.

The result is a string of in short form up to four characters. For players, 0 is returned.

EXAMPLE

Assume that 'Deepthough' is (still) God, 'Dagobert' is Domainlord and 'Ryuka' is a learner.
      query_user_tag("deepthought") -> "God"
      query_user_tag("dagobert")    -> "Wiz"
      query_user_tag("dagobert", 2) -> "Lord"
      query_user_tag("dagobert", 3) -> "Domainlord"
      query_user_tag("ryuka")       -> "Appr"
      query_user_tag("ryuka", 1)    -> "Apprentice Wizard"

| Home | Applied | Concepts | Efuns | Intro | Lfuns | Lib | LPC | Obj | Prop | Sefuns | Std |

Nightfall@quest.tat.physik.uni-tuebingen.de
Automatically generated on Fri, Aug 2, 1996