Sorry about the incomplete post above - I clicked the wrong button and then my internet connecton failed.
Since you're not using the default battles, you're limiting the number of people who can help you.
In default, agility only influences when the enemy/actor will act in that turn - but in another battlesystem (especially those who aren't turn based) agility can have any effect chosen by the scripter.
Since the number of people who can give specific help is limited, you're the one that has to make the testing to check for possible errors - including removing parts that are functional until you have identified the part that has the bug.
First, check if the problem is with the content of the event by making a similiar event in a temporary troop that contains nothing but a show text command.
The turn formula you used in the event indicates that in default battle system, it should run every turn starting with the second turn.
But if MOG made an active time battle, it might very well be that he disabled the turns completely - then this approach wouldn't work anyway.
If turns are used in MOG's battle system and it still doesn't work, then you need to remove the other troop events until the turn condition works, and then check the last event removed what in that might have caused the error.
If the troop event is triggered correctly once everything but a show text is removed, then you'll add the other commands again, checking after each added command if it still works until you've found the problem.