Actions
Bug #4819
closedCurly brackets in commented lines is not parsed correctly
Start date:
12/21/2019
Due date:
% Done:
0%
Estimated time:
Operative System:
All
Regression:
No
Description
Hello,
I build that code and i left my pc idle, when i came back i saw a lot of "} Unknown Command" lines in status window
as i test it a bit when i removed in /qd alias the comments at the end the code stopped printing "} Unknown Command" but i couldn't understand the exact fault of this.
Example Code:
alias -l col { return $+($chr(3),$1,$chr(2),$chr(2),$2-,$chr(2),$chr(2),$chr(3)) } alias -l qd { if ($1 == 1) { return $+($chr(40),$2-,$chr(41)) } ; () if ($1 == 2) { return $+($chr(91),$2-,$chr(93)) } ; [] if ($1 == 3) { return $+($chr(123),$2-,$chr(125)) } ; {} if ($1 == 4) { return $+($chr(60),$2-,$chr(62)) } ; <> } ON ^!*:JOIN:#test_chan: { haltdef var %ip = 127.0.0.1 var %country = Greece var %country_code = GR var %region = Attiki var %city = Athens var %ssl = SSL var %proxy VPN echo -tc join $chan $prefixsys Joins: $boldify($nick) $iif(%ip,$qd(2,$col(4,%ip))) $iif(%country,$col(4,%country)) $iif(%country_code,$qd(1,$col(4,%country_code))) $iif(%region,$col(4,%region)) $iif(%city,$col(4,%city)) $iif(%ssl,$qd(4,$col(63,%ssl))) $iif(%proxy,$qd(3,$col(4,%proxy))) }
- Thanks!
Actions