has

Category

Test commands / Inventory item commands

Syntax

if (has(iA)) { .....

Description

Returns true if the inventory item iA is in the player's inventory (i.e. the item's room number is 255).

See also

obj.in.room