Stupid moveitems function()
I am trying to make very simple action script but always when im trying to use moveitems() function it doesnt work. So please tell me what is wrong.
Code:
local manas = "mana potion"
local brownbp = getlootingdestination('mainbp')
local purplebp = getlootingdestination('supplybp')
while itemcount(manas, brownbp) > 0 do
moveitems("mana potion",purplebp)
end
There is no error it just ignores that action. I don't know why. I believe that i dont have to explain my script. Anyone should understand it.
Maybe my tutor @Cisco will know what is going on :P