Tutorial TIBIAIBOT Script 100% AFK




-- YALAHAR GIANT SPIDER 100% AFK
-- By Faj biggrin.png
-- About the script:
-- This script is a professional script, here you have all to be 100% afk.

-- About the setup:
-- This script have a little setup to you choose what to do.
-- Is easy to customize and you can learn how to on Faj's Thread on forum.

-- Setup:

-- Backpack Setup:
MainBP = "Demon Backpack" -- The Main BP.
PotionsBP = "Pirate Backpack" -- Bp to put the pots.
LootBP = "Beach Backpack" -- Looting BP
GoldBP = "Brocade Backpack" -- BP to gold.
MainDPBP = "Brown Backpack" -- Main backpack on DP.
StackableDPBP = "Purple Backpack" -- BP to deposit stackable loot on dp.
LootDPBP = "Orange Backpack" -- BP to deposit loot on dp.

-- Potions Setup:
MPname = "strong mana potion" -- Name of mana potion.
MPprice = 80 -- Price of mana potion to buy.
MPtobuy = 200 -- How many mana potions to buy?
MPtoback = 50 -- How many potions to back reffil?
HPname = "" -- Name of health potion.
HPprice = 0 -- Price of health potion to buy
HPtobuy = 0 -- How many potions buy?
HPtoback = 0 -- How many potions to back reffil?

-- Hunt:
Captoback = 100 -- How much cap to back reffil?

-- Healer:
-- To edit the healer you need know what to do.
-- Visit the forum to learn about it.


-- Bank Depositer
closewindows()
wait(500, 1000)
openitem(MainBP, 'back')
wait(500, 1000)
resizewindows()
wait(500, 1000)
openitem(PotionsBP, MainBP, true)
wait(500, 1000)
resizewindows()

local mana = positive(MPtobuy - itemcount(MPname)) * MPprice
local health = positive(HPtobuy - itemcount(HPname)) * HPprice
local Total = mana + health

depositall()
wait(500,900)
say('hi')

if Total > 0 then
npcsay("withdraw "..Total)
wait(200,300)
npcsay("yes")
wait(200,300)
end


closewindows()
wait(500, 1000)
openitem(MainBP, 'back')
wait(500, 1000)
resizewindows()
wait(500, 1000)
openitem(PotionsBP, MainBP, true)
wait(500, 1000)
resizewindows()
wait(500,900)
sellflasks()
wait(500,900)
opentrade()
wait(500, 1000)
if itemcount(HPname) < HPtobuy then
buyitemsupto(HPname, HPtobuy)
end
wait(500,1000)
buyitemsupto(MPname, MPtobuy)
npcsay('Bye')
wait(500,1000)


if itemcount(MPname) < MPtobuy and itemcount(HPname) < HPtobuy then
gotolabel("buy")
end


depositall()


-- Dp Depositer.
closewindows()
wait(500, 1000)
openitem(MainBP, 'back')
wait(500, 1000)
resizewindows()
wait(500, 1000)
openitem(LootBP, MainBP, true)
wait(500, 1000)
resizewindows()
reachgrounditem("depot")
wait(1000,2000)
openitem("depot")
wait(700,900)
openitem(3502, "locker")
wait(700,900)
openitem(MainDPBP, "depot chest")
wait(700,900)
depotdeposit(StackableDPBP,"Spider Silk","Strong Health Potion","Bat Wing","Star Herb","Black Pearl","Mutated Bat Ear","Small Amethyst")
wait(700,900)
depotdeposit(LootDPBP,"Time Ring","Knight Legs","Knight Armor","Platinum Amulet","Lightning Headband","Obsidian Lance","Batwing Hat","Mercenary Sword")


if itemcount(MPname) < MPtobuy and itemcount(HPname) < HPtobuy then
gotolabel('Setup')
end




if itemcount(MPname) > MPtoback and itemcount(HPname) > HPtoback and cap > Captoback then
gotolabel('Hunt')
end


closewindows()
wait(500, 1000)
openitem(MainBP, 'back')
wait(500, 1000)
resizewindows()
while itemcount(MPname) > 0 do
closewindows()
wait(500, 1000)
openitem(MainBP, 'back')
wait(500, 1000)
resizewindows()
wait(500, 1000)
openitem(PotionsBP, MainBP, true)
wait(500, 1000)
resizewindows()
wait(500,900)
moveitems(MPname, MainBP, PotionsBP, 100)
wait(500,900)
closewindow(PotionsBP)
end
wait(500,900)
while itemcount(HPname) > 0 do
closewindows()
wait(500, 1000)
openitem(MainBP, 'back')
wait(500, 1000)
resizewindows()
wait(500, 1000)
openitem(PotionsBP, MainBP, true)




closewindows()
wait(500, 1000)
openitem(MainBP, 'back')
wait(500, 1000)
resizewindows()
wait(500, 1000)
openitem(PotionsBP, MainBP, true)
wait(500, 1000)
resizewindows()
openitem(LootBP, MainBP, true)
wait(500, 1000)
resizewindows()
openitem(GoldBP, MainBP, true)
wait(500, 1000)
resizewindows()


Share on Google Plus

About Admin

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 comentários:

Postar um comentário