Hi im trying to make a command that when used selects a random player and calls them a nerd (example: [player] is a nerd!!!) but i dont know how to.I made a command that kinda works but idk how to send the name of the player.Here is the code i have currently
Code:
command /nerd:
trigger:
loop all players:
add all players to {_players::*}
set {_size} to size of {_players::*}
set {_x} to a random integer between 1 and {_size}
send "&e&l%{_players::{_x}}% &6&lis a nerd!!!"