How to use selector in CustomName command

I summon an armor stand and gave him tag of Any. Now I want to use CustomName command like /entitydata @e[tag=Any] {CustomName:"Hello player"} but I want to specify the name of the player using selector using @p I was wondering if anyone could help me with it.


Solution 1:

There is currently no way to have "dynamic" NBT like that. Unless you set up a different command for every possible name, there is no way to insert a player's name into NBT data.