Skip to content

MultipleCommands

FilteringEnabled edited this page May 25, 2023 · 2 revisions

Write multiple commands in one text file

Its very simple to do this, here is an example

cmd.add({"test1"}, {"test1", "test number 1"}, function()
print("Test 1 ran")
end)

cmd.add({"test2"}, {"test2", "test number 2"}, function()
print("Test 2 ran")
end)

^ Put these in one text file and you can now load 2 commands in one. You can put more of them in 1 file rather than just 2

Clone this wiki locally