Open main menu
Home
Random
Log in
Settings
About AddOn Studio
Disclaimers
AddOn Studio
Search
Editing
WoW:API IsEquippedItemType
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{wowapi}} __NOTOC__ Determines if an item of a given type is equipped. isEquipped = IsEquippedItemType("type") == Arguments == :("type") :;type : String ([[ItemType]]) - any valid inventory type, item class, or item subclass == Returns == :;isEqupped : [[Boolean]] - is an item of the given type equipped == Example == if IsEquippedItemType("Shields") then DEFAULT_CHAT_FRAME:AddMessage("I have a shield") end <big>'''Result'''</big> Outputs "I have a shield" to the default chat window if the player has a shield equipped.
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Tocright
(
edit
)
Template:Wowapi
(
edit
)