XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 1 of 1

Thread: Looot Seller,

  1. #1
    Monthly Subscriber
    Join Date
    Jun 2016
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Looot Seller,

    guys , i have looter which is working, but when i add more items then i have error " a NIL VALUE"
    lua script

    local MerchantsAndItems =
    {Feyrist = "small topaz"and"rainbow quartz"and"colorful snail shell"and"wild flowers"and"dandelion seeds"and"small enchanted amethyst"and"small enchanted ruby"and
    "small enchanted emerald"and"butterfly ring"and"wooden spellbook" , "might ring"}
    ============== /\ When i try add here next one {for many items, }then i got error
    Error: attempt to call method 'lower' (a nil value)
    , when i set it like it is here i have he read only one item or says that i don't have one of this items and stopping on him

    elseif (labelName == "Sell") then
    Walker.Stop()
    Self.SayToNpc({'hi','trade'}, 65)
    wait(400)
    for i = 1, #MerchantsAndItems.Feyrist do
    if (Self.ShopGetItemSaleCount(MerchantsAndItems.Feyri st:lower()) >= 1) then
    Self.ShopSellAllItems(MerchantsAndItems.Feyrist)
    wait(300, 500)
    end
    end
    Walker.Start()
    Last edited by nexus; 10-16-2019 at 06:15 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •