From 5f211672ca7d2e342dfe294cee1e13d78fd7e72d Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Sun, 4 Jun 2017 18:18:24 +0100 Subject: [PATCH] removed debug code --- control.lua | 9 --------- 1 file changed, 9 deletions(-) diff --git a/control.lua b/control.lua index 6c802962..e210b44f 100644 --- a/control.lua +++ b/control.lua @@ -520,15 +520,6 @@ function commandInit() end end) commands.add_command('autoMessage','Sends the auto message to all players',function(event) autoMessage() end) - --debug - commands.add_command('debugPrint','just for testing',function(event) - if event.player_index then else return end - local byPlayer = game.players[event.player_index] - byPlayer.print(('Event = '..table.tostring(event))) - if event.parameter then else byPlayer.print('NIL') return end - local args = {} for word in event.parameter:gmatch('%S+') do table.insert(args,word) end - byPlayer.print(('Arguments = '..table.tostring(args))) - end) --base layout for all commands commands.add_command('onlineTime',' Get a players online time',function(event) if event.player_index then --is it a player or the server