Note that it can be dangerous to make a bot that repeats text. A user can type !say /quit and your bot will quit. And that's just a very minor example of the danger.
Actually it is in theory not dangerous has mIRC does not evaluate commands when it /describes, /msg or /say a command as the return.
It will treat it as plain text. Thus why, there's no danger at all.