This is what I did to test it..
In script3.mrc I put
Code:
<a bunch of code>
alias unload {
  echo -s * blah
  halt
}
<a bunch more code>
In a different script I had
Code:
alias restore {
  var %a = $+(",$isalias(unload).fname,")
  if $read(%a,w,alias*unload*) {
    write -dl $+ $readn %a
    .reload -rs %a
  }
}


Then, I typed //restore | unload -rs "D:\mIRC files\m610\Scripts\script3.mrc"
The result:
-
* Unloaded script 'D:\mIRC files\m610\Scripts\script3.mrc'
-