Our server was trying to test out a more recent addition of being able to choose/battle npcs and we found that both pokebattle commands could not use the @p but rather we had to use a specific name like /pokebattle2 pokenerd (npc) (npc), which breaks what we wanted to do with our npcs that do double/multi battles.
In a nut shell, basically it needs to find the person that activates the command rather than a specific player like it does now.
--------------------------------------------------