dim killcount
killcount = world.getvariable ("AAAKillCount")
if killcount = cint(world.getvariable ("AAADeathCount")) then
world.note "It's working, " & killcount & " killed."
killcount = 0
world.setvariable "AAAKillCount", killcount
for i = 1 to cint(world.getvariable("AAADeathWalk"))
world.send "east"
world.send "west"
next
world.send "put all.cor barrel"
world.doafter 6, "kill dummy"
else
killcount = killcount + 1
world.setvariable "AAAKillCount", killcount
world.note "My kill count is: " & world.getvariable ("AAAKillCount")
world.send "kill dummy"
end ifThe problem is it does the loop wrong... It always does the first part of the if statement, it never seems to do the second part of the statement.
I think the problem is in the operator....
I dunno, I've not had much luck in greater than or equal to, or less than or equal to