Begin Mf_torch_toggleshort OnPcEquipshort TorchEquippedIf ( OnPcEquip == 1 ) set OnPcEquip to 0 if ( torchEquipped == 1 ) player-> additem, "chitin_shield" 1 player-> equip, "chitin_shield" player-> removeitem, "chitin_shield" 1 set TorchEquipped to 0 else If ( player->GetItemCount, "torch" > 0 ) <------ my game doeesnt like this line and the script stops here, but if i change it to look for torch_257 or any other torch it works fine. player-> equip, "torch" set TorchEquipped to 1 else Messagebox, "You no longer have a torch" player-> additem, "chitin_shield" 1 player-> equip, "chitin_shield" player-> removeitem, "chitin_shield" 1 set TorchEquipped to 0 endif endifendifend