I will make /unload halt on error in the next version. It doesn't currently halt on error because users requested that behaviour in older versions of mIRC when error handling wasn't available.