void main() { if(GetLocalInt(OBJECT_SELF, "Warning_said") != TRUE) { AssignCommand(GetEnteringObject(), ActionSpeakString("*You start to feel overcoming evil after this door... It maybe wise to think twice if you go there or not.*")); SetLocalInt(OBJECT_SELF, "Warning_said", TRUE); DelayCommand(120.0f, SetLocalInt(OBJECT_SELF, "Warning_said", FALSE)); } }