I am trying to make a command block that when powered, it will looks for a specific player in a 5 block radius of the command block. I tried
/testfor @p[r=5][name=<name of player>]
but it doesn't work.
Arqade is a question and answer site for passionate videogamers on all platforms. It only takes a minute to sign up.Sign up to join this community
You can't use two
 next to each other.
Use a comma to separate different values. Don't add another
 next to it.
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?