void main() { int delayID = 5001; //keep this the same as defined in lel_gong. int gongTimer = GetLocalInt(OBJECT_SELF, "gongTimer"); if(gongTimer > 0) { gongTimer--; SetLocalInt(OBJECT_SELF, "gongTimer", gongTimer); DelayCommand(60.0, SignalEvent(OBJECT_SELF, EventUserDefined(delayID))); } }