XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 3 of 3

Thread: i need alarm when capcity <= x, and gold counter

  1. #1

    Join Date
    Aug 2016
    Posts
    43
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    i need alarm when capcity <= x, and gold counter

    I need a script for alarm when my capcity is lower then x.
    Second script is gold counter from my hunt. All gold earned from last log in.

  2. #2
    Zingron's Avatar
    Join Date
    Sep 2013
    Location
    United Kingdom
    Posts
    130
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Alarm when below x capacity

    Code:
    local capacityAlert = 10
    
    Module.New('CapacityCheck', function(alertCap)
        if Self.Cap() < capacityAlert then
            alert()
        end 
        alertCap:Delay(5000)
    end)

  3. #3
    mikjail's Avatar
    Join Date
    Jan 2016
    Location
    Venezuela
    Posts
    39
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    @Zingron

    Man, I'm trying to make an script that goes to labelName if there are items in lootBP this what I got

    Code:
    elseif (labelName == "DepositItems") then
       if (Container:ItemCount() > 0) then
          print("Found " .. Container.ItemCount() .. " items to deposit.")
          wait(1500)
          Walker.Goto("Reach Depot")
       else
          Walker.Goto("CheckSupp")
       end

Posting Permissions

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