The original code was
function servercmdPlantBrick(%client)
{
%brick = %client.player.tempBrick;
if(%brick.duplicationBrick)
{
//Duplorcator support
}
else if(%brick.dupStartBrick)
{
//Duplicator support
}
else
{
//Was not duplicated.
}
}
Of course, it was modified from this state because it doesn't just work like that when popped into the script.
%brick = %client.player.tempBrick;
was what I was referencing, but that overwrites %brick.