Project

General

Profile

Actions

Bug #5598

closed

Sysinfo commands should not evaluate target channel name

Added by JD Byrnes 4 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Scripting
Target version:
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
}
}

Actions #1

Updated by JD Byrnes 4 months ago

I should clarify that chbugfix works by typing /chbugfix osinfo and proves the issue.

Actions #2

Updated by Per Amundsen 4 months 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 #3

Updated by Per Amundsen 4 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF