Jump to content
  • 0

help With this script


PewN

Question


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  


case 1:
mes "[Mr. Roulette]";
mes "Number 0 ah!.";
mes "Please input how many ticket's do you want to bet";
next;
input @quantity;
next;
if (@quantity == 0) goto WTF;
if (@quantity > 1000) goto TM;
if(countitem(7227)<@quantity) goto NOTK;
delitem 7227,@quantity;
mes "[Mr. Roulette]";
mes "Press Next to Continute";

how can i make it if the player bet 1000 will goto TM then if the

max 1k BET then when i bet a 1. it will goto WTF what is the problem here?

Edited by bVersatile
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  754
  • Reputation:   186
  • Joined:  05/22/12
  • Last Seen:  

maybe it should be

if (@quantity <= 1) goto WTF;

with that, if the input is less than or equal to 1, it'll go to WTF.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

maybe it should be

if (@quantity <= 1) goto WTF;

with that, if the input is less than or equal to 1, it'll go to WTF.

btw. i already solve it but thanks to your reply

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