Template:IsNotEquippedID: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
(Created page with " <noinclude>This template describes the '''IsNotEquippedID''' state Conditions of the automacro eventMacros.</noinclude> ;IsNotEquippedID :* Description:...")
 
mNo edit summary
 
Line 12: Line 12:


: Set variables:
: Set variables:
  $.IsNotEquippedIDLastIsEmpty => Saves wheter the slot was empty ot not
  $.IsNotEquippedIDLastIsEmpty => Saves wheter the slot was empty or not
  $.IsNotEquippedIDLastSlot => Saves the slot which made IsNotEquippedID become true
  $.IsNotEquippedIDLastSlot => Saves the slot which made IsNotEquippedID become true

Latest revision as of 10:12, 4 June 2023

This template describes the IsNotEquippedID state Conditions of the automacro eventMacros.
IsNotEquippedID
  • Description: Checks if the player doesn't have an item equipped which ID matches the given one.
Syntax:
IsNotEquippedID <comma separated list of pairs of equip place and ID>
Example:
IsNotEquippedID topHead 5055
IsNotEquippedID rightHand 13040, topHead 5055
IsNotEquippedID topHead 5055, leftHand 2112, robe 2510, shoes 2414, armor 2352, rightHand 1243
Set variables:
$.IsNotEquippedIDLastIsEmpty => Saves wheter the slot was empty or not
$.IsNotEquippedIDLastSlot => Saves the slot which made IsNotEquippedID become true