translate()

btmux-0.6-rc4/game/text/help/cat_mux/cat_functions/translate() · 380 B

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

Download the archive   « Back to the archive contents

& translate()
 
  Syntax: translate(<string>, <type>)
 
  This function takes <string>, and converts all raw ANSI color codes 
  and carriage returns to either MUX substitutions, or to spaces. If 
  <type> is 0 or 's', the raw codes are converted to spaces, if it is 
  1 or 'p', the codes are converted to MUX %c and %r substitutions.
 
  See Also: stripansi(), secure()

Site Stats

Snippets: 1791
Codebases: 571