registerOutputEvent(fxDTSBrick,"CreateGroup","", 0, 1);
function fxDTSBrick::CreateGroup(%this,%client)
{
commandToClient(%client,'OpenGroupNaGUI');
}
this code runs perfectly fine, your probably executing the register function inside a package or other code has errors in it