switch (jobname(Class)) {
case "Acolyte":
mes "I'm an Acolyte";
break;
case "Thief":
mes "I'm a Thief";
break;
case "Merchant":
mes "I'm a Merchant";
break;
}
Above example produces
script error in file
parse syntax: expect ':'
(pointed in the double quotation mark after the case in `case "Acolyte"`)
Please enlighten me... Thanks
EDIT: fixed by just using the Class id for each job, thanks
Share this post
Link to post
Share on other sites