Jump to content
  • 0

OPEN AND VIEW~


Question

Posted (edited)

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;
}

Edited by Brian
[codebox]

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.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...