How can I exclude the {_x} that was drawn in #1 and draw lots in #2?
For instance: If "5" is assigned to {_x} in #1, I'm looking for a way to exclude "5" from the lottery in #2.
Look at the code below.
This code doesn't work.
For instance: If "5" is assigned to {_x} in #1, I'm looking for a way to exclude "5" from the lottery in #2.
Look at the code below.
code_language.skript:
set {_x} to a random integer between 1 and {_size} #1
set {_y} to a random integer between 1 and {_size} #2
code_language.skript:
set {_y} to a random integer between 1 and {_size} exclude {_x} from {_y}
Last edited: