Requiring an item to be in inventory before acting

Please pardon a potentially simple question from a newbie. It seems as though, by default, actions upon items can be taken within their room whether they 're in inventory or not. I would like to require that items be taken into inventory before they will respond to verbs. How is this done?

Thank you, Quest community, for your wisdom.

Steve

In a nutshell, you'd make a script that checks to see if the item is in the player's inventory first.

When you add a script or command, click 'if' and then from the dropdown select 'if object is in player inventory'.
I cant post a screenshot, but I'm sure you can find it if you poke around :)

you can also select 'if player is not carrying' for the reverse effect.