Template:InMapRegex

From OpenKore Wiki
Jump to navigation Jump to search
This template describes the InMapRegex state Conditions of the automacro eventMacros.
InMapRegex
  • Description: Checks if the current map matches the given regex.
Syntax:
InMapRegex <Regex>
Example:
InMapRegex /field\d+$/
InMapRegex /^pay/
Set variables:
$.InMapRegexLast => Saves the name of the last map that made InMapRegex become true