I'm testing out code to see if once the player enters this passage I can send the player to a random passage without their choosing. I'm using Harlowe and below is the code I'm trying to use. My problem is that the only passage the code chooses is the Random4 passage. I want their to be a equal chance (in this case 25%) for each of the four passages to be selected.
(set: $random to (random: 1,4)) (if: $random = 1)[(goto:"Random1")] (if: $random = 2)[(goto:"Random2")] (if: $random = 3)[(goto:"Random3")] (if: $random = 4)[(goto:"Random4")]