Open alphappy opened 4 months ago
This would probably be done by making a callstack as mentioned in #11
This would probably be done by making a callstack as mentioned in #11
There already is a callstack, it's just that there is only one copy of each macro and it gets reinitialized each time a macro is called. #11 would just make the callstack visible to the user.
Currently, macros are static; if macro
A
executes itself (once, not endlessly), it resets its own state. For example, the following macro only runsR~20
once, regardless of where Slugcat starts. If non static, it would runR~20
once for everyL~20
.