Hi, i am trying to add an warper which warp for an amount of an Item,
and getting these errors:
Quote
[Error]: Loading NPC file: npc/custom/casinowarper.txt
script error on npc/custom/casinowarper.txt line 9
script:add_word: invalid word. A word consists of undercores and/or alphanumeric characters, and valid variable prefixes/postfixes.
4 :
5 : mes "Welcome to Jazeera Casino,";
6 : mes "the entry costs: 3 EXT";
7 : switch(select("Enter Casino","Cancel.")) {
8 : case 1:
* 9 : next;'?'
10 : mes "Lets go, good luck!";
11 : if( .EXT < 3 close;
12 : .EXT -= 3 warp 2,5,1@gef_in,68,170;
13 :
14 : break;
The NPC Code :
Quote
1@gef_in,74,144,3 script Casino Employee 109,{
set .EXT,7539;
mes "Welcome to Jazeera Casino,";
mes "the entry costs: 3 EXT";
switch(select("Enter Casino","Cancel.")) {
case 1:
next;?
mes "Lets go, good luck!";
if( .EXT < 3 close;
.EXT -= 3 warp 2,5,1@gef_in,68,170;
break;
}
next;
mes .name$;
mes "ok, se you.";
case 2: goto(OnCancel); break;
end;
}
I dont get it,
Maybe someone is able to help, thanks for your help!
Question
noaim90
Hi, i am trying to add an warper which warp for an amount of an Item,
and getting these errors:
The NPC Code :
I dont get it,
Maybe someone is able to help, thanks for your help!
// WIthout ? in Line 9 i get error in Line 11
Edited by noaim905 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.