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.
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?