Jump to content
  • 0

R>Daily Quest For ZENY ( Account BOUNDED per QUEST )


mikemike

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  40
  • Reputation:   0
  • Joined:  07/21/12
  • Last Seen:  

i hope someone can help me to this script.. i want a daily quest for zeny and its acount based bounded. i hope someone can help me the script..

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

Try : 

 

prontera,150,150,0    script    Quest    100,{
    
    if ( gettimetick(2) < #timer ) {
        mes .npc$;
        mes "You can do the quest once a day";
        close;
    }

    mes .npc$;
    mes "Here are my requirements : ";
    while ( .@i < .size ) {
        mes .requirements[.@i + 1] + "x " + getitemname(.requirements[.@i]);
        set .@i, .@i + 2;
    }
    next;
    while ( .@i < .size ) {
        if ( countitem(.requirements[.@i]) < .requirements[.@i + 1] ) close;
        set .@i, .@i + 2;
    }
    mes .npc$;
    mes "Nice nice nice ~ ";
    set Zeny, Zeny + .prize;
    set #timer, gettimetick(2) + 86400;
    close;
    
    OnInit:
        set .npc$, strnpcinfo(1);
        setarray .requirements[0],7227,5,7179,5; // <item id>,<amount> this is for requirements
        set .prize, 1000000; // Zeny prize
        set .size, getarraysize(.requirements);
        end;
}
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...