Jump to content
  • 0

Rentitem Rand?


Dori

Question


  • Group:  Members
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  332
  • Reputation:   15
  • Joined:  12/11/11
  • Last Seen:  

I'm trying to make this item give a random rental item. This is the script atm. It's currently using getitem:

28001,box,box,2,0,,20,,,,,0xFFFFFFFF,63,2,,,,,,{ if(Sex == 1) { getitem rand(28103,28104),1; } else { getitem rand(28101,28102),1; } },{},{}
Is it possible to make rentitem random like getitem?

If not, how can I make it happen with rentitem?

Edited by Phenex
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  


if(Sex){rentitem( rand(28103,28104),TIME );} else {rentitem( rand(28101,28102), TIME );}

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  332
  • Reputation:   15
  • Joined:  12/11/11
  • Last Seen:  

Oh thank you! I will try this out :)

Edit: Thanks it worked :)

Edited by Phenex
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...