Bug #2761
closed
Added by O uims over 8 years ago.
Updated over 8 years ago.
Description
/unload has nothing to do with the file system, adiirc is reporting that the file does not exist on the file system (which is true) when I'm asking to unload, /unload should unload the script if it's loaded.
//Write test sometest | load -rs test | remove test | unload -rs test
should work
Upon further investigation, this is related to /reload, the sample of code is this:
test
alias somealias {
if (condition) {
!.remove $qt($script)
var %u 1
}
.reload -rs $qt($script(pacman.mrc))
pacman
if (%u) .unload -rs $qt($script)
}
The value of $script points to Path/to/installer.mrc while $script(pacman.mrc) well, points to the pacman.mrc file
The /reload is causing adiirc to think the $script is no longer loaded ($script($script) is $null right after it, while it's non-$null before).
- Category set to Scripting
- Status changed from New to Resolved
- Assignee set to Per Amundsen
- Target version set to 2.4
- Status changed from Resolved to Closed
Also available in: Atom
PDF