TagCompiler-1.0/Tag Syntax

From WowAce Wiki
Jump to: navigation, search
Lib: TagCompiler-1.0
A library to provide configuration via simple tag syntax
TOC 2.3 (20300)
Category Libraries
Authors Roartindon, Silvermoon
Version 1.0
Dependencies Ace2
Betas Ace SVN Zip
Changelog FishEye


alpha [bravo:charlie:hideIf(healthPercent < 80)] delta [conditional:"ShowStringIfConditional"]

Tags are case insensitive "alpha" and "delta" are literals, "[bravo:charlie:hideIf(healthPercent > 80)]" will be substituted, but hidden if health is greater than 80%. The string "ShowStringIfConditional" is only shown if conditional is true in the lua sense (ie. not false, and not nil)


  • ~a - equivalent to not(a)
  • -a
  • a + b
  • a - b
  • a * b
  • a / b
  • a == b
  • a ~= b
  • a >= b
  • a <= b
  • a .. b
  • a & b (and)
  • a | b (or)

All text tags work as conditionals, and will only be shown if the values preceding it do not evaluate to false