minecraft-expanded-datapack/data/undeadm-random/functions/template.mcfunction

17 lines
821 B
Mcfunction

## LITERALLY A RANDOM NUMBER GENERATOR :D
# CALL FOR RANDOM
function undeadm-random:rand10
# RANDOM SHENANIGANS
if score $value rnd_random matches 0 run say "Primero, caganero"
if score $value rnd_random matches 1 run say "Segundo, rey del mundo"
if score $value rnd_random matches 2 run say "Tercero, pistolero"
if score $value rnd_random matches 3 run say "Cuarto, lagarto"
if score $value rnd_random matches 4 run say "Quinto, laberinto"
if score $value rnd_random matches 5 run say "Sexto, baloncesto"
if score $value rnd_random matches 6 run say "Séptimo, sin rima"
if score $value rnd_random matches 7 run say "Octavo, lavabo"
if score $value rnd_random matches 8 run say "Noveno, moreno"
if score $value rnd_random matches 9 run say "Décimo, tampoco rima"
# LAST CLEAR
scoreboard players reset $value rnd_random