Lattrcmds()
lattrcmds(<object>)
Returns the names of the attributes that contain commands on a specific <object>.
Example
> &CMD1 me=\$command1:@pemit me=blah
Set.
> &CMD2 me=\$command2:@pemit me=blah blah
Set.
> say lattrcmds(me)
You say, "CMD1 CMD2"