v0.13.8

SecureCmdOptionParse

functionimplementedavailable in: camelot

Evaluates macro conditionals without the need of a macro.

The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.

Parameters

nametypedescription
optionsstringa secure command options string to be parsed, e.g. "[mod:alt] ALT is held down; [mod:ctrl] CTRL is held down, but ALT is not; neither ALT nor CTRL is held down".

Returns

#nametypedescription
1resultstring?value of the first satisfied clause in *options*, or no return (nil) if none of the conditions in *options* are satisfied.
2targetstring?the target of the first satisfied clause in *options* (using either the target=... or @... conditional), nil if the clause does not explicitly specify a target, or no return (nil) if none of the conditions in *options* are satisfied.

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

sources

Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.