Hello, I would first like to thank you for taking the time to take a look at this fourm and providing a possible answer. I am having issues using chances how I would like to, I am trying to make it so something will 100% happen when you run a command but if the chance is lets say 60% the main command will not be ran but the command within the 60% chance would be ran. I know I am not explaining this very well so I am going to try my best to provide an example of what I am looking for.
Code:
command /test:
trigger:
make player execute command "main code"
chance of 60%:
(Do not run main code)
make player execute command "60% chance code"