I'm currently trying to make a water bottling mod (A mod that lets you bottle water from watersources), to train my scripting - as I am very new to it. So, after going through the script commands I found "begin onMagicEffectHit", though it doesnt seem to work ( I can't save the script as long as that line is in it) Anyways, heres my script, please tell me why I'm having theese problems. Again, I am a newbie to scripting, so any sort of help would be greatly appreciated. scriptname BGESSFillPurified
Begin onMagicEffectHit WaterHeal1Purified
if Player.GetItemCount BGESSEmptyBottle >= 1
Player.AddItem BGESSBottlePurified 1
Player.RemoveItem BGESSEmptyBottle 1
ShowMessage BGESSBottleFill
endif
End I found the onMagicEffectHit on the G.E.C.K commands website, so it should work (however it does not). The main Idea was that the script would run once the character is "hit" by the healing spell that the character would get from activating any kind of water source.