Logan Gartner
e437bbdc57
New module system Added help menu Added stats command Added built in HUD Changed colors to make more sense Added loaded net message Improved chat check for commands Shortened color names
30 lines
No EOL
608 B
Text
30 lines
No EOL
608 B
Text
--@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
|
|
|
|
core.modules.hello = {
|
|
version = 69420,
|
|
desc = "Hello world!",
|
|
commands = {
|
|
helloworld = {
|
|
usage = "helloworld <text>",
|
|
desc = "Prints either \"Hello World!\" or the arguments passed to it.",
|
|
func = fuckOff,
|
|
},
|
|
},
|
|
} |