Jump to content
  • 0
AinsLord

putting how many bloody branch to trade instead of one by one

Question

so i found this script here any one can help me make this script like

asking how many bloody branch to trade in with the correct amount of deadbranch and zennies 

to deduct

this is the NPC script

turbo_room,99,113,4	script	Build Manager	930,{

mes "1 Bloody Branch = 100 Dead Branch + 100K";
next;
if(countitem(604) < 100 || Zeny < 100000) {
mes "Not enough requirements";
close;
}
mes "Here you go";
delitem 604,100;
set Zeny,100000;
getitem 12103,1;
close;
}

thanks in advance highly appreciate it

Edited by AinsLord
More info
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
turbo_room,99,113,4	script	Build Manager	930,{
	mes "[ Build Manager ]";
	mes "1x Bloody Branch";
	mes "  > 100 Dead Branch";
	mes "  > 100.000 Zeny";
	mes "^FFFFFF_^000000";
	mes "How many you want exchange ?";
	input [email protected];
	next;
	if(countitem(604) < (100*[email protected]) || Zeny < (100000*[email protected]) || [email protected] < 1) {
		mes "[ Build Manager ]";
		mes "Not enough requirements";
		close;
	}
	mes "[ Build Manager ]";
	mes "Here you go";
	delitem 604,(100*[email protected]);
	set Zeny,Zeny-(100000*[email protected]);
	getitem 12103,(1*[email protected]);
	end;
}

 

  • Upvote 1
Link to comment
Share on other sites

  • 0
1 minute ago, mR L said:
turbo_room,99,113,4	script	Build Manager	930,{
	mes "[ Build Manager ]";
	mes "1x Bloody Branch";
	mes "  > 100 Dead Branch";
	mes "  > 100.000 Zeny";
	mes "^FFFFFF_^000000";
	mes "How many you want exchange ?";
	input [email protected];
	next;
	if(countitem(604) < (100*[email protected]) || Zeny < (100000*[email protected]) || [email protected] < 1) {
		mes "[ Build Manager ]";
		mes "Not enough requirements";
		close;
	}
	mes "[ Build Manager ]";
	mes "Here you go";
	delitem 604,(100*[email protected]);
	set Zeny,Zeny-(100000*[email protected]);
	getitem 12103,(1*[email protected]);
	end;
}

 

thansk a lot man appreciate it 

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

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.