Signup Now
Results 1 to 2 of 2
  1. #1
    Wind Powered
    Join Date
    Dec 2013
    Location
    Poland / Warsaw
    Posts
    65
    Reputation
    10
    Rep Power
    7

    Force logout at health below

    I know that is in alert state, I want to log off before exiting the script to relog

  2. #2
    Wind Powered Cisco's Avatar
    Join Date
    Aug 2014
    Location
    Brazil
    Posts
    1,179
    Reputation
    110
    Rep Power
    9
    Quote Originally Posted by kagar View Post
    I know that is in alert state, I want to log off before exiting the script to relog
    auto(1000)
    local CheckHP = true
    local HP = 50 --percentage

    if $hppc <= HP then
    --persistent reconnect off
    logout()
    if $connected then
    xlog(true)
    end
    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
  •