HasAnyJunk

From ESOUI Wiki

Jump to: navigation, search

This function returns true if the specified bag contains any items that have been marked as junk, or false otherwise.

Arguments

bagId
A number representing the bag to check; it must be one of the built-in Bag values.

Syntax

if HasAnyJunk(BAG_BACKPACK) then
   --
   -- The player is carrying some junk.
   --
end

External links

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox