There's no way to do it. The nickname isn't part of the message/action itself, that's just the way mIRC and other clients display who sent the action. It's the same as the way that "<nickname>" isn't actually part of the message when you see "<nickname> some regular message here" - it's just mIRC's way of telling you who's saying what.