You would probably be better off asking your question on the forums at the vault.
To alter scripts, you need to go into the Toolset. This is not at all a trivial exercise, especially if you don't have a programming background, and creating new spells is a fairly advanced topic. I would recommend becoming familiar with what is available in the toolset first. There are some excellent
tutorials at the vault.