That's pretty well impossible, given that you have /msg $1 with no loop, so it can only message one nick. How are you using this alias?