scn ScriptNameHereBegin OnEquip playerif player.getitemcount CrossbowBoltID >= 1 player.equipitem CrossbowBoltIDelseif player.getitemcount CrossbowBoltID < 1 messagebox "You have no usable ammunition." Player.unequipitem CrossbowIDendifend
scn ScriptNameHereBegin OnEquip playerif player.getitemcount CrossbowBoltID >= 1 player.equipitem CrossbowBoltIDelseif player.getitemcount CrossbowBoltID < 1 messagebox "You have no usable ammunition." Player.unequipitem CrossbowIDendifend
scn ScriptNameHereBegin OnEquip playerif player.getitemcount CrossbowBoltID >= 1 player.equipitem CrossbowBoltIDelseif player.getitemcount CrossbowBoltID < 1 messagebox "You have no usable ammunition." Player.unequipitem CrossbowIDendifendBegin GameMode If player.getequippeditem CrossbowID == 1 If player.getequippeditem CrossbowBoltID == 0 && Player.getitemcount CrossbowBoltID > 0 Messagebox "You must use the correct ammunition for this weapon." player.equipitem CrossbowBoltID Endif EndifEnd