AIWander - Added support for the Repeat parameter to mimic vanilla.