Added /tp /bring and /goto and some comments

This commit is contained in:
Cooldude2606
2019-03-05 20:34:17 +00:00
parent 08038272b6
commit 402548dded
12 changed files with 73 additions and 11 deletions

View File

@@ -2,7 +2,7 @@ local Commands = require 'expcore.commands'
require 'expcore.common_parse'
Commands.new_command('kill','Kills yourself or another player.')
:add_param('player',true,'player-alive')
:add_param('player',true,'player-alive') -- the player to kill, must be alive to be valid
:add_defaults{player=function(player)
-- default is the player unless they are dead
if player.character and player.character.health > 0 then