View Full Version : Magic Trainer at NPC
kaine
02-05-2016, 08:05 AM
Hi, I'm fairly experienced with xenobot, I'm looking for a basic script to stand at an npc, buy potions and sell the vials. I can use settings within the support tab to control the mana waste so like I said I just need the script that will buy the pots so I can waste some KK's fully afk. If anyone can help, or can suggest another method (ps I dont have a house, so the only other way would be to stock my dp and spam the pots from there) It would be greatly appreciated! Thanks alot everyone happy botting :)
Currently my ED is lvl 185, with base ML 89! Im wanting 95-100 base ML on him, and I've got the cash and vouchers to make it happen :D
Jontor
02-05-2016, 02:48 PM
Open trade window and launch, make sure to have correct settings in support -> healing
while (true) do
Self.ShopBuyItemsUpTo("great mana potion", 100)
Self.ShopSellFlasks()
wait(10000)
end
Tobjun
02-05-2016, 02:56 PM
Is it safe to do this training at the npc?, should be many reports? Also can i just change that script to
while (true) do
Self.ShopBuyItemsUpTo("strong mana potion", 100)
Self.ShopSellFlasks()
wait(10000)
end
and last noob question, do i just make it a script and execute it? xD im not so experienced lol
Tobjun
02-05-2016, 03:11 PM
Open trade window and launch, make sure to have correct settings in support -> healing
while (true) do
Self.ShopBuyItemsUpTo("great mana potion", 100)
Self.ShopSellFlasks()
wait(10000)
end
Okay nvm i just tested, tho is it possible to add that it wont do this unless i have 60 mana potions? cause its stacking upp 100 gps in my backpack so eventually i have no space anywhere, stuff gets on the floor, but if it sell every 20 / 40 / 60 i get a plat instead
Jontor
02-05-2016, 04:25 PM
Okay nvm i just tested, tho is it possible to add that it wont do this unless i have 60 mana potions? cause its stacking upp 100 gps in my backpack so eventually i have no space anywhere, stuff gets on the floor, but if it sell every 20 / 40 / 60 i get a plat instead
Try this one
while (true) do
Self.ShopBuyItemsUpTo("great mana potion", 100)
for id = 283, 285 do
if (Self.ItemCount(id) % 20 == 0) then
Self.ShopSellFlasks()
end
end
end
Tobjun
02-09-2016, 06:13 AM
Try this one
while (true) do
Self.ShopBuyItemsUpTo("great mana potion", 100)
for id = 283, 285 do
if (Self.ItemCount(id) % 20 == 0) then
Self.ShopSellFlasks()
end
end
end
Thanks for making my life easier <3
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.