Jump to content
  • 0

i think i seriously messed up


kurosuki

Question


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   0
  • Joined:  10/31/14
  • Last Seen:  

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 :P can someone please help fix this.

Thanks alot!

}

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   382
  • Joined:  02/03/12
  • Last Seen:  

Yeah you screwed up big time! /pif

 

Next time use code box :o

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.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   0
  • Joined:  10/31/14
  • Last Seen:  

Thanks a lot :)


Its wierd but it doesnt work for me :s

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  177
  • Reputation:   21
  • Joined:  01/31/12
  • Last Seen:  

Codeboxes work for everyone. https://rathena.org/board/forum-32/announcement-3-codeboxes/Just read and do

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

It's

if ( checkquest(20501,HUNTING) == 0 || checkquest(20501,HUNTING) == 1 )

for active quest

== 2 for completed

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...