Okay I'd want to do something like this:
if current waypoint is > x and higher than x in the 'Spawn' waypoint section AND ypos is > x and xpos > x then
dosomething()
How I'd do that?
The thing is, the bot rarely crosses a special area it really shouldn't. But when it does that I want it to set some monsters to only kill if trapped and to NOT loot any. So it will run to the next waypoint and attack&loot everything again. I thought this would be the best method.