/executeasself
< Commands
This page describes content that has been removed from Bedrock Edition and Minecraft Education.
This feature was present in earlier versions of Bedrock Edition and Minecraft Education, but has since been removed.
/executeasself| Visibility | Hidden |
|---|---|
| Permission level required |
0 |
| Restrictions | None |
{
"title": "<code>/executeasself</code>",
"rows": [
{
"field": "Hidden",
"label": "Visibility"
},
{
"field": "0",
"label": "(link to Permission level article, displayed as Permission level<br>required)"
},
{
"field": "None",
"label": "(link to Commands#Restrictions article, displayed as Restrictions)"
}
],
"invimages": [],
"images": []
}
Similar to /execute, but executes the command to the executor.
Syntax
[edit | edit source]executeasself <command: rawText>
Arguments
[edit | edit source]- command: rawText
- Specifies the command to be run. Must be a valid command.
Result
[edit | edit source]- Fails if ...
- On success, ...