That's the problem.
It automatically trims the space, so even if I rename the archetype to have a space it will be trimmed.
PHP Code:
if (clientr.(@"item-Gold Platemail ").size() >= 1) {
clientr.(@"item-Gold Platemail") = {clientr.(@"item-Gold Platemail")[0] + clientr.(@"item-Gold Platemail ")[0],"armor/chest/goldplatemail"};
clientr.(@"item-Gold Platemail ") = "";
}