• IS THIS SITE UGLY? Click "RG3" at the very bottom-left of this page to change it. To dismiss this notice, click the X --->

Problem - Macro Parsing issue with latest build

Jul 29, 2016
With the latest build, String.Count is not working properly when asking to count braces in a string. For instance, String AA=123{45}6. /echo ${AA.Count[{]} should give 1. But it simply echos back: ${AA.Count[{]} . For the right brace, /echo ${AA.Count[}]} should also give 1, but it gives a parsing error: Unmatched bracket or invalid character following bracket found in index: " and echos: NULL]}

This definitely breaks Modbot, but I am sure we are not alone.