--当金币多于100万时,商铺买10元宝吃掉
local function my_shopbuy()
local gold = 获取主号信息(12)
if gold > 1000000 then
商铺购买("10元宝",3,1)
等待(1500)
使用物品("10元宝")
等待(1500)
end
end
--当元宝多于1000时,商铺买金刚石
local function my_shopbuy2()
local gold = 获取主号信息(18)
if gold > 1000 then
商铺购买("金刚石")
等待(1500)
end
end