ScriptName AttachThisObjectScriptToYourNPCInt bReplaceStuffBegin GameMode If (GameHour >= 22) != bReplaceStuff Set bReplaceStuff to (bReplaceStuff == 0) If bReplaceStuff RemoveItem EditorID 1 AddItem EditorID 1 EndIf EndIfEndIf...should do it.
ScriptName AttachThisObjectScriptToYourNPCshort bReplaceStuffBegin GameMode If (GameHour >= 22) && (bReplaceStuff == 0) Set bReplaceStuff to 1 RemoveItem item1 1 AddItem item1 1 RemoveItem item2 1 AddItem item2 1; ... ElseIf (GameHour < 22) && (bReplaceStuff == 1) Set bReplaceStuff to 0 endifEndIf
ScriptName AttachThisObjectScriptToYourNPCshort bReplaceStuffBegin GameMode If (GameHour >= 22) && (bReplaceStuff == 0) Set bReplaceStuff to 1 RemoveItem item1 1 AddItem item1 1 RemoveItem item2 1 AddItem item2 1; ... ElseIf (GameHour < 22) && (bReplaceStuff == 1) Set bReplaceStuff to 0 endifEndIf