You are looking at many info about getnames

Syntax: getname {object},"method";

where {objects} is something like $actor or $target..
and method is one of these:
brief
plain
tiny
examine

Its sets a variables called $this_name for use in your script.