Script-started sequential battles

Hello

I'm trying to make the player fight several battles in sequence, through Scripts. I am calling them as described here: http://forums.rpgmakerweb.com/index.php?/topic/25759-script-call-collection-for-vxace/#entry247437

Like so:

Spoiler
battleList.each do |troop_id|

     BattleManager.setup(troop_id, e, l)
     BattleManager.event_proc = Proc.new {|n| @branch[@indent] = n unless @branch.nil?}
     $game_player.make_encounter_count
     SceneManager.call(Scene_Battle)
     Fiber.yield
However, whenever I run that, all that happens is the battle scenes flash in the screen. If I remove the "Fiber.yield", I just enf up fighting the same battle several times.
Can anyone shine a light on this?

Thanks a lot
What you want doesn't require a script:

[IMG]http://s4.postimg.org/osp92xpvx/Untitled3_1.png[/IMG]

[IMG]http://s21.postimg.org/4g1vpnl9z/eventarena.png[/IMG]

http://www.rpgmakervxace.net/topic/2177-solved-random-battle-arena/

Original thread: https://forums.rpgmakerweb.com/threads/script-started-sequential-battles.48167/