Added /tp /bring and /goto and some comments

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

No files matched your search

+1 -1
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