<HTML> <HEAD> <TITLE>has</TITLE></HEAD> <BODY> <h1>has</h1> <B>Category</B><p> <a href="test_commands.html">Test commands</a> / <a href="inventory_commands.html">Inventory item commands</a><p> <p> <B>Syntax</B><p> <p> if (has(iA)) { .....<p> <B>Description</B><p> <p> Returns true if the inventory item iA is in the player's inventory (i.e. the item's room number is 255).<p> <B>See also</B><p> <a href="obj_in_room.html">obj.in.room</a><p> </BODY></HTML>