Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- [[ Command Declaration ]] --
- local command = {
- commands = {}
- }
- do
- --// Command Methods
- local commands = command.commands
- function command.new(aliases, callback)
- for i, alias in pairs(aliases) do
- commands[alias] = callback
- end
- end
- end
- -- [[ Init ]] --
- return command
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement