package MyPackage
{
function serverCmdSetWrenchData(%client, %string)
{
if (!%client.isAdmin && !%client.isSuperAdmin)
{
%count = getFieldCount(%string);
for (%i = 0; %i < %count; %i++)
{
%field = getField(%string, %i);
if (firstWord(%field) $= "IDB")
%string = setField(%string, %i, "IDB 0");
}
}
Parent::serverCmdSetWrenchData(%client, %string);
}
};
activatePackage("MyPackage");