mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 12:31:41 +09:00
Fixed Sytax
This commit is contained in:
@@ -50,7 +50,7 @@ function define_command(name,help,inputs,restriction,event)
|
||||
local inputs = inputs or {true}
|
||||
local restriction = restriction or 0
|
||||
if not event or type(event) ~= 'function' then error('Command requires a function') end
|
||||
table.insert(Exp_commands,{name,help,inputs,restriction,event})
|
||||
table.insert(Exp_commands,{name=name,help=help,inputs=inputs,restriction=restriction,event=event})
|
||||
end
|
||||
--The magic for the commands. It is a hard bit of code so GL; but it will call the command event have some sanitisaion of the input
|
||||
function load_command(command)
|
||||
|
||||
Reference in New Issue
Block a user