Hello guys. AND
I'm having difficulty creating a daily quest script, I've tried in several ways, I've been successful in quest's, but the team does not work, I wanted to use the time setting from within db / re / quest_db
can anybody help me?
And if possible explain the code, because I want to seize too.
Thank you
Att: Hidan
Spoiler
Quote
prontera,150,170,5 script Testing98,{//set .@i,3;set.@quest,checkquest(7122,PLAYTIME);// 4 hoursswitch(.@quest){case-1:
mes "[Testing]";
mes "Want to do some quest?";
next;switch(select("Yes:No")){case1:
mes "Mission accepts";
setquest 7122;
close;case2:
mes "Bye bye";
close;}case1:
mes "[Testing]";
mes "Oh !! It seems like you did well.";
getexp 150,150;
dispbottom "You have been rewarded with 150 EXP";//erasequest 7122; // remove the user's quest log.
completequest 7122;// Sets quest status to "complete.
close;case2:
mes "[Testing]";
mes "You are still in cooldown, wait 90 seconds";//dispbottom "You are still in cooldown, wait 90 seconds";//end;
close;}OnPCLoadMapEvent:if( strcharinfo(3)== strnpcinfo(4)){//showevent(QTYPE_QUEST,0);
showevent 0,0;
end;}else{//showevent(QTYPE_QUEST2,1);
showevent 1,2;}}
prontera mapflag loadevent
Question
Hidan
Hello guys. AND
I'm having difficulty creating a daily quest script, I've tried in several ways, I've been successful in quest's, but the team does not work, I wanted to use the time setting from within db / re / quest_db
can anybody help me?
And if possible explain the code, because I want to seize too.
Thank you
Att: Hidan
Link to comment
Share on other sites
7 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.