Jump to content
  • 0

Orb Exchanger NPC


Question

7 answers to this question

Recommended Posts

Posted (edited)


prontera,155,180,3 script Exchanger 1002,{

mes "Hi, what do you want?";

next;

menu "Exchange 3 "+getitemname(7257)+" to 1 "+getitemname(7255)+"",a1,

"Exchange 3 "+getitemname(7257)+" to 1 "+getitemname(7256)+"",a2,

"Exchange 1 "+getitemname(7255)+" to 3 "+getitemname(7257)+"",a3,

"Exchange 1 "+getitemname(7256)+" to 3 "+getitemname(7257)+"",a4,

"Cancel",quit;

quit:

mes "Come again later!";

close;

quit2:

mes "Thank you!";

close;

a1:

if (countitem(7257)<3) {

mes "Sorry, but you need 3 "+getitemname(7257);

goto quit;

} else {

delitem 7257,3;

getitem 7255,1;

goto quit2;

}

a2:

if (countitem(7257)<3) {

mes "Sorry, but you need 3 "+getitemname(7257);

goto quit;

} else {

delitem 7257,3;

getitem 7256,1;

goto quit2;

}

a3:

if (countitem(7255)<1) {

mes "Sorry, but you need 1 "+getitemname(7255);

goto quit;

} else {

delitem 7255,1;

getitem 7257,3;

goto quit2;

}

a4:

if (countitem(7256)<1) {

mes "Sorry, but you need 1 "+getitemname(7256);

goto quit;

} else {

delitem 7256,1;

getitem 7257,3;

goto quit2;

}

}

Edited by nanakiwurtz
  • Upvote 1
Posted

Can I request for an Orb Exchanger NPC?

 

How It Works :

  • Exchanges 7257 to 7255 & 7256 via.
  • 3 pcs 7257 = 1 7255 & 7256 via

 

Thank you :)

3pcs 7257 to exchange for a 7255

3pcs 7257 to exchange for a 7256

or 3pcs 7257 for 1 7255 and 1 7256?

Posted

 

Can I request for an Orb Exchanger NPC?

 

How It Works :

  • Exchanges 7257 to 7255 & 7256 via.
  • 3 pcs 7257 = 1 7255 & 7256 via

 

Thank you :)

3pcs 7257 to exchange for a 7255

3pcs 7257 to exchange for a 7256

or 3pcs 7257 for 1 7255 and 1 7256?

 

Yes it's vice versa

Posted

huh sry had to go D:

 

3 x 3 then?

because it doesn't make sense hive 3 pcs 7257 for 1 7255 and 7256 D:

 

You can exchange 3 pcs 7257 to 1 pc 7255

You can exchange 3 pcs 7257 to 1 pc 7256

 

You can exchange 1 pc 7255 to 3 pcs 7257

You can exchange 1 pc 7256 to 3 pcs 7257

Posted
prontera,155,180,3	script	Exchanger	1002,{
	mes "Hi, what do you want?";
	next;
	menu "Exchange 3 "+getitemname(7257)+" to 1 "+getitemname(7255)+"",a1,
	"Exchange 3 "+getitemname(7257)+" to 1 "+getitemname(7256)+"",a2,
	"Exchange 1 "+getitemname(7255)+" to 3 "+getitemname(7257)+"",a3,
	"Exchange 1 "+getitemname(7256)+" to 3 "+getitemname(7257)+"",a4,
	"Cancel",quit;
	quit:
	mes "Come again later!";
	close;
	quit2:
	mes "Thank you!";
	close;
	a1:
	if (countitem(7257)<3) {
		mes "Sorry, but you need 3 "+getitemname(7257);
		goto quit;
	} else {
		delitem 7257,3;
		getitem 7255,1;
		goto quit2;
	}
	a2:
	if (countitem(7257)<3) {
		mes "Sorry, but you need 3 "+getitemname(7257);
		goto quit;
	} else {
		delitem 7257,3;
		getitem 7256,1;
		goto quit2;
	}
	a3:
	if (countitem(7255)<1) {
		mes "Sorry, but you need 1 "+getitemname(7255);
		goto quit;
	} else {
		delitem 7255,1;
		getitem 7257,3;
		goto quit2;
	}
	a4:
	if (countitem(7256)<1) {
		mes "Sorry, but you need 1 "+getitemname(7256);
		goto quit;
	} else {
		delitem 7256,1;
		getitem 7257,3;
		goto quit2;
	}
}

Thank you :)

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...