Auto-translated
The problem is that when writing a function inside another function, the inner function stops recognizing the `heroname` command, and you have to write `%heroname`. But then, the HeroesV_Map_Script_Editor (or something like that) throws a **non-existent** error, and it also stops displaying the other real errors in the script :smile18: