You are looking at a command called shake

shake {object}

Shake an object. If the object. If the object is on another, it will come off. it will also loose any find: [pose] it may have had.

shake the rattle
shake the tree


Scripting notes

This sends out the trigger word shake so you objects can react to this.

Sample reaction:
if target of shake then iwasshook;
##iwasshook:
print "[$actor] noticed that [$init_obj] shook it";
Code