Actions
Bug #5598
closedSysinfo commands should not evaluate target channel name
Start date:
07/18/2022
Due date:
% Done:
0%
Estimated time:
Operative System:
All
Regression:
No
Description
For things like /osinfo in channel names starting with %
I suspect that /osinfo passes it correctly, and /say (called by osinfo) does a second evaluation, resulting in null as the variable doesn't exist.
This may pose a bigger issue in the way scripting is done in AdiIRC. Doesn't affect mIRC.
alias chbugfix {
if ($left($chan, 1) == $chr(37)) {
set $chan $chr(37) $+ $right($chan, -1)
$1-
unset $chan
}
}
Updated by JD Byrnes over 2 years ago
I should clarify that chbugfix works by typing /chbugfix osinfo
and proves the issue.
Updated by Per Amundsen over 2 years ago
- Subject changed from %#Channels double eval'd. to Sysinfo commands should not evaluate target channel name
- Status changed from New to Resolved
Good catch, it does evaluate the channel name for /msg <target> used internally, should be fixed for all sysinfo commands in the next beta.
Actions