Here’s my code:
@moveXY 43, 50
topEnemy = @findNearest(@findEnemies())
if topEnemy
@buildXY 'fire-trap', 43, 50
@moveXY 25, 34
leftEnemy = @findNearest(@findEnemies())
if leftEnemy
@buildXY 'fire-trap', 25, 34
@moveXY 43, 20
bottomEnemy = @findNearest(@findEnemies())
if bottomEnemy
@buildXY 'fire-trap', 43, 20
It gives me “Syntax error on line 17: indentation is ambiguous”