Results 1 to 2 of 2

Thread: Check Fail

  1. #1
    Normal User jNo The Best's Avatar
    Join Date
    Jun 2012
    Posts
    161
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    9 Post(s)
    Reputation
    10
    Rep Power
    5

    Check Fail

    After version 2.2.9 to check that the tank depot in script is not picking up, help?

    PHP Code:
    local depositItems = {"Tarantula Egg""Steel Helmet""Time Ring""Spider Fangs"}
    local lootBp "Beach Backpack"
    local depotLabel "dpDEPOSIT"

    for 0#depositItems do
        
    if itemcount(depositItems[i], lootBp) > 1 then
            gotolabel
    (depotLabel)
        
    end
    end 

  2. #2
    iBot User
    Join Date
    Aug 2012
    Posts
    805
    Mentioned
    18 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    38 Post(s)
    Reputation
    180
    Rep Power
    7
    Lua Code:
    local depositItems = {"Tarantula Egg", "Steel Helmet", "Time Ring", "Spider Fangs"} 
    local lootBp = "Beach Backpack" 
    local depotLabel = "dpDEPOSIT" 
     
    for i = 1, #depositItems do 
        if itemcount(depositItems[i], lootBp) > 1 then 
            gotolabel(depotLabel) 
        end 
    end


    i have to be started from 1

Posting Permissions

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