1111
/<
function 过验证()
local 对话内容=获取NPC对话内容()
if not 对话内容:match("裁决[的]*数量") then return end
local 指令=对话内容:match("/(@@[^>]+)>")
if not 指令 then return end
for i=1,46 do
local 物品=获取物品信息(i)
if 物品 then
if string.match(物品.名称,"验证裁决") then
local 数量=tostring(物品.当前持久+1)--转文本
数量=数量:match("(%d+)")--过滤小数
合成命令(指令,数量)
等待(1000)
break
end
end
end
end
过验证() -- 回收验证保留此行,删除下面一行
设置用户检测("过验证",2000) -- 脱机验证保留此行,删除上面一行
/>