传奇脱机立即输入不一样的汉字验证码:
/<
lastmsg=""
function 过验证()
local str=获取NPC对话内容()
if lastmsg==str then return end
lastmsg=str
local cmd = str:match("/(@@[^>]+)>")
if cmd and str:match("不一样的汉字") then
pText=str:match("【{([^/]+)/")
if not pText then return end
local n={}
for a in pText:gmatch("(..)") do
if not n[a]
then n[a]=1
else n[a]=n[a]+1
end
end
local s=nil;local ybt=false
for b,c in pairs(n) do
if c==1
then s=b
else ybt = true
end
end
if s and ybt then
合成命令(cmd,s)
end
end
end
过验证() -- 回收验证保留此行,删除下面一行
设置用户检测("过验证",2000) -- 脱机验证保留此行,删除上面一行
/>