prontera,155,181,5 script YmirCoin757,{
mes "[Ymir Coin Exchanger]";
mes "Just give me the required items and ill give you Coin of Ymir";
next;// What Item you want to Make ?set.GiveItem,7539;// Item Requirements + Amounts
setarray .Item[0],607,1,608,1,512,1;for(set.@i,0;.@i< getarraysize(.Item)-1;set.@i,.@i+2)if( countitem(.Item[.@i])<.Item[.@i+1]){for(set.@i,0;.@i< getarraysize(.Item)-1;set.@i,.@i+2)
mes "Need "+.Item[.@i+1]+" x "+getitemname(.Item[.@i]);
close;}if( select("Make ^FF0000"+getitemname(.GiveItem)+"^000000:Cancel")==2) close;for(set.@i,0;.@i< getarraysize(.Item)-1;set.@i,.@i+2)
delitem .Item[.@i],.Item[.@i+1];
getitem .GiveItem,1;
mes "You have Make ^FF0000"+getitemname(.GiveItem)+"^000000";
announce "["+strcharinfo(0)+"] has made ["+getitemname(.GiveItem)+"]",0;
close;}
its like need to set how many to craft coz this one is crafted 1 by 1
Question
AinsLord
its like need to set how many to craft coz this one is crafted 1 by 1
#TIA
Link to comment
Share on other sites
2 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.