Results 1 to 3 of 3

Thread: Help With HK

  1. #1
    Normal User
    Join Date
    Jan 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Question Help With HK

    why it not work ?

    Code:
    local autohur = getsettings("Settings\\Actions\\List\\Auto-Gran-Hur\\Enabled")
    
    if autohur == 'no' then
       setsettings("Settings\\Actions\\List\\Auto-Gran-Hur\\Enabled","yes")
    else
       setsettings("Settings\\Actions\\List\\Auto-Gran-Hur\\Enabled","no")
    end

    I want Hotkeys enable or disable this action (AutoGran Hur)

  2. #2
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    815
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    344 Post(s)
    Reputation
    462
    Rep Power
    10
    Try:

    PHP Code:
     
    local autohur = getsettings("Settings\\Actions\\List\\Auto-Gran-Hur\\Enabled")
     
    if autohur == 'no' then
       setsettings("Settings\\Actions\\List\\Auto Gran Hur\\Enabled","yes")
    else
       setsettings("Settings\\Actions\\List\\Auto Gran Hur\\Enabled","no")
    end


    ------------------------------------Latest Releases:------------------------------------
    Vocations:
    Darashia Lions Rock
    Oramond Seacrest Serpents X1

    For a better iBot!

    (◣_◢)

  3. #3
    Normal User
    Join Date
    Jan 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Quote Originally Posted by blakw View Post
    Try:

    PHP Code:
     
    local autohur = getsettings("Settings\\Actions\\List\\Auto-Gran-Hur\\Enabled")
     
    if autohur == 'no' then
       setsettings("Settings\\Actions\\List\\Auto Gran Hur\\Enabled","yes")
    else
       setsettings("Settings\\Actions\\List\\Auto Gran Hur\\Enabled","no")
    end
    Working Now.. Thx Blakw

    using (Copy Selected Path) he autoadd ( - ) on path

    On getsettings need ( - ) on path
    but on setsettings can't use it

Posting Permissions

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