Trouble with pokemon following me script.

Here is the guide that I went off of. http://www.pokecommunity.com/showthread.php?t=316403

I am at the part where the title says: HOW TO USE THE SCRIPT

Im not sure what to do at this point and I tried testing the game to get this error:Script 'Following Pokemon' line 187: SyntaxError occured

This is where the error occurs: line 187 if events && events [8]=="Dependent"

 

Below are attached pictures of the error.

 

NOTE: I believe it has something to do with "Dependent", I do not have any events made yet for this script and if im suppose to have some made Please help on how I should go about making it. 

error.png

error1.png
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.


Please take a look at those screenshots - that is WAY too small to be able to read the text.


Is that the full error message? I'd expect it to say exactly what it's having trouble with.

Original thread: https://forums.rpgmakerweb.com/threads/trouble-with-pokemon-following-me-script.38077/