From dca6f9a6ea1326509a2d377ff5c00415b08589ad Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Sat, 3 Jun 2017 23:00:58 +0100 Subject: [PATCH] Edit to server side /tag --- control.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/control.lua b/control.lua index 45977440..d2a74577 100644 --- a/control.lua +++ b/control.lua @@ -654,9 +654,9 @@ function commandInit() else if event.parameter then else return end local args = {} for word in event.parameter:gmatch('%w+') do table.insert(args,word) end - if #args == 2 then else return end + if #args > 0 then else return end local player = game.players[args[1]] if player then else end - if tag then player.tag = '[cTag] - '..args[2]..' ' else player.tag = getRank(player).tag end + if args[2] then player.tag = '[cTag] - '..table.concat(args,' ',2)..' ' else player.tag = getRank(player).tag end end end) end