One suggestion, and it's not because I am trying the same thing. But instead of using names to fight ONE monster, why don't you try scanning for local NPC around you, input the data into a list, so your able to choose more than one, then take the selection ids into a array, and your set!
Just a idea!