mikemike Posted August 8, 2013 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 40 Reputation: 0 Joined: 07/21/12 Last Seen: June 26, 2014 Share Posted August 8, 2013 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.. Quote Link to comment Share on other sites More sharing options...
Patskie Posted August 8, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 13 hours ago Share Posted August 8, 2013 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; } Quote Link to comment Share on other sites More sharing options...
Question
mikemike
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.