Hello i made these script 6 years ago and back then it never gave an issue but i recently decided to open another ro server and I'm getting a mapserver error. The error is "incorrect use of 'close' command. This is the script. i would like to know what changed so i can fix the script. thanks
daisy_01,279,275,4 script -::-03 111,{
cutin "wpage08",3;
npctalk "Looks like one of the diary's page";
npctalk "Do you wish to take the diary's page?";
menu "Hmm, yea seem useful.",L_page08,"Naa, it's a waste of inventory space.",L_end3;
L_page08:
if(countitem(37009) != 0 ) goto L_got;
getitem 37009,1;
close;
L_got:
npctalk "You have 1 already";
close;
L_end3:
npctalk "You left the diary's page.";
close;
}
Question
mirabell
Hello i made these script 6 years ago and back then it never gave an issue but i recently decided to open another ro server and I'm getting a mapserver error. The error is "incorrect use of 'close' command. This is the script. i would like to know what changed so i can fix the script. thanks
daisy_01,279,275,4 script -::-03 111,{ cutin "wpage08",3; npctalk "Looks like one of the diary's page"; npctalk "Do you wish to take the diary's page?"; menu "Hmm, yea seem useful.",L_page08,"Naa, it's a waste of inventory space.",L_end3; L_page08: if(countitem(37009) != 0 ) goto L_got; getitem 37009,1; close; L_got: npctalk "You have 1 already"; close; L_end3: npctalk "You left the diary's page."; close; }
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.