function setprinty(%id)
{
%id.setPrint(49);
%id.schedule(125, setprint, 48);
}
function setprintyloop(%id)
{
cancel($spl);
if(!isObject(%id))
return;
$spl = schedule(250, 0, setprintyloop, %id);
setprinty(%id);
}
Copy that into a .cs file, then plant a print brick. look at the print brick and type /getid.
use the id in the following CONSOLE COMMAND
setPrintyLoop(IDHERE);
to stop the loop, type the following:
cancel($SPL);
It ought to toggle between the A and B prints.