what the heck are you talking about?
NO IDEA but maybe you can try something with this
pc.c
amount = item.amount;
script = id->script;
//Check if the item is to be consumed immediately [Skotlex]
if (id->flag.delay_consume)
clif_useitemack(sd, n, amount, true);
else
{
if( item.expire_time == 0 && nameid != ITEMID_REINS_OF_MOUNT )
{
clif_useitemack(sd, n, amount - 1, true);
pc_delitem(sd, n, 1, 1, 0, LOG_TYPE_CONSUME); // Rental Usable Items are not deleted until expiration
}
else
clif_useitemack(sd, n, 0, false);
}
This is what i would do