givesingle

“givesingle” is a script attribute. It is run when the player types “give (object)” on its own.