Jump to content
MakeWebGames

Recommended Posts

Posted

Re: [mccode v2] Lucky Bags

Thanks killah,

If I wanted to add more rand, how would that work. An example is:

$rdmitm = ($r['level'] > 24) ? rand(1,7) : rand(11,15) : rand(19,21) : rand(23,29);

which of course is not proper. Along the same lines?

Posted

Re: [mccode v2] Lucky Bags

 

Thanks killah,

If I wanted to add more rand, how would that work. An example is:

$rdmitm = ($r['level'] > 24) ? rand(1,7) : rand(11,15) : rand(19,21) : rand(23,29);

which of course is not proper. Along the same lines?

@hobbes

$var = (condition) ? TRUE : FALSE; (a faster and better usage for simple if/else statements)

You want an array() that can give one of those items interval...

  • 6 years later...
Posted

How would you make a button that asks how many bags you want to open (say max 2000 per day), then when they click the button it automatically opens the number of bags they entered?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

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