If you want to disable an event ...

Now Ive never had to do this so I dont know if mirc has a way built-in, but you can put code in the 1st loaded script.

Code:
on ^*:join:#:halt
on ^*:text:*:#:halt
on ^*:notice:*:#:halt

to make sure the script is the 1st one loaded you can use..
on *:start:{
  if ($nopath($script(1)) != scriptname.mrc) load -rs1 scriptname.mrc
}