|
小的改动,方便师兄弟们换ebook,不用再一下一下的敲键盘,手动有时敲快了,还有busy,麻烦,所以整个自动的算了。
使用说明:设定好你一周要兑换的ebook次数,输入deb,机器就会去当铺自动兑换你设定的次数。
shujian.lua
function setAlias()
create_alias_s('deb','deb','dh_ebook') -----添加这部分
end
score_ebook_check=function(n,l,w)
ebooktimes=trans(w[1])
if ebooktimes>=30 then ---------这个次数就根据自己的情况进行设定了,
return check_busy(check_food)
else
return check_busy(ebook_dh)
end
end
--------自动换ebook------------
function dh_ebook()
EnableTriggerGroup("score",true)
go(ebook_dh,'扬州城','当铺')
end
function ebook_dh()
exe('duihuan ebook')
end |
评分
-
1
查看全部评分
-
|