Results 1 to 5 of 5

Thread: Log out if less than xx pots

  1. #1
    iBot User
    Join Date
    Sep 2013
    Posts
    58
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    18 Post(s)
    Reputation
    21
    Rep Power
    4

    Log out if less than xx pots

    Hello, I need action which can log out or log off If I have less than xx pots.
    Just if somebody will try to waste me, or when I want to add some action to checking waypoint

    if less than xx pots log out
    else
    gotolabel("hunt")

    or something like this


    Thanks for any help

  2. #2
    Normal User mistgun's Avatar
    Join Date
    Nov 2012
    Location
    LDZ
    Posts
    333
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    41
    Rep Power
    5
    Lua Code:
    local PotName = ("strong health potion")
    local BpName = ("beach backpack")
    local PotLog = 10
     
     
    if itemcount(PotName, BpName) < PotLog and maround(10) < 1 
    then
          logout()
          wait(500)
    elseif itemcount(PotName, BpName) > PotLog 
    then
          gotolabel("hunt")
          wait(300)
    end
    LATEST FREE AND PAID SCRIPTS

    Ghostland: EK Coryms Cave: EK
    Peninsula Tomb: EK, MS/ED Mount Sternum: EK
    Dwarf City: EK Nightstalkers Mountain: ED, MS

  3. #3
    iBot User
    Join Date
    Sep 2013
    Posts
    58
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    18 Post(s)
    Reputation
    21
    Rep Power
    4
    u made my day
    thansk a lot

    +rep

  4. #4
    iBot User
    Join Date
    Sep 2013
    Posts
    58
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    18 Post(s)
    Reputation
    21
    Rep Power
    4
    nobody tryed waste my yet, so didn't test it at all

  5. #5
    Normal User
    Join Date
    Oct 2013
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    4
    any chance to count, when backpack is closed? because of refill and bps opening
    or maybe active only when 4bp's opened?
    Last edited by zapsu; 01-24-2014 at 10:24 AM.

Posting Permissions

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