You are looking at the command called get

get {object}
Gets an object you can see and puts it in your inventory. Use inv to see what you are carrying

get the cupcake

read the command called drop
read the command called eat
read the command called burp
read the command called wield


Scripting notes:
When you get something a 'get' trigger word is sent out in your location and an 'appears' is sent to location the object ends up (inside you).
Code