Well thank you all for the comments, but i still cant get it to work after trying all suggestions because of the same error.

One thing i must add though is this is not all my script. I used a very small part of a sample (work10) from a tutorial called C-script.

One thing i noticed is the script works perfect when i open of the WED file for WORK 10.


~RandomHero~