http://www.eqemulator.net/wiki/wikka...a=QuestObjects
these are all of the available parameters
Code:
$client->DeleteItemInInventory($slotID, $quantity, $updateClient)
quantity is set to 0 by default, which deletes the entire stack. update client is set to false by default, which probably causes the behavior you are seeing now.
you probably want to change client_update to true (1).
Code:
$client->GetItemAt(slotid)->GetCharges()
will show you the stack size