I am using the tutorial script (tutorial 3.5) for adding "self effects" but each time I enter combat and use a spell that gives me a self effect it gives me an error:
script "selfeffectscript" line 37 nomethod error occured
undefined method [] for nil:nilclass
Please give a link to the script you are referring to, preferably the web page where it is described and where there might be some discussion about it. No one can guess what line 37 does if no one can see what the script says at that point.
Actually this is a known problem - the tutorial requires you to download a script and add it to your game, but it left that information out and the update hasn't been posted. Please do a search for tutorial script and see what threads turn up - at least some of them should have a link to the script you need.