In this Minecraft commands tutorial, I'll show you how to use the /spreadplayers command, which spreads all targets to a random position within the area specified. I'll also show the /enchant command, which enchants whatever the target is holding with the specified enchantment.
(Please note that my YT account has changed since the creation of this video)
-- Chapters --
0:00 Intro
0:20 How to use /enchant
3:35 How to use /spreadplayers
12:57 Outro