gms stranded chat commands and alot more things

ok i can’t figure out the new lua things so can anyone help me?


function GMS.RunChatCmd( ply, ... )
 if # arg > 0 and GMS.ChatCommands[ arg[1] ] != nil then
  if ply:GetNWString( "AFK" ) != 1 or (ply:GetNWString( "AFK" ) == 1 and arg[1] == "!afk")  then
   local cmd = arg[1]
   table.remove( arg, 1)
   GMS.ChatCommands[cmd]:Run( ply, unpack( arg ) )
   return ""
  end
 end
end

[lua]ply:GetNWString( “AFK” ) != 1[/lua]
:gonk:

anyone?

[editline]03:54PM[/editline]

nvm garry rolled back the update