Results 1 to 3 of 3

Thread: Looking for action and hud

  1. #1
    Normal User
    Join Date
    Jun 2012
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5

    Looking for action and hud

    Hello guys!

    I would be very grateful if u could help me with.
    Action:
    If stamina lower than 16h > closeclient or logout.

    HUD:
    counting times that bot used recconect function.


    Thank You

  2. #2
    Normal User
    Join Date
    Feb 2012
    Posts
    129
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    12
    Rep Power
    5
    close tibia if stamina <= 15h
    and if monster around = 0
    PHP Code:
    local totalstamina positive(stamina 60)
    if 
    totalstamina <= 15 and maround() == 0 then 
    closetibia
    () 
    end 

    about hud I think it's impossible to do so far
    REP+ If I helped you

  3. #3
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    For the Hud, you would need to add another line to the reconnect and a global variable to your setup.

    Eg in setup, Reconnects = 0
    In the reconnect script, put a line into the If not connection section that does this, Reconnects = Reconnects + 1
    Then in a hud, have a new line of text that is Number of reconnections = reconnects

Posting Permissions

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