what about , if bp full, use gold conveter?
that only works on new servers gold converter is not something you should use every single time you got a stack of 100, its not worth its price however if you stil want to do that
auto(1000)
local function GoldConverter(BackpackFrom, BackpackTo)
-- BackpackFrom Where are your Gold Coins
-- BackpackTo Backpack to move uncomplete stack
-- Cap to use gold converter [this is how it should be used]
local cont = getcontainer(BackpackFrom)
local coins = itemcount(3031,BackpackFrom)
if cont.itemcount >= 18 and coins > 100 and itemcount(23722) > 0 then
for j=1,cont.itemcount do
if cont.item[j].count < 100 and cont.item[j].id == 3031 then
moveitems(3031,BackpackTo,BackpackFrom,cont.item[j].count)
elseif cont.item[j].count == 100 and cont.item[j].id == 3031 then
useitemon(23722, 3031, BackpackFrom)
end
end
end
if itemcount(3031,BackpackTo) > 0 then
moveitems(3031, BackpackFrom, BackpackTo, 100)
end
end
GoldConverter("Jewelled Backpack", "Zaoan Chess Box")
Im mage...i dont have alot of cap, my char spam all time 'using the last gold converter, bcoz every stack of 100g it use the converter...
it can lead me to be banned?
you can add those conditions your self its easy to do it heres an example :
auto(1000)
local function GoldConverter(BackpackFrom, BackpackTo)
-- BackpackFrom Where are your Gold Coins
-- BackpackTo Backpack to move uncomplete stack
-- Cap to use gold converter [this is how it should be used]
local cont = getcontainer(BackpackFrom)
local coins = itemcount(3031,BackpackFrom)
if cont.itemcount >= 18 and coins > 100 and itemcount(23722) > 0 then
for j=1,cont.itemcountdo
if cont.item[j].count<100 and cont.item[j].id == 3031 then
moveitems(3031,BackpackTo,BackpackFrom,cont.item[j].count)
elseif cont.item[j].coun ==100and cont.item[j].id == 3031 then
useitemon(23722,3031, BackpackFrom)
end
end
end
if itemcount(3031,BackpackTo) > 0 then
moveitems(3031, BackpackFrom, BackpackTo,100)
end
end
if maround() == 0 and paround() == 0 then
pausewalking(1000)
GoldConverter("Jewelled Backpack","Zaoan Chess Box")
end
omg im falling sleep lol
@Wesker the script does not work.
error in Persistent script NewPersistentScript:
["localfunction GoldConverter(Bac..."]:NewPersistentScript:2: '=' expected near 'GoldConverter'
@Wesker why do you have to move an uncompleted stack?
Can't you just use the gold converter on a completed stack?
Oh and i still get the same error message
Thanks for you help i appreciate it
Last edited by Zombie; 01-06-2017 at 09:43 PM.