Any of your tips not working, I did try with just remove item and also don't work. NPC work like he should, he even say "Thanks", engine don't show any error, but item is still on my inventory.
if msgcontains(msg, 'yes') then
doPlayerRemoveItem(cid, 1990, 1)...