konishyapl
02-05-2017, 11:51 PM
elseif (labelName == "Potions1") then
Walker.Stop()
if (Self.ItemCount(236) <= MaxHealth) then
Self.SayToNpc({"hi", "flasks", "yes", "yes", "yes", "yes", "yes", "yes", "trade", "bye"}, 65)
wait(2000)
if (Self.ItemCount(236) <= MaxHealth) then
BuyItems(236, MaxHealth)
wait(500)
Walker.Goto("Potions2")
wait(500)
Walker.Start()
end
elseif (labelName == "Potions2") then
Walker.Stop()
if (Self.ItemCount(268) <= MaxMana) then
Self.SayToNpc({"hi", "flasks", "yes", "yes", "yes", "yes", "yes", "yes", "trade"}, 65)
wait(2000)
if (Self.ItemCount(268) <= MaxMana) then
BuyItems(268, MaxMana)
wait(500)
end
end
Walker.Start()
end
Hello problem is that bot buying health potions from label potions1, when its going to label potions2 but it dont buy anything, he even not saying anything to npc, how to repair it plsss ?
Walker.Stop()
if (Self.ItemCount(236) <= MaxHealth) then
Self.SayToNpc({"hi", "flasks", "yes", "yes", "yes", "yes", "yes", "yes", "trade", "bye"}, 65)
wait(2000)
if (Self.ItemCount(236) <= MaxHealth) then
BuyItems(236, MaxHealth)
wait(500)
Walker.Goto("Potions2")
wait(500)
Walker.Start()
end
elseif (labelName == "Potions2") then
Walker.Stop()
if (Self.ItemCount(268) <= MaxMana) then
Self.SayToNpc({"hi", "flasks", "yes", "yes", "yes", "yes", "yes", "yes", "trade"}, 65)
wait(2000)
if (Self.ItemCount(268) <= MaxMana) then
BuyItems(268, MaxMana)
wait(500)
end
end
Walker.Start()
end
Hello problem is that bot buying health potions from label potions1, when its going to label potions2 but it dont buy anything, he even not saying anything to npc, how to repair it plsss ?