can someone help me with these script? i'm trying to run my script and getting error getting confused with cases
here's my script , im getting error on line 18, unexpected character.
Thank you.
//=======Event Changer ============
cast_town,160,180,6 script Event Handler 634,{
mes "[^880000Dungeon Assistant^000000]";
mes "Welcome, " + (Sex?"Mr.":"Mrs.") + " " + strcharinfo(0);
mes "I am the Sexy Event Handler at this town~";
mes "How may i help you today?";
next;
switch(Select("^000088Visit Shop^000000:Information")){
case 1:
switch(Select(^000088Use Event Points^000000":Use Event Coins")){
next;
case 1:
close;
callshop "eventpoints",1;
end;
}
case 2:
switch(Select(^000088Castle Drops^000000":Cards:Cancel")){
case 1:
callshop "eventcastle",1;
end;
}
case 2:
callshop "eventcards",1;
end;
}
}
// ===== Shops =========
- pointshop eventpoints -1,#event_points,20018:10000,20193:12000,20326:12000,20351:11000
- pointshop eventcastle -1,#event_coins,20018:10000,20193:12000,20326:12000,20351:11000
- pointshop eventcard -1,#event_coins,20018:10000,20193:12000,20326:12000,20351:11000
Question
Takuyakii
Hello rA,
can someone help me with these script? i'm trying to run my script and getting error getting confused with cases
here's my script , im getting error on line 18, unexpected character.
Thank you.
//=======Event Changer ============ cast_town,160,180,6 script Event Handler 634,{ mes "[^880000Dungeon Assistant^000000]"; mes "Welcome, " + (Sex?"Mr.":"Mrs.") + " " + strcharinfo(0); mes "I am the Sexy Event Handler at this town~"; mes "How may i help you today?"; next; switch(Select("^000088Visit Shop^000000:Information")){ case 1: switch(Select(^000088Use Event Points^000000":Use Event Coins")){ next; case 1: close; callshop "eventpoints",1; end; } case 2: switch(Select(^000088Castle Drops^000000":Cards:Cancel")){ case 1: callshop "eventcastle",1; end; } case 2: callshop "eventcards",1; end; } } // ===== Shops ========= - pointshop eventpoints -1,#event_points,20018:10000,20193:12000,20326:12000,20351:11000 - pointshop eventcastle -1,#event_coins,20018:10000,20193:12000,20326:12000,20351:11000 - pointshop eventcard -1,#event_coins,20018:10000,20193:12000,20326:12000,20351:11000
EDIT: SOLVED BY USING MENU.
Edited by TakuyakiiTHANKS!
Link to comment
Share on other sites
1 answer 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.