Here's the script:
ScriptName Z13InKit01ScriptShort GemTypeShort UsedBegin OnEquip Messagebox "Choose a type of gem to inspect:", "Flawed Pearl", "Flawed Topaz", "Flawed Ruby", "Flawed Sapphire", "Flawed Emerald", "Flawed Diamond" Set Used to 1EndBegin GameMode If Used >= 1 Set GemType to GetButtonPressed If GemType == 1 MessageBox "You don't have any flawed pearls." endif If GemType == 2 Messagebox "You don't have any flawed topaz." endif If GemType == 3 MessageBox "You don't have any flawed ruby." endif If GemType == 4 MessageBox "You don't have any flawed sapphire." endif If GemType == 5 MessageBox "You don't have any flawed emerald." endif If GemType == 1 MessageBox "You don't have any flawed diamond." endifendifEnd