diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-02 19:02:37 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-02 19:02:37 -0400 |
| commit | 79a5901ce9206f27090c590393838232fc23be62 (patch) | |
| tree | 8d53c75e0f99764a79e65fba600697c3e82f8b58 /gamemode/chatcommands.lua | |
| parent | e676c86f22c2634856d71fcc2680175d2f004d13 (diff) | |
| download | gmstranded-79a5901ce9206f27090c590393838232fc23be62.tar.gz gmstranded-79a5901ce9206f27090c590393838232fc23be62.tar.bz2 gmstranded-79a5901ce9206f27090c590393838232fc23be62.zip | |
Removed debug statements
Diffstat (limited to 'gamemode/chatcommands.lua')
| -rw-r--r-- | gamemode/chatcommands.lua | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gamemode/chatcommands.lua b/gamemode/chatcommands.lua index 39260a3..638567c 100644 --- a/gamemode/chatcommands.lua +++ b/gamemode/chatcommands.lua @@ -5,11 +5,8 @@ function GM:PlayerSay( ply, text, teamonly ) local parsestring = string.ToTable(text) local inquote = false local argpart = 1 - print("Parseing: " .. text) for k,v in pairs(parsestring) do - print("at " .. k .. ":" .. v) if(v == " ") then - print("Hit delimiter") if(inquote) then args[argpart] = args[argpart] .. v else @@ -17,15 +14,11 @@ function GM:PlayerSay( ply, text, teamonly ) args[argpart] = "" end elseif(v == "\"") then - print("Hit quote") inquote = !inquote else - print("Adding to string") args[argpart] = args[argpart] .. v end end - print("Finished, args:") - PrintTable(args) --local args = string.Explode( " ", text ) if ( args == nil ) then args = {} end |
