6-8 導きの光②
解説動画
※回答のブロックIDは236→237、35→41が正しいです。
解答コード
player.onChat("6-8", function () {
do {
agent.move(FORWARD, 1);
} while (!(agent.inspect(AgentInspection.Block, DOWN) == 133));
do {
agent.move(RIGHT, 1);
} while (!(agent.inspect(AgentInspection.Block, DOWN) == 152));
do {
agent.move(BACK, 1);
} while (!(agent.inspect(AgentInspection.Block, DOWN) == 57));
});