Quote Originally Posted by Mony View Post
Ahh OK, thanks for the heads up. Here is the code that doesn't appear to be working.

--[[BuyPotions&Runes]]--
elseif (labelName == "BuyPotions") then
print("Buying Potions")
Walker.Stop()
Self.SayToNpc({"hi", "vial", "yes", "yes", "trade", "magic"}, 65)
wait(900, 1200)
Self.ShopBuyItemsUpTo(ManaPotID, MaxManaPot)
wait(500,900)
Self.ShopBuyItemsUpTo(ManaPotID, MaxManaPot)
wait(500,900)
Self.ShopBuyItemsUpTo(ManaPotID, MaxManaPot)
wait(500,900)
Self.ShopBuyItemsUpTo(ManaPotID, MaxManaPot)
wait(500,900)
Self.ShopBuyItemsUpTo(ManaPotID, MaxManaPot)
wait(500,900)
Self.ShopBuyItemsUpTo(ManaPotID, MaxManaPot)
wait(500,900)
Walker.Start()


Apparently, Hi, Vial, Yes isn't accepted anymore. I also tried to change it to Hi, Trade.. etc.. but that also didn't work so I'm not sure on how the buying mechanics are scripted.

Thanks .

Mony
You don't need to call 'Self.ShopBuyItemsUpTo(ManaPotID, MaxManaPot)' multiple times and you should change Self.SayToNpc to Self.SayToNpc({"hi", "trade"}, 65), then add Self.ShopSellFlasks()

Btw, is it printing "Buying Potions" or not? Maybe there's something wrong with your labels handling