There's no problem with the code I provided. Riamus2 was then suggesting the possibility of people flooding you out by doing the /me slaps you command repeatedly or by a group of people with a bad intention, while you have the code placed in mirc remote. Then there followed ChaCha's suggestion for me to do it another way.
I don't suppose the chances of that possibility is great anyway, unless you have had a beef with folks that have "real issues" with you, and that they know enough of MSL to tamper with the code.
Other than that, you're relatively safe to use the code the way it is without flood control added.