形成lua代码 - 任何工具?

时间:2017-06-08 10:07:45

标签: lua

嗨所以我最近解码了一些用lua编写的游戏脚本。但它看起来像这样 My code looks like this

PlayerTable = {          JOGO = 0,          BALANCE = 0,          BALANCE_P = 0,          PROFIT = 0,          XXX = 0,          XXX_Count = 0,          XXX_Player = 0,          AH,          AL,          NUM,          LOSETOP = {            Times = 0,            Money = 0,            Name          },          WINTOP = {            Times = 0,            Money = 0,            Name          }        }      end      if PlayerTable.JOGO == Games.NULL then        if 0 < PlayerTable.BALANCE then          if table.contains(words.H, Message) then            PlayerTable.JOGO = Games.HIGH            if HL_ENABLED then              Last_Payout = os.time()              MinOption = BetOption[PlayerTable.JOGO].Min              MaxOption = BetOption[PlayerTable.JOGO].Max              PayoutOption = BetOption[PlayerTable.JOGO].Payout            else              if not table.contains(LimitSay.DISABLED, name) then                Self.Say(Disabled_G[PlayerTable.JOGO])                table.insert(LimitSay.DISABLED, name)              end              PlayerTable.JOGO = Games.NULL            end          elseif table.contains(words.L, Message) then            PlayerTable.JOGO = Games.LOW            if HL_ENABLED then              

我知道有HTML,JS等美化设备所以我可以使用任何工具来美化这段代码吗? 或者我需要手动完成吗?它有近2000行代码,所以我宁愿不要手动执行此操作。

1 个答案:

答案 0 :(得分:-1)

你可以使用ZeroBrane。基本上选择代码,然后编辑 - &gt;来源 - &gt;正确缩进