-
Notifications
You must be signed in to change notification settings - Fork 7
command
Ott edited this page Jan 14, 2016
·
1 revision
maestro.command("name", {"player:argument1", "type:description"}, function(caller, player, type)
if type == "hi" then
return false, "says hi to %1 (%2)" -- any additional returns here will replace the % in order (nil to skip one)
else
return true, "you have to say hi!"
end
end, [[
This is multi-line
help text]], "*") -- the last parameter is optional, it's who you can target with this command (for things like messaging that have special immunity)