switch(rand(1,3) ) {
case 1:
mes .@npcname$;
mes "Hello "+strcharinfo(0)+",";
mes "do you want to accept the Job?";
next;
switch(select("Yes,sure:No,sorry:Cancel")) {
case 1:
mes .@npcname$;
mes "Go to comodo and find Seo Jo!";
mes "she will explain the details.";
set changeq,1;
close;
}
case 2:
mes .@npcname$;
mes "Hello "+strcharinfo(0)+",";
mes "do you want to accept the Job?";
next;
switch(select("Yes,sure:No,sorry:Cancel")) {
case 1:
mes .@npcname$;
mes "Go to Alberta and find Jeo!";
mes "she will explain the details.";
set changeq,1;
close;
}
case 3:
mes .@npcname$;
mes "Hello "+strcharinfo(0)+",";
mes "do you want to accept the Job?";
next;
switch(select("Yes,sure:No,sorry:Cancel")) {
case 1:
mes .@npcname$;
mes "Awesome";
mes "Go to Al de Baran and find Celine!";
mes "she will explain the details.";
set changeq,1;
close;
}
}
}
i made 3 random quest,
1 will tell me to go comodo
2 will tell me to go alberta
3 will tell me to go alde baran
once he give me the first location i want him to stop giving another location.
and i want that he will just repeat the first location he gave me.