It's not uncommon to do kill troll with sword and then keep typing the shorter again until the fight is done.
But again is rerunning whatever the last input was, whether it came from the current player or not. Figure out where it stores this and track it per-player (or maybe handle it in inpfn_ingame?).