OK sorry if this was solved somewhere here, but i didnt findt it
Have a problem when I want set reaction for players input multiple chois. What I do is
<if variable "name" equal "string">
<show message "message 1">
<else>
<do smthg other or do nthg>
<end>
THIS i save and proof in emulator - it works nice. Than I reload lua file, work on it and then save again. Now I cannot genrate cartridge file (msg like there is no "END"), more I cannot reload saved file(the same message). OK - I tested what happens and see this - when I reload saved file, then disappears "IF" and "END" and it cause this failure. BUT it is only when i use it in "input" script.. After the file is reloaded looks like
<show message "message 1">
<else>
<do smthg other or do nthg>
Am I mistaken somwhere, or is it BUG?
I solve that problem this way. I add this scripts before the last save. It works good, but when i want smthg change in my cartridge i must manually delete all mentioned scripts and write it again...