How do I check (in scripts) if player has an inventory item?
if (character[CHARID].inv[invnum]!=0) {
//do what you want
}
You will need to replace CHARID with the script name of your character (default is EGO) and invnum with the number of the inventory item.