Signup Now
Page 1 of 3 123 LastLast
Results 1 to 10 of 25
  1. #1
    Free User
    Join Date
    Oct 2014
    Posts
    172
    Reputation
    10
    Rep Power
    20

    request press hotkey,

    Yo i wonder if its possible lets say i want this to press f5 if hppc = 60 and press f6 if hppc 80 and if hppc 40 press f4
    possible ?

  2. #2
    Free User Riku's Avatar
    Join Date
    Nov 2014
    Posts
    365
    Reputation
    49
    Rep Power
    19
    @terje

    If Hppc what? I'm guessing its for some healer but... Yeah this is possible using WB Hotkeys.

  3. #3
    Free User
    Join Date
    Oct 2014
    Posts
    172
    Reputation
    10
    Rep Power
    20
    yes its for some healer, but if HP goes below like 60% press f5, etrc etc etc
    Not CAST exura gran, but press that hotkey

  4. #4
    Free User
    Join Date
    Oct 2014
    Posts
    172
    Reputation
    10
    Rep Power
    20
    wb hotkeys????

  5. #5
    Free User
    Join Date
    Oct 2014
    Posts
    172
    Reputation
    10
    Rep Power
    20
    Code:
    auto(10)
    if $hppc < 70 then
    	wait(10,30)
    	keyevent('F5')
    elseif $hppc > 90 then
    	wait(10,30)
    	keyevent('F4')
    end

    Like this, But when pressing F4, it shouldnt spam f4. it shouldnt spam at all thies hotkeys, only press once IF the hppc is under, or over, but it keeps spamming. suggestions?

  6. #6
    Free User
    Join Date
    Oct 2014
    Posts
    172
    Reputation
    10
    Rep Power
    20
    bump!

  7. #7
    Free User
    Join Date
    Oct 2014
    Posts
    172
    Reputation
    10
    Rep Power
    20
    F5 = energy ring with equip, and F4 = might ring i tried to make a energy ring script like this, but it keeps spamming the F4 the might ring like crazy

  8. #8
    Free User Riku's Avatar
    Join Date
    Nov 2014
    Posts
    365
    Reputation
    49
    Rep Power
    19
    @terje

    Oh yes that's fully possible. I understand now. I can make you something like this, that isn't hard. Let me finish what I was doing first though.

  9. #9
    Free User Riku's Avatar
    Join Date
    Nov 2014
    Posts
    365
    Reputation
    49
    Rep Power
    19
    @terje

    This should work.... Although a bit unsure if itemid("might ring") returns the same id as an equipped might ring. Same with energy ring.

    init start
    local Keys = {
    Key1 = "F1",
    Key1minHP = 1, -- In percentages.
    Key1maxHP = 89,
    Key1equip = "might ring", -- Item

    Key2 = "F2",
    Key2minHP = 90,
    Key2maxHP = 99,
    Key2equip = "energy ring"
    }
    init end

    auto(400)

    if ($hppc >= Keys.Key1minHP) and ($hppc <= Keys.Key1maxHP) and ($finger.id ~= itemid(Keys.Key1equip)) then
    keyevent(Keys.Key1)
    end

    if ($hppc >= Keys.Key2minHP) and ($hppc <= Keys.Key2maxHP) and ($finger.id ~= itemid(Keys.Key2equip)) then
    keyevent(Keys.Key2)
    end
    Last edited by Riku; 03-18-2015 at 02:39 PM.

  10. #10
    Free User
    Join Date
    Oct 2014
    Posts
    172
    Reputation
    10
    Rep Power
    20
    @Riku
    it puts on the energy ring, but it doesnt switch to might ring if above up

    cuz i want it to for example
    If HP% under 60 ENERGY RING instantly, ( press key F5 )
    and HP% over 90% put Might ring ( INSTANTLY with hotkeys press F4. )

    :O

 

 

Posting Permissions

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