Experiment! Use trace(1); to print all function calls to the console, then kick someone out of a minigame. Then do trace(0); to stop the console spam. Then sift through your console and find out. You could also package both functions to print something to the console when called.