For my games I'm trying to create some kind of script and macro system that replaces long and monotonous manual actions to speed up combat scenes and enhance the players' experience due to their high dynamics. For this, I use several APIs and small scripts that interact with each other to check and edit information about tokens and characters.
Now I'm trying to combine all this with SmartAOE, but for some reason changing a token (changing HP or setting markers) via SmartAOE is not recognized by other APIs, I don't really understand what this is connected with and I need help to fix this annoying error.