kurosuki Posted February 14, 2015 Posted February 14, 2015 prt_in,73,132,3 script Squishy Pinky Poring 1002,{ //poring if (checkquest(20501,HUNTING) != 0 || checkquest(20501,HUNTING) != 1) { //Active. mes "Still here?"; mes "Go Continue killing 500 Porings"; end; } if (checkquest(20501,HUNTING) != 2) { // Completed. mes "Po~~Poring~"; mes "Your a great Poring Killer"; emotion e_kis; close; } } } else { mes "[ " + strnpcinfo(1) + " ]"; mes "Po~~Poring~"; mes "Well Done"; getexp 3000,500; erasequest 20501; close; } } } mes "[ " + strnpcinfo(1) + " ]"; mes "Po~~Poring~"; mes "You seek adventure?"; next; switch(select("Yes:No")) { case 1: mes "[ " + strnpcinfo(1) + " ]"; mes "Really?!"; mes "That's great!"; next; mes "[ " + strnpcinfo(1) + " ]"; mes "Please kill 500 Porings"; mes "The Reward will be of great Fortune"; next; mes "Po~~Poring~"; mes "Goodluck killing 500 Porings!"; close2; setquest 20501; end; case 2: mes "[ " + strnpcinfo(1) + " ]"; mes "Your Missing some great Treasure here"; close; } } --------------------------------------------- --------------------------------------------- I think i screwed too much around can someone please help fix this. Thanks alot! } Quote
Skorm Posted February 14, 2015 Posted February 14, 2015 Yeah you screwed up big time! Next time use code box prt_in,73,132,3 script Squishy Pinky Poring 1002,{ //poring if ( checkquest(20501,HUNTING) != 0 || checkquest(20501,HUNTING) != 1 ) { //Active. mes "Still here?"; mes "Go Continue killing 500 Porings"; close; } if (checkquest(20501,HUNTING) != 2) { // Completed. mes "Po~~Poring~"; mes "Your a great Poring Killer"; emotion e_kis; close; } else { mes "[ " + strnpcinfo(1) + " ]"; mes "Po~~Poring~"; mes "Well Done"; getexp 3000,500; erasequest 20501; close; } mes "[ " + strnpcinfo(1) + " ]"; mes "Po~~Poring~"; mes "You seek adventure?"; next; switch( select("Yes:No") ) { case 1: mes "[ " + strnpcinfo(1) + " ]"; mes "Really?!"; mes "That's great!"; next; mes "[ " + strnpcinfo(1) + " ]"; mes "Please kill 500 Porings"; mes "The Reward will be of great Fortune"; next; mes "Po~~Poring~"; mes "Goodluck killing 500 Porings!"; close2; setquest 20501; end; case 2: mes "[ " + strnpcinfo(1) + " ]"; mes "Your Missing some great Treasure here"; close; } close; } Or I'll be mad. 1 Quote
kurosuki Posted February 21, 2015 Author Posted February 21, 2015 Thanks a lot Its wierd but it doesnt work for me :s Quote
Luciar Posted February 23, 2015 Posted February 23, 2015 Codeboxes work for everyone. https://rathena.org/board/forum-32/announcement-3-codeboxes/Just read and do Quote
Capuche Posted February 23, 2015 Posted February 23, 2015 It's if ( checkquest(20501,HUNTING) == 0 || checkquest(20501,HUNTING) == 1 ) for active quest == 2 for completed Quote
Question
kurosuki
4 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.