It doesn't work like this.
Instead do:
choose(1,2,3)
if 1: set var 1 = true
else if 2: set var 2 = true
else if 3: set var 3 = true
and since thats not really practical, it makes more sense to program it another way, maybe like this:
every x seconds: attacktype = choose(1,2,3)
if attacktype (not equal) 0:
- if attacktype 1: do attack 1
- else if attacktype 2: do attack 2
- else if attacktype 3: do attack 3
- : set attacktype = 0
(ofc you can also use strings instead of 1, 2, 3, ...)