Manual:DIL Manual/getcolor()

From DikuMUD Wiki
< Manual:DIL Manual
Revision as of 13:08, 27 May 2020 by Nove (talk | contribs) (XML import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Function:   string getcolor (ch : unitptr, ks : string) ;
  ch
         character you are deleting the color from
  ks
         key string for the color
  returns
         returns the color in a string
This function returns what color a player has for a key in the players list.
Function:  string := getcolor(pc, "clan_who");