WoW:XML/Script: Difference between revisions

142 bytes added ,  16 January 2023
Line 23: Line 23:
== Payload ==
== Payload ==
* (optional) - Lua script as plain text called as a Lua function.
* (optional) - Lua script as plain text called as a Lua function.
 
<pre>
<Frame name="Frame1">
<Scripts>
<OnMouseUp>
print(self:GetName(), event, ...) -- payload
</OnMouseUp>
</Scripts>
</Frame>
<pre>
=== Parameters ===
=== Parameters ===
Lua script parameters set by the engine for use by the inline script.  
Lua script parameters set by the engine for use by the inline script.