mirror of
https://github.com/akyaiy/GoSally-mvp.git
synced 2026-01-03 18:12:26 +00:00
Enhance server functionality: add versioning support, implement command handling improvements, and introduce new Lua scripts for command execution
This commit is contained in:
11
com/echo.lua
11
com/echo.lua
@@ -1,11 +0,0 @@
|
||||
--- #description = "Echoes back the message provided in the 'msg' parameter."
|
||||
|
||||
if not Params.msg then
|
||||
Result.status = "error"
|
||||
Result.error = "Missing parameter: msg"
|
||||
return
|
||||
end
|
||||
|
||||
Result.status = "ok"
|
||||
Result.answer = Params.msg
|
||||
return
|
||||
Reference in New Issue
Block a user