PDA

View Full Version : Help plz



ulsen
02-04-2012, 08:38 PM
how do i run this stuff i dont know where to write it or anything



function equipSofts(mpsoft,mpboh)
local mana = Self:Mana()
if (mana <= mpsoft) then
local backpack = Container.GetByName("Backpack of Holding")
for spot = 0, Container:ItemCount() do
local item = Container:GetItemData(spot)
if (item.id == 6529) then --soft boots
Container:MoveItemToEquipment(spot, "feet")
break
end
end
elseif (mana >= mpboh) then
for spot = 0, Container:ItemCount() do
local item = Container:GetItemData(spot)
if (item.id == 3079) then --boh
Container:MoveItemToEquipment(spot, "feet")
break
end
end
end
return false
end

while(true) do
equipSofts(500,800)
wait(1000,2000)