Add a for tag (start, end, increment):

<?xml version="1.0" encoding="UTF-8"?>
<isl debug="true" loop="1" offscreen="true" sleep="60.0minutes">
  <for start="5" end="20" increment="2">
     <echo message="printing index ${index}"/>
  </for>
</isl>