Sparta said how to fix this, now I'm going to try to explain why.
You're using goto end, but there's nothing in the script to tell mIRC where end is. mIRC doesn't know that end is the end of the script, as all it sees is a string consisting of the characters e, n, and d
You'll get a similar problem with the goto swear
Please note that usage of goto statements is frowned upon when scripting. When you've got your script finished, you might want to think about posting it and asking for amendments and improvements.
Many of the helpers here will be happy to add in lines that could be used to improve your script. Some of us prefer to leave your active code as active, and use remarked statements for the improvements, others prefer to do it the other way around.