Kelvintaph Burgler, hero dies right away!

Yes. Command them to move, but you can do this level with only the paladin that survives

// What eldritch artifacts are these? Don't let them blast you!
// The ice gate will open when both ogres are defeated.
var friend = hero.findFriends();
hero.buildXY("fence", 23, 13);
while (true) {
    var enemy = friend.findNearestEnemy();
    if (enemy) {
        hero.command(friend, "attack", enemy);
    }
}

it isnt letting me move them how do I command

Can you help me? Please?

Before you check while hero.time < the time when the troops arrive

i dont understand(20 characters)

Tell them to move while they do not spot the enemy

ok but how do i write while(“do not see enemy”)

while("does not see enemy") {
//command to move
}

Like that?(20 chars)

Can you please help?

@AnSeDra can you please help

Can someone please help I have been stuck on this level a week already.

Help is required!!!

Someone! anyone please?

Help me please!!!

I will help, but now I am a little busy

great this is my code:

// What eldritch artifacts are these? Don't let them blast you!
// The ice gate will open when both ogres are defeated.
var friend = hero.findFriends();
hero.buildXY("fence", 23, 13);
while (true) {
    var enemy = friend.findNearestEnemy();
    if (enemy) {
        hero.command(friend, "attack", enemy);
    }
}

Help me please!!!

@AnSeDra help me please you said.