Skip to content

RuleFunction_ItemType

arkayenro edited this page Jul 19, 2018 · 2 revisions

Rule Functions > Item Type

itemtype( arg1, ..., argN )

Checks if any of the supplied arguments matches an items type

Alias

  • type

Arguments

  • arg1...N = item type (string or number)

Remarks

  • text values must be in the clients language

  • an items type can be found on the debug info menu for that item

  • no argument will generate an error

Examples

type( "armor", "weapon" )
type( "gem" )
type( "recipe" )

Clone this wiki locally