lsft/modules/server/hello.txt

30 lines
608 B
Text
Raw Normal View History

2021-12-14 20:11:04 -05:00
--@name
--@author
--@server
function fuckOff(args)
if args[1] ~= nil then
local output = ""
for i, v in pairs(args) do
output = output..v.." "
end
output = string.trimRight(output)
print(output)
else
print("Hello World!")
end
end
2021-12-14 20:11:04 -05:00
core.modules.hello = {
version = 69420,
desc = "Hello world!",
2021-12-14 20:11:04 -05:00
commands = {
helloworld = {
usage = "helloworld <text>",
desc = "Prints either \"Hello World!\" or the arguments passed to it.",
func = fuckOff,
},
2021-12-14 20:11:04 -05:00
},
}