API:GetEuipmentNumber

GetEuipmentNumber

Example
/script if (GetEuipmentNumber == 2) then DEFAULT_CHAT_FRAME:AddMessage("Second Equipment.") end

Prints the message "Second Equipment" if you use the second equipment.