Thanks Ricker, i already know the form list "everything", but my goal is to check even if they are no vanilla items.
So i need to move to NVSE ? No way to do it without it ??
There's no way that I know of. Functions that manipulate inventory are pretty sparse in the vanilla scripting.
Well, there is a new vanilla scripting function GetContainerInventoryCount, but the current version of the Geck that we have will not compile it. It is used in a couple scripts after the 1.2 patch, vMojaveExpressControlBoxSCRIPT is one of them. Hopefully we'll get an update to the Geck after the next patch.
And the NVSE function I mentioned is actually used in a call by reference, so ignore the way I typed it above.
short iItemsset iItems to containerREF.GetNumItems