Try:
Spoiler ScriptName CheckForEgg Extends ReferenceAlias ; Attached to PlayerAlias{Checks for egg in inv}Actor Property PlayerREF Auto ; Much less expensive than GetPlayerIngredient Property Egg AutoQuest Property Pet AutoEvent OnInit() AddInventoryEventFilter(Egg) Utility.Wait(3.0) ; Wait for aliases to be filled or the egg will not be there as this alias is filled first If PlayerREF.GetItemCount(Egg) ; No space necessary after function/event names. >= is also unnecessary. Done() EndIfEndEventEvent OnItemAdded(Form akBaseItem, Int aiItemCount, ObjectReference akItemReference, ObjectReference akSourceContainer) If akBaseItem == Egg ; Code below will not fire if aiItemCount is 0 and it will never be < 0 Done() EndIfEndeventFunction Done() Pet.SetObjectiveDisplayed(30) Pet.SetStage(30)Endfunction
Just make sure all your properties are filled. I'm sure an OnContainerChanged event from the egg's script will fire when the egg is created if neither of those checks work.
this one for checking that i have a normal egg, the quest its meant to be as follows
Talk to npc
She request a Chicken egg (the ingridient)
once i have the egg i have to go to deliver the egg to the npc
the NPC will trade my chicken egg for a hatchable egg
after 3 days the egg will hatch and spawn a chicken wich we have to tal to to complete the quest
Edit:
Here are a couple of photos for better understanding
http://i1093.photobucket.com/albums/i437/necrogaz/Untitled1_zps62e68762.png
http://i1093.photobucket.com/albums/i437/necrogaz/Untitled2_zpsa0d1f121.png