I found an add-on that adds the MiniGame and Bot targets to the onRelay, so I modified the script:
//Original script by Visolator/Advanced Bot:
//http://forum.blockland.us/index.php?topic=251989.0
//Modified by Legojak
registerInputEvent(fxDtsBrick,"onPrintCountUnderFlow","Self fxDtsBrick" TAB "Player Player" TAB "Client GameConnection" TAB "Minigame Minigame");
function fxDTSBrick::onPrintCountUnderFlow(%obj, %client)
{
%mini = getMinigameFromObject(%client);
$InputTarget_["Self"] = %obj;
$InputTarget_["Player"] = %client.player;
$inputTarget_["Client"] = %client;
$inputTarget_["Minigame"] = %mini;
%obj.processInputEvent("onPrintCountUnderFlow", %client);
}
registerInputEvent(fxDtsBrick,"onPrintCountOverFlow","Self fxDtsBrick" TAB "Player Player" TAB "Client GameConnection" TAB "Minigame Minigame");
function fxDTSBrick::onPrintCountOverFlow(%obj, %client)
{
%mini = getMinigameFromObject(%client);
$InputTarget_["Self"] = %obj;
$InputTarget_["Player"] = %client.player;
$inputTarget_["Client"] = %client;
$inputTarget_["Minigame"] = %mini;
%obj.processInputEvent("onPrintCountOverFlow", %client);
}
Solved and locked.