Also in a group you need to close it with groupname end
in your script -> #mirc end
You have #mirc off