Yup, if (blah) for some reasno also checks for another flag to be true, so if you put a constant timeout loop in the NPC which should show it should work, like this to be exact:
NPC Code:
if (created||timeout) {
if (blah) {
show;
}
else {
hide;
}
timeout = 0.05;
}