You are looking at a command called smile
smile
smile (some text for saying after you smile)
If you just smile it randomly choose how you smile otherwise all text following the command is said to others in your location.
eg: smile that is so funny
scripting notes:
Send out the trigger world 'smile'
eg:
if reacting to smile the smileback;
smileback:
print "[$actor] smiles back";