This script is nor working, i tried my best! CAn you help me?
The problem is, i input the amount i want, and i dont get the item!
prontera,136,177,6 script Special Supply 410,{
mes "[^0000ffFranyerii M^000000.]";
mes "This npc only acept credits";
mes "Would you like to continue?";
menu "Yes.",L_yes,"No, Later",L_no;
L_yes:
next;
mes "[^0000ffFranyerii M^000000.]";
mes "This are the items i have for you";
mes "20 YGG Box[10] for 2 Credits";
menu "YGG Box[10].",L_ygg;
L_ygg:
next;
input .@t;
if(countitem(8032) < .@t) goto L_NOTENOUGH;
mes "[^0000ffFranyerii M^000000.]";
mes "Thanks. . See you again. . . !";
delitem 8032,.@t;
next;
getitem 13232,.@t;
next;
close;
L_no:
next;
mes "[^0000ffFranyerii M^000000.]";
mes "Thanks For the visit, Come back any time";
close;
L_NOTENOUGH:
next;
mes "[^0000ffFranyerii M^000000.]";
mes "Check Your credits, and come back";
mes "Ill be here Waiting.....";
close;
}
Question
truefg
This script is nor working, i tried my best! CAn you help me?
The problem is, i input the amount i want, and i dont get the item!
Edited by Brian[codebox]
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.