A: that is the full code, or as far as I can see. It's repeating so fast it fills the console immediately.
B: Yeah, I made the map, bots, minigame before. Started it up again after loading said save and once I start the minigame that's when the code goes berserk. It seems to be a random issue at this point, I simply switched from the script_defaultminigame mod to the server_defaultminigame alternative and I haven't had the issue since.