Item Formula

The list of items displayed in the popup when selecting an item can be filtered using conditional expressions. You can display items based on whether they meet the specified conditions!

  • item refers to the item (TItem) object.

  • unit refers to the user's ScriptUnit object.

Variable

Varialbe
Description

item.level

Item Level (Enhancement Count)

item.id

Item ID

item.count

Item Quantity

item.dataID

Item dataID

item.index

Item Index

item.inTrade

Item Trade Status

item.exp

Item Experience

item.locked

Item Lock Status

item.nftTokenID

Item NFT Token ID

item.options

Item Option List

Example: Filtering Items with Level 1 or Higher

item.level >= 1

Example: Filtering Items with IDs Between 1 and 20

item.dataID >= 1 and item.dataID <= 20

Example: Filtering Items with the Name "Sword"

Server.GetItem(item.dataID).name == “검”

Last updated