colorpairs()

btmux-0.6-rc4/game/text/help/cat_mux/cat_functions/colorpairs() · 447 B

From the archive btonline-btechmux-0.6-rc4.tbz2

Download the archive   « Back to the archive contents

& colorpairs()
 
  Syntax: colorpairs(obj/attr)
 
  This function returns the specified attribute on object with all 
  'brackets' colored.
 
    * { and } are returned in red
    * [ and ] are returned in amber
    * ( and ) are returned in green 
 
  Error Messages:
 
    * If the attribute does not exist on object the function returns 
      an empty string
    * If the object is invalid the function returns #1 - NO MATCH 
 

Site Stats

Snippets: 1791
Codebases: 571