ooh that mod is going to be problematic and have some bad compatibility problems.
If someone is using plornt's improved duplicator, they will have many ghost bricks attached to their client. If you just delete the first one, then all the sudden you are going to have a whole bunch floating there unbound to anything that you won't be able to do anything about.
I also suggest not putting it in a package and not having it spam the user for using the command to clear all ghost bricks if there are clients without ghost bricks
//ClearGhostBricks
function servercmdClearGhostBricks(%client)
{
if(%client.isAdmin) //super admins automatically also have isadmin true
{
for (%c = 0; %c < ClientGroup.getCount(); %c++)
servercmdcancelbrick(ClientGroup.getObject(%c));
}
}
function serverCmdClearGhostBrick(%client, %input)
{
if(%client.isAdmin)
{
%target = findclientbyname(%input);
if(isObject(%target))
servercmdcancelbrick(%target);
else
messageClient(%client,'',"\c6Player \c3" @ %input @ "\c6 doesn't exist");
}
}