I have made a Testing spell called Disenchanting Spell and it works fine. The script will check automatically if the player has any of the items in the property script available in his inventory, if yes, it will execute the script (Disenchant) if not it will display the message.
Now thats not where I want to stop, What I would like to do is, if possible you guys can help me on this script on how to add the proper codes in order to open a Gui or some sort of a message box.
So, after the player cast the spell, the script will detect if the player has any on these the 2 prorerties in his inventory, Open the Message Box or the gui, display the 2 properties in the box, player will select any of the properties by left clicking on its name, and press ok, then the script will execute the disenchant after pressing OK.
here is my script spell