being inspired by the magic system of D&D, I wanted to make spells that could only be cast when a certain item was in the players inventory, and which removed that item on casting.
Taking a good look at the transmute spell, I decided to begin with making a spell that removed a certain item. However, Whenever I cast this self-made spell, absolutely nothing happened. I even went so far as to copy the entire transmute script and cutting out the useless parts, but nothing seemed to work.
Could Anyone please help me? If anyone knows how to write these kind of scripts, and would show them to me, I would be eternally in that persons debt
