In the below images, you can see a debug message in the background that pops up then the container is activated.
http://img27.mediafire.com/a739143cd36534ede8b7197912289c893e877de01a61af700bcd58318175efd06g.jpg
http://img2.mediafire.com/122c2cf3a4183719f79cc11c13349f9e2c6dc2b70d5abd9acc214cc7e0c492fd6g.jpg
-----------------------------
The http://img23.mediafire.com/620d04f9c9d73b463edc9ba52b0b7f8c09c0cb06d02671e71074c0d134465c4e6g.jpg
The script on the container:
scn zzCountItemsScriptfloat fMsgVar1float fMsgVar2float fMsgVar3float fMsgVar4float fMsgVar5float fMsgVar6Begin OnActivate if (IsActionRef Player) set fMsgVar1 to GetItemCount Scotch set fMsgVar2 to GetItemCount Vodka set fMsgVar3 to GetItemCount Whiskey set fMsgVar4 to GetItemCount Ammo12Ga set fMsgVar5 to GetItemCount Yeast set fMsgVar6 to GetItemCount Apple ShowMessage zzCountItemsMESG, fMsgVar1 fMsgVar2 fMsgVar3 fMsgVar4 fMsgVar5 fMsgVar6 Activate endifEnd
The plugin:
http://download948.mediafire.com/7r4k4w4gu2dg/2ss313c3b3k359e/zzCount.zip
To launch it:
coc zzCount
Thanks
