Jump to content
  • 0

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


AinsLord

Question


  • Group:  Members
  • Topic Count:  257
  • Topics Per Day:  0.08
  • Content Count:  737
  • Reputation:   18
  • Joined:  11/21/15
  • Last Seen:  

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

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  177
  • Reputation:   25
  • Joined:  12/24/14
  • Last Seen:  

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 .@ammount;
	next;
	if(countitem(604) < (100*.@ammount) || Zeny < (100000*.@ammount) || .@ammount < 1) {
		mes "[ Build Manager ]";
		mes "Not enough requirements";
		close;
	}
	mes "[ Build Manager ]";
	mes "Here you go";
	delitem 604,(100*.@ammount);
	set Zeny,Zeny-(100000*.@ammount);
	getitem 12103,(1*.@ammount);
	end;
}

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  257
  • Topics Per Day:  0.08
  • Content Count:  737
  • Reputation:   18
  • Joined:  11/21/15
  • Last Seen:  

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 .@ammount;
	next;
	if(countitem(604) < (100*.@ammount) || Zeny < (100000*.@ammount) || .@ammount < 1) {
		mes "[ Build Manager ]";
		mes "Not enough requirements";
		close;
	}
	mes "[ Build Manager ]";
	mes "Here you go";
	delitem 604,(100*.@ammount);
	set Zeny,Zeny-(100000*.@ammount);
	getitem 12103,(1*.@ammount);
	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...