mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-20 15:33:12 +09:00
Fixed Sytax
This commit is contained in:
1 parent
3a5c73f0a0
commit
324ba6ef7a
7 files changed
+12
-12
No files matched your search
@@ -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