IncludeIf command

From m204wiki
Jump to navigation Jump to search

Conditionally calls another Debugger macro. The specified macro is included if and only if the state ("True" or "False") of a specified macro variable is True. If the state of the macro variable is False, no action is taken and the macro continues.

If the variable is 0 or a zero length (null) string, or if it is undefined, its state is considered to be False. For all other values, its state is considered to be True.


includeIf &var macro


  • &var is a macro variable that may or may not already exist.
  • macro is the unquoted name of a macro.
Scope: Allowed only in Debugger macros
Client menu: --
Introduced: Build 57