myself->OwnItemCount(CSharedCreatureData*, int itemid)
returns Int with ammount in player inventory.
Dynamic html is generated with AI by fhtml- but is limited to AI.obj variables obviously.
Requires a handler with a FHTML0 object - like menu_selected
Declare a variable like this where you want the dynamic text\number.
Death Lord Hallate (<?var?>/1)
myself->FHTML_SetFileName(fhtml0,"test_html.htm");
myself->FHTML_SetInt(fhtml0,"var",5);
myself->ShowFHTML(talker,fhtml0);
Would change <?var?> to 5 as per FHTML_SetInt