I made an npc seller with input confirm it's ok but my problem when buying 100 slim potions for 5 tcg is given to me is only 100 slim potions should only be 500. 1 tcg per 100 slim potion.
here my script
case 1:
input @amount,0,countitem(7227);
if (countitem(7227) < 1) goto L_NE;
if (countitem(547) >= 100) goto L_GA;
delitem 7227,@amount;
getitem 547,1000;
close;
Question
Boneash
I made an npc seller with input confirm it's ok but my problem when buying 100 slim potions for 5 tcg is given to me is only 100 slim potions should only be 500. 1 tcg per 100 slim potion.
Edited by Boneashhere my script
case 1:
input @amount,0,countitem(7227);
if (countitem(7227) < 1) goto L_NE;
if (countitem(547) >= 100) goto L_GA;
delitem 7227,@amount;
getitem 547,1000;
close;
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.