summaryrefslogtreecommitdiff
path: root/plugins/MirLua/docs/examples/variables.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/docs/examples/variables.lua')
-rw-r--r--plugins/MirLua/docs/examples/variables.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/MirLua/docs/examples/variables.lua b/plugins/MirLua/docs/examples/variables.lua
new file mode 100644
index 0000000000..dee0f4f8e0
--- /dev/null
+++ b/plugins/MirLua/docs/examples/variables.lua
@@ -0,0 +1,5 @@
+local vars = require('m_variables')
+
+m.OnModulesLoaded(function()
+ print(vars.FormatString('?add(2,2)'))
+ end)