Assuming you are using ctrl+v to paste:
As far as mIRC is concerned you have typed these lines and pressed control+enter at the end of each one (since each one ends in a return and you are holding down control). A simple workaround for this is to use shift+insert when you want pasted text to be evaluated.

Personally I like it the way it is...