传奇验证码点击这里输入正确答案(有提示):
/<
lastmsg=""
function 过验证()
local str=获取NPC对话内容()
if lastmsg==str then return end
lastmsg=str
if str:match("正确答案") then
local cmd = str:match("/(@@[^>]+)>")
local content = str:match("正确答案[^{]+{([^/]+)/")
if cmd and content then
合成命令(cmd,content)
等待(1500)
end
end
end
过验证() -- 回收验证保留此行,删除下面一行
设置用户检测("过验证",2000) -- 脱机验证保留此行,删除上面一行
/>