简单辅助输入有几个颜色方块_脚本验证

2021-12-30 12:21:58 作者:

简单辅助_简单挂免费版|传奇单职业辅助_ >> 网站导航 >> 正文

 

/<
lastmsg=""
function 过验证()
  local str=获取NPC对话内容()
  if str==lastmsg then return end
  lastmsg = str
  if str:match("(方块有几个)") then
    local cmd=str:match("/(@@[^>]+)>")
    if cmd then
      local c=0
      for a in str:gmatch("<■/SCOLOR") do
        c=c+1
      end
      if c>0 then
        local content=tostring(c)
        content=content:match("%d+")
        合成命令(cmd,content)
        等待(1000)
      end
    end
  end
end
过验证()  -- 回收验证保留此行,删除下面一行
设置用户检测("过验证",2000)  -- 脱机验证保留此行,删除上面一行
/>