简单辅助输入灵符数量后2位(有答案)_脚本验证

2021-12-30 11:46:28 作者:

简单辅助_简单挂免费版|传奇单职业辅助_ >> 传奇资讯 >> 正文

 

\ \ \<>              <2017全新征戰火龍·獨家復古·品牌長期/SCOLOR=253>\ \<>  <Img:33:0:0:4>\<防脱及验证/SCOLOR=254>    <输入当前灵符数量最后2位数字/@@InPutString62>    <答案提示:/SCOLOR=250>{www87/SCOLOR=249}\<>  <Img:33:0:0:4>\<温馨提示:/SCOLOR=250>    <请输入正确答案 输入错误次数过多将会掉线处理/SCOLOR=21>\<>  <Img:33:0:0:4>\<温馨提示:/SCOLOR=250>    <灵符数量如果小于10 则随机出现一个2位数字验证码/SCOLOR=21>\<>  <Img:33:0:0:4>\


/<
lastmsg=""
function 过验证()
  local str=获取NPC对话内容()
  if lastmsg==str then return end
  lastmsg=str
  if str:match("灵符数量最后2位") then
    local cmd=str:match("/(@@[^>]+)>")
    local content=str:match("答案提示[^>]+>{www(%d+)/")
    if cmd and content then
      合成命令(cmd, content)
      等待(1000)
    end
  end
end
过验证()  -- 回收验证保留此行,删除下面一行
设置用户检测("过验证",2000) -- 脱机验证保留此行,删除上面一行
/>