Jump to content
MakeWebGames

Lucky Bags


Akash

Recommended Posts

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

Link to comment
Share on other sites

  • 6 years later...

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