Skip to main content

(310) _ITEM_NAME

Effect

Puts the item name in the Buffer at the given index.

info

If the amount is greater than 1 the plural is used.

Syntax

_ITEM_NAME(index, item, amount)
ArgumentDescriptionTypesRequired
indexThe index of the buffer to write the value toWork, FloatRequired
itemThe item IDWork, FloatRequired
amountThe amountWork, FloatRequired

Example

ev_dummy:
_LDVAL(@SCWK_TEMP1, 7); Dive Ball
_ITEM_NAME(0, @SCWK_TEMP1)
_TALKMSG('dp_dummy_file%dummy_msg')

The above script will put the item name of Dive Ball in buffer position 0 and then print out the message from dp_dummy_file%dummy_msg.