Jump to content

Sell help


Keep

Recommended Posts

Hey @Keep,

I'm not sure exactly what you mean by this. However, here is the code to make it a 1 out of 100 chance for it to drop 1 diamond on the command /sell!

command /sell:
	set {_chance} to a random integer between 1 and 100
	if {_chance} is between 1 and 3:
		drop 1 diamond at location of player
		send "&aYou got lucky and got a diamond!" to player

If you have any more questions I highly recommend you look at some tutorials on YouTube. For instance, Minehut Skript tutorials are good to watch to get the basics. Then its self teaching from there.

Minehut Skript Tutorials: 

 

 

 

Active Minehut Player since 2016

Advanced at Skript - Know a lot about running a server 

If you need help with anything contact me @ KJPAKA#0001

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...