(Another) problem with Thaeldon's scripts

Posted by Kozan on Fri 20 Jul 2001 10:47 AM — 3 posts, 13,831 views.

#0
I have downloaded the valuer2, mobfaction and itemid scripts. I want to get them all to work, but don't know how. I can get just one of the scripts working at a time by choosing that file to be the script i use, and loading it, but if i choose one of the other files to be the script to load that, my old one doesnt work =(
e.g. I set scipt file to be itemid.jvs, and type /SetupID() and it works fine. But I also want the valuer2 to work, so i change script file from itemid.jvs to valuer2.jvs, and then my id script doesn't work.
I tried making one big file and copy/pasting all the scripts into this one file, but that didn't work either =(

Please can someone help me and enlighten me on exactly how to get all the scripts working.
Thanks
Australia Forum Administrator #1
You want one big file. The program only reads one script file at a time, so I would expect what you described to happen if you keep changing them.

Make one file, paste each script into it, and then make the big file your script file.

If that doesn't work, can you tell use in what way it doesn't? (ie. the error message).
#2
I got it working =)
Previously, i had tried putting all the scripts in one big
file but it hadnt worked. The mistake i had made was i had
saved it as a .jvs file instead of a .js file.
Thanks for the help =)
Kozan