PDA

View Full Version : Problem Importing Scripts



SpacemanDan
03-16-2008, 02:47 PM
Whenever I try to import most scripts, I always get one error or another about it not working. Bear in mind, I'm importing scripts that nobody else is having a problem importing. (There's so many, I can't even try to list them.) Any ideas as to what's going on?

Gleeok
03-16-2008, 02:52 PM
Can you specify the error or say what script is giving you problems? Are these scripts in the AGN scripting forums? I pretty much know most of them, especially the ones I've posted. I'ts most likely something minor.

SpacemanDan
03-16-2008, 02:55 PM
Majority of the errors I get tend to be something that was undeclared or undefined or something like that. (But I may be wrong. I'm not at home right now, so I can't check.) I found all the scripts that I try to import here on the forums.

Gleeok
03-16-2008, 03:01 PM
Did you include


import "std.zh"


once at the top of your .z file?

SpacemanDan
03-16-2008, 03:06 PM
Bingo! That has to be it. I just re-looked at the scripts I tried to use, and they ddn't include that line. So, all I have to do is put that at the top of the script file, and it should work?

Gleeok
03-16-2008, 03:20 PM
Yeah, that should do her. ;)

SpacemanDan
03-16-2008, 03:34 PM
Thanks for the help! :D