as title above, i just need help to add account bound and base lvl restriction cmd in this script, and player can only retake the quest after 24 hour wait duration is finish.
Spoiler
moc_para01,39,36,5 script QuestManager2732,{if(countitem(40056)<1){
soundeffect "menu.wav",0;
mes "[^FF7700Quest Manager2^000000]";
mes "Oh hello, im sorry,";
mes "it seems you are not yet a register";
mes "as a guild member, kindly register yourself";
mes "at front desk to start accepting quest.";
close;}
soundeffect "menu.wav",0;
mes "[^FF7700Quest Manager2^000000]";
mes "Hello, Please Select Quest";
next();switch(select("- Hunting Quest:- Collecting Quest:- Nothing")){case1:
clear;
soundeffect "menu.wav",0;
mes "[^FF7700Quest Manager2^000000]";
mes "Please select a quest";switch(select("- Prontera Field 01 (Level 1-20):- Cancel")){case1:
clear;
soundeffect "menu.wav",0;
mes "[^FF7700Quest Manager2^000000]";
mes "Please hunt and kill the following";
mes "-300 Poring";
mes "-300 Fabre";
mes "-300 Pupa";
next;
mes "=================";
mes "Reward:";
mes "2100 base exp";
mes "2100 job exp";
mes "1 GMC";
mes "1 Supply Box";switch(select("- Take Quest:- Submit Completed Quest:- Cancel")){case1:if(gettimetick(2)-CooldownQuest<(60*60*24)){
clear;
soundeffect "menu.wav",0;
mes "[^FF7700Quest Manager2^000000]";
mes "Sorry you have to wait 24 Hours until you can do the Quest again!";
close;}if(checkquest(120000)==-1){
clear;
soundeffect "menu.wav",0;
mes "[^FF7700Quest Manager2^000000]";
mes "You have taken this quest, good luck !";
setquest 120000;}else{
clear;
soundeffect "menu.wav",0;
mes "[^FF7700Quest Manager2^000000]";
mes "Sorry, but you already have this quest.";}break;case2:if(checkquest(120000)==0|| checkquest(120000)==1){
clear;
soundeffect "menu.wav",0;
mes "[^FF7700Quest Manager2^000000]";
mes "Well done!";
mes "here is your rewards";
getitem 40221,1;
getitem 40222,1;
getexp 2100,2100;
erasequest 120000;setCooldownQuest,gettimetick(2);}elseif(checkquest(120000)==-1){
clear;
soundeffect "menu.wav",0;
mes "[^FF7700Quest Manager2^000000]";
mes "It's look like you have not take the quest";}break;case3:
end;}case2:
end;}case2:
clear;
soundeffect "menu.wav",0;
mes "[^FF7700Quest Manager2^000000]";
mes "WIP";
close;case3:
end;}}
Question
Dolphin86
as title above, i just need help to add account bound and base lvl restriction cmd in this script, and player can only retake the quest after 24 hour wait duration is finish.
Link to comment
Share on other sites
3 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.