Would it be possible to change the way the scripting language works and how variables are parsed to allow the "%operclosechan.%chan" variables below to be evaluated:

Code
set -eu10 %operclosechan.%chan %reason

if (%operclosechan.%chan) {

unset %operclosechan.%chan

This would require the scripting language to 1) disallow use of % anywhere in the variable name except at the beginning, and 2) interpret . followed by a % as a combining character in non-space-delimited text that interprets the % following the . as a variable name.

Last edited by Khaled; 22/06/19 10:27 AM.

Well. At least I won lunch.
Good philosophy, see good in bad, I like!