Assuming wardrobe is an object, this absolutely should work.
is_exists "nice_suit" should test for if the suit currently exists (is anywhere in the game).
has_not_create "nice_suit" will return true if it has NEVER existed, whether or not it exists right now.
: match "examine wardrobe" {
: if (is_present "wardrobe") {
: if (has_not_created "nice_suit") {
:print "You look inside the wardrobe and locate a good-looking outfit, and lay it on the bed.";
:create "nice_suit";
:press_any_key;
:redescribe;
}
}
}