/execute tell does /tell as well for every entity the command is executed for
If you use the following command: "/execute @e ~ ~ ~ tell @p Test"
it returns:
"Entity whispers to you: Test
You whisper to (Yourself): Test"
so the Entity you specify tells you "Test"
and you tell yourself "Test".
Alternative explanation:
If you execute the /tell command with an entity (/execute @e[type=Pig] ~ ~ ~ /tell @p ...)
not only the entity whispers to you, you also whisper to yourself (e.g.:
"Pig whispers to you..."
and "You whisper to Zuzu_Typ ..."
what I mean is:
the specified player is the Pig (@e[type=Pig]) and NOT me.
so I shouldn't be whispering to myself.
Updated command for 1.15.2 and 1.16:
/execute as @e[type=!player,limit=1] run tell @p Test
Created Issue:
Execute + Tell + @e bug
If you use the following command: "/execute @e ~ ~ ~ tell @p Test"
it returns:
"Entity whispers to you: Test
You whisper to (Yourself): Test"
so the Entity you specify tells you "Test"
and you tell yourself "Test".Environment
Java 7 Update 55
Microsoft Windows 7 64bit
Execute + Tell + @e bug/execute tell does /tell as well for every entity the command is executed for
If you use the following command: "/execute @e ~ ~ ~ tell @p Test"
it returns:
"Entity whispers to you: Test
You whisper to (Yourself): Test"
so the Entity you specify tells you "Test"
and you tell yourself "Test".
Alternative explanation:
If you execute the /tell command with an entity (/execute @e [type=Pig] ~ ~ ~ /tell @p ...)
not only the entity whispers to you, you also whisper to yourself (e.g.:
"Pig whispers to you..."
and "You whisper to Zuzu_Typ ..."
what I mean is:
the specified player is the Pig (@e [type=Pig] ) and NOT me.
so I shouldn't be whispering to myself.
If you use the following command: "/execute @e ~ ~ ~ tell @p Test"
it returns:
"Entity whispers to you: Test
You whisper to (Yourself): Test"
so the Entity you specify tells you "Test"
and you tell yourself "Test".
Alternative explanation:
If you execute the /tell command with an entity (/execute @e[type=Pig] ~ ~ ~ /tell @p ...)
not only the entity whispers to you, you also whisper to yourself (e.g.:
"Pig whispers to you..."
and "You whisper to Zuzu_Typ ..."
what I mean is:
the specified player is the Pig (@e[type=Pig]) and NOT me.
so I shouldn't be whispering to myself.
Updated command for 1.15.2 and 1.16:
/execute as @e[type=!player,limit=1] run tell @p Test
Java 7 Update 55
Microsoft Windows 7 64bit

Where do you see the bug ?
I saw it in the chat I'll post an Image...
As you can see on the Image,
The Pig whispers to me, and I whisper to myself.
On a Server with 2 or more Players every Player whispers to hisself.
the only command I used is in the chat.
You mean, a player cannot whisper to himself it issuing /tell @p Test in the chat ?
No...
I try to explain it again:
If you execute the /tell command with an entity (/execute @e[type=Pig] ~ ~ ~ /tell @p ...)
not only the entity whispers to you, you also whisper to yourself (e.g.:
"Pig whispers to you..."
and "You whisper to Zuzu_Typ ..."
what I mean is:
the specified player is the Pig (@e[type=Pig]) and NOT me.
so I shouldn't be whispering to myself.
My explanation:
if there is 1 pig in the world, and you do
/execute @e[type=Pig] ~ ~ ~ tell @p hi
the pig should whisper "hi" to you. it does that, but you also whisper to yourself, but that shouldn't happen because you only specified the pig with [type=Pig], and not yourself. Also strange: you seem to be sending a whisper to yourself, but you don't get the message that (your name) whispers to you: hi
Confirmed.
Confirmed for 14w21b
Also I don't understand why
doesn't work, but
work, because execute means that you really somehow execute the command
It is still in 1.8.2-pre1.
Same as before.
I can confirm that this still happens in 1.8.7. It does not occur if the command is ran by a command block or from the console.
Still in 15w31a.
still an issue/confirmed for 16w32b
More details:
/execute @p ~ ~ ~ tell @p Test
and in the last output of the command block:
it produces the message "you whisper to" when a message is sent
it produces the message "whispers to you" when a message is incoming
therefore
will return the message you sent (from you, the executor) to yourself. as well as the message that executes FROM the entity executed at. if that makes any sense.
That's not the issue here, you execute at pigs to tell to you, and it states that for every pig, both you and the pig wisper to you.
What you described is
MC-73048.Still in 16w42a.
Confirmed in 1.15.2 and 20w21a. Updated command:
Can confirm in 20w48a.
Can confirm in 21w05b.
Confirmed for 23w04a.
An entity whispers to me and I whisper to myself despite specifying !player.