Jump to content
  • 0

OPEN AND VIEW~


truefg

Question


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  58
  • Reputation:   0
  • Joined:  11/27/12
  • Last Seen:  

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]
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  446
  • Reputation:   229
  • Joined:  03/20/12
  • Last Seen:  

try putting "next;" to the input .@t;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  58
  • Reputation:   0
  • Joined:  11/27/12
  • Last Seen:  

Ok Thanks!!

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...