mrlongshen 22 Posted October 24, 2016 Hi, I have some simple script. Can someone modified it ? Multiple selection. e.g Quest A, Quest B, Quest C When user complete Quest A, get reward zeny + item. Same also to quest B and C, adjustable via config Add showevent(1,0) Add simple ladder to show the ranking top 10 quest maker. If someone willing to do it let me know. For quest_db and questid2display.txt its own me. prontera,155,181,5 script Sample#quest 757,{ .@i = select( .menu$ ) - 1; switch( questprogress( .quest_id[.@i],HUNTING ) ) { case 0: setquest .quest_id[.@i]; mes "quest started."; break; case 1: mes "you havent finish the quest."; if ( select( "Give up","Cancel" ) == 1 ) { erasequest .quest_id[.@i]; } break; case 2: mes "Well done, you completed the quest."; completequest .quest_id[.@i]; break; } close; function Quest { .quest_id[.quest_id_size] = getarg( 0,0 ); .quest_title$[.quest_id_size] = getarg( 1,"" ); .menu$ = .menu$ + .quest_title$[.quest_id_size] + ":"; .quest_id_size++; return; } OnInit: Quest( 60119,"Hunt 50 Alligator" ); Quest( 60120,"Hunt 100 Alligator" ); Quest( 60121,"Hunt 150 Alligator" ); end; } Quote Share this post Link to post Share on other sites
0 rokimoki 19 Posted October 25, 2016 (edited) Easy to add with a new SQL table, if you want I can help you with that. Edited October 25, 2016 by rokimoki Quote Share this post Link to post Share on other sites
0 mrlongshen 22 Posted October 30, 2016 Easy to add with a new SQL table, if you want I can help you with that. Please help me. I want to use the quest alt+u also Quote Share this post Link to post Share on other sites
Hi,
I have some simple script.
Can someone modified it ?
If someone willing to do it let me know. For quest_db and questid2display.txt its own me.
Share this post
Link to post
Share on other sites