/unload bug example:
put this in your normal remotes file...
on *:load: {
echo -s Loaded!
}
on *:unload: {
echo -s Unloaded!
}
alias unloadtest {
unload -rs $+(",$mircdirhaha\test.mrc,")
}
save changes.
now...
manually create this full path, and an empy test script named test.mrc:
c:\m i r c 6 1 4\haha\test.mrc
notice the spaces in the name: m i r c 6 1 4 (single spaces only).
so, haha is a subfolder of mirc, and we are loading test.mrc from the haha folder.
just create an empty text file and call it test.mrc, then put it in the haha folder.
now manually load test.mrc (/load or file -> load)
run this command: /unloadtest
output on the first run: * Unloaded script 'C:\m i r c 6 1 4\haha\test.mrc'
run this command a second time: /unloadtest
output on ALL subsequent runs: * /unload: no such file 'C:\m i r c 6 1 4\haha\test.mrc'
you shouldn't have to check to see if a script is loaded before you unload it, that was never a condition previously. but even if that is the case now, the error isn't reporting that it isn't loaded, it is reporting that there is no such file.
Last edited by sgt; 06/03/04 06:28 PM.