Thanks for your help.
Got me past that point.
Unfortunately, still having problems. Here's the current code:
alias reloadtest {
var %Count = 1
var %Total = $script(0) + 1
; Unload all current scripts, except the current script
while ( %Count != %Total ) {
if ( $script(%Count) != $script ) {
var %File = $chr(34) $+ $script(%Count) $+ $chr(34)
echo %File
unload -rs %File
}
inc %Count
}
}
It unloads a couple of files and then errors out with...
* /unload: insufficient parameters (line 10, reload.ini)
Any ideas? Thanks again for your help.