Signup Now
Results 1 to 4 of 4
  1. #1
    Free User
    Join Date
    Apr 2015
    Posts
    3
    Reputation
    10
    Rep Power
    0

    Press Hotkey if health below x

    auto(500)
    local HOTKEY = "f5"

    if $hp < 5000 then
    keyevent(HOTKEY)
    end



    Basically this script would press F5 if your HP was below 5000. You can chage the f5 to f1 or f12 (whichever f key you choose) and change the 5000 to your desired hp amount. Hope this helps anyone in need.

    I came up with this after looking at many other scripts on here so I really hope no one thinks I am stealing their work.

  2. #2
    Moderator mistgun's Avatar
    Join Date
    Dec 2013
    Location
    Lodz, Poland
    Posts
    1,821
    Reputation
    220
    Rep Power
    26
    There's no sense to use keyevent since You can just use
    cast(spellname)

  3. #3
    Free User
    Join Date
    Feb 2015
    Posts
    50
    Reputation
    10
    Rep Power
    19
    Maybe he wanna equip a item, then cast() dosnt work. I know Lucas made a new function for equiping items last update. Check that out I dont remeber it

  4. #4
    Moderator mistgun's Avatar
    Join Date
    Dec 2013
    Location
    Lodz, Poland
    Posts
    1,821
    Reputation
    220
    Rep Power
    26
    Ah, so he can use equipitem() or clientitemhotkey() then

 

 

Posting Permissions

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