> For the complete documentation index, see [llms.txt](https://tutorials.wow-jack.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tutorials.wow-jack.com/quest-manager/events/execute-lua.md).

# Execute LUA

{% hint style="info" %}
Use this event if you want to execute one or more [official](https://wowpedia.fandom.com/wiki/World_of_Warcraft_API) and/or custom LUA commands.
{% endhint %}

{% hint style="info" %}
This event is also available in other application areas of Jack.

[You can find a more detailed description of this event here.](/event-manager/events/execute-lua.md)
{% endhint %}

{% hint style="warning" %}
No automatic path is generated for this event.

[Use the Stopover event beforehand.](/quest-manager/events/stopover.md)
{% endhint %}

***

<div align="left"><figure><img src="/files/q4ph3SZu0sy7zzRDV3EV" alt=""><figcaption></figcaption></figure></div>

#### Name your LUA command

* Enter a name for your LUA command.

#### Show custom commands

* Click on "Show custom commands" to open Jack's custom commands list.

{% hint style="info" %}
[Learn more about custom LUA commands here.](/event-manager/events/execute-lua.md)
{% endhint %}

#### LUA Command(s)

* Enter the LUA commands to be executed in the text field (line by line).

{% hint style="info" %}
You can combine [official LUA commands](/event-manager/events/execute-lua.md#official-commands) with [custom LUA commands](/event-manager/events/execute-lua.md#custom-commands) (line by line).
{% endhint %}

#### Can executed while walk

* Enable this option if the commands can be executed while your character is moving.

#### Reloaded expected

* Activate this option if a longer loading time is expected. (E.g. by clicking on a portal or using the Hearthstone.)

#### Test

* Click on the "Test" button if you want to test your commands first.

{% hint style="info" %}
Here you can copy the example from the image:

<mark style="color:yellow;">print(UnitName("player"))</mark>\ <mark style="color:yellow;">/dance</mark>

This will show you in-game your character's name in chat and make your character dance.
{% endhint %}

{% hint style="warning" %}
Custom LUA commands cannot be tested.
{% endhint %}
