So this is what I'm thinking I would do: @loop SPAWN=0 INC SPAWN IF SPAWN==600 (five minutes) THEN Spawn item (would be a DEF) And so and so. Basically what J.P did, but with a DEF.