summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiftob/scripts/echo.lua')
-rw-r--r--Swiftob/scripts/echo.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/Swiftob/scripts/echo.lua b/Swiftob/scripts/echo.lua
new file mode 100644
index 0000000..7adc2b3
--- /dev/null
+++ b/Swiftob/scripts/echo.lua
@@ -0,0 +1,5 @@
+function echo_message(command, params, message)
+ swiftob_reply_to(message, params)
+end
+
+swiftob_register_command("echo", "Anyone", "What did you say?", echo_message) \ No newline at end of file