The problem is that this version works perfectly:
While the trigger in this version never fires:
It also returns the error "Lua syntax error:[Type a line of input or `@abort' to abort the command.]" in the console. Please help?
Workaround vs language feature is needless and overly confusing information to the Lua novice. Suffice to say it works but isn't recommended.Heiko wrote:Well, nesting [[ clearly is *not* supported by Lua. The ]=========] concept is simply a nasty workaround. Even worse is that nesting paragraph comments isn't possible either i.e. --[[ some comment --[[ some other comment ]]-- ]]-- isn't supported. This is imho the only really annoying limitation of the Lua parser and I hope that this will get improved in future versions.