Is 'MsgError' actually a function?
also what are you returning when you do?:
return;
Maybe that's confusing it?
return; ends the function lol.
MsgError is a string which plays a sound lol.
Learn about this stuff before trying to help please.
call setModpaths(getModpaths()); or discoverFile("add-ons/script_ragequit.zip"); before executing it if you modify files in a zip. Otherwise it will only read the file to the old length and cut off the rest.
Yeah, I had it in a folder because I thought I was done coding it then I went to test it, so didn't do setModPaths(getModPaths));
Thanks zeb, also nexus, I normally don't put them in .zips, for wip code I put in base/whatever.cs so yeah.