I have an attachment that some of my friends can wear, it will animate them based on something I say (llListen). I would like to change it such that I can add their name to it, or some part of their name maybe. Example: "-SitDown" now will make everyone in my voice range sit. I would like just Johnny Blurf to sit down so I would like to say "Johnny SitDown" or "-SitDown Johnny" or "-SitDown J" if he is the only one wearing it with a first name startign with "J".
I have seen the posing attachments that you cna says "hug Zel" that will then approach Zeldini Hooberflatchet because that is the only person whos name matches Zel, then offers to animate that icon. I guess I am looking to do it in reverse, listening for some command you understand, then parsing the rest of the command to discern if it may be aimed at you, based on your first name or whole name or some part of it.
Obviously I am already getting to the point that I detected that -SitDown was said. How can I get the rest of the line in which it was spoken? And how do I get the wearing avatar's name?
The other direction may be listening instead of listening for -SitDown to somehow listen for <getMyFirstName>+' SitDown'