I need some correction for this script :
que_qaru05,132,120,4 script Base Information#001 837,{
if (getgmlevel() >= 99) {
mes "[^00ff00Base Information Board^000000]";
mes " ";
mes "Hello Admin, do you want to configure this information board now?";
goto TOP;
TOP:
menu "Yes",Config,"No. Thank you.",NOPE;
Config:
next;
mes "[^00ff00Base Information Board^000000]";
mes " ";
mes "Please insert the Guild Name.";
input $GBGuild001$[0]; //Remember to change index when using on a different NPC or else it will overwrite.
next;
mes "[^00ff00Base Information Board^000000]";
mes " ";
mes "Please insert the Base Owner Name.";
input $GBOwner001$[0];
next;
mes "[^00ff00Base Information Board^000000]";
mes " ";
mes "Please check the configuration below :";
mes " ";
mes "Guild Name : ^00FFFF"+ $GBGuild$ +"^000000 ";
mes "Base Owner : ^4B088A"+ $GBOwner$ +"^000000 ";
next;
mes "[^00ff00Base Information Board^000000]";
mes " ";
mes "Everything perfect?";
next;
if(select("Yes:No") - 1) close;
mes "[^00ff00Base Information Board^000000]";
mes " ";
mes "This board will be update immediately.";
close;
} else {
mes "[^00ff00Base Information Board^000000]";
mes " ";
mes "Hello..";
mes "This base officially made for ^00FFFF"+$GBGuild$[0]+"^000000 Guild, and the owner of this base is ^4B088A"+$GBOwner$[0]+"^000000.";
next;
mes "[^00ff00Base Information Board^000000]";
mes " ";
mes "Please don't disturb others base!";
mes " ";
mes "If there's any report that you're";
mes "disturbing others base, you will be jailed!";
close;
}
NOPE:
next;
mes "[^00ff00Base Information Board^000000]";
mes " ";
mes "I will always be right here Admin.";
mes "See you again.";
close;
OnInit:
waitingroom "Base Information",0,0;
end;
}
- At line 7, if I choose "No", I need the NPC cancel the input that I've just do. Currently, "Yes" or "No" is no different.
- If you can make this script more simpler?
Thank you very much.