PDA

View Full Version : How to Place a Script



Gunther4
03-29-2009, 02:31 PM
I need to place a script in Zquest version 984. If I try to import the script I;m using (in a notepad) it does not show up. Can anybody help me?:(

Majora
03-29-2009, 02:33 PM
make sure the name of the file ends with .z and not .txt

ZScript files MUST be .z ZASM files are .txt

Gunther4
03-29-2009, 02:38 PM
OK, so I now have it in, but it says there is a compilation error. What is this?

Majora
03-29-2009, 02:41 PM
One of two things:

1) there is an error in the script itself
2) There is a bug with the program itself

If you can, take a snapshot (Print Screen [Prt Scrn key]) and upload it somewhere, and show. alternatively you can type out the error you get and post it.

Joe123
03-29-2009, 05:15 PM
Probably won't hurt to post the script too.


Just before you do though, make sure you have

import "std.zh"
at the top of your script file, and all the scripts you're using are in the same file.

Those are a couple of common problems that people get, the first might well be causing your compile error.