Jump to content
  • 0

Custom Box Script


Haze

Question


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  11/02/13
  • Last Seen:  

Could someone help me in making a script for a custom box

where the case is, there is a chance to get a random item with a random amount and a random chance, or could anyone please help me with this unfinished/incorrect script

function	script	prize {

	setarray .@items[0],501,502;
	setarray .@qtys[0],1,1;
	if( checkweight2( .@items,.@qtys ) ){
	getitem .@items, rand;
}else{
	mes "You are Overweight";
     }
}

I'm not quite sure how to finish it

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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