void CreateItemOnObjectVoid(string sItemTemplate, object oTarget=OBJECT_SELF, int nStackSize=1)
{
CreateItemOnObject(sItemTemplate, oTarget, nStackSize);
}

//Put this script OnOpen
void main()
{
object oPC = GetLastOpenedBy();
if (!GetIsPC(oPC)) return;
int DoOnce = GetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF));
if (DoOnce==TRUE) return;
SetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF), TRUE);

DelayCommand(8000.0, CreateItemOnObjectVoid("thequeensdiary", OBJECT_SELF));

DelayCommand(30000.0, CreateItemOnObjectVoid("note2looter", OBJECT_SELF));

}