RuleFunction_ItemString - arkayenro/arkinventory GitHub Wiki

Rule Functions > ItemString

itemstring( arg1, ..., argN )

Checks if any of the supplied arguments match (or partially match) the Blizzard itemstring

Arguments

  • arg1...N (numeric or string)

Remarks

  • ensure you really want to use this function instead of a custom category (which is way less cpu intensive)

  • the itemstring can be found on the debug info menu

  • partial matches are done so do not add a trailing : as the code will do that for you

  • if arg is numeric it will be converted to an item itemstring

  • no argument will generate an error

Examples

itemstring( 1, 2, 3, 4, 5 )
itemstring( 1, "empty:0:27" )
itemstring( "item:12:1:0:0:0:3", "spell:54" )