同样,用其他类似的写法AI也无法捕捉到触发器发送的命令,比如下面这个完全仿照混乱之治兽族第二关战歌部落官方AI写法的AI脚本: function process_commands takes nothing returns nothing local integer cmd local integer data loop exitwhen CommandsWaiting() == 0 set cmd = GetLastCommand() set data = GetLastData() call PopLastCommand() endloop