According to the rules here, commands are resolved in the following order:
But I’ve been taking a look at the engine source code, and the order seems to actually be
Is my understanding correct? If so there is an error either in the code or in the rules page.
Having fun working on my bot - thanks for organizing another great challenge