macro status
Shows whether or not a macro is currently running. If that's the case it shows the delay for the next command, the current line, overrideAI setting, whether or not it has finished and whether or not the macro registered to AI queue
範例:
# 本行為註解行孤兒巨集
孤兒(沒人管理的)巨集有可能發生──舉個例來說,當巨集在跑的時候使用了 ai clear 指令──這時該巨集就會變成孤兒巨集。那表示該巨集物件存在但無法繼續,because it requires the AI queue to contain the entry "macro" (or "deal") at the first place. 當 AI 序列被清除時,該"巨集"的 entry 會消失。
在 1.0.2 版之前這個問題必須要經由手動輸入 "macro stop" 來解決。在 1.0.2 及以上的版本你可以選擇應該要用什麼機制來解決此爭議。有三個方法可使用:
terminate 中止該巨集(相當於 macro stop)
reregister 重新註冊至 AI 序列,覆蓋其它的 entry。
這表示強迫該巨集繼續執行。
reregister_safe 當 AI 閒置時再重新註冊至 AI 序列。
這表示該巨集會在所有其它工作項目做完後繼續。