Results 1 to 3 of 3

Thread: Ibot could do this?

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

    Ibot could do this?

    Just I want a hotkey which I can do "setrefiller('off') else setrefiller('on') <---- Basic Idea

    Im testing this:
    setrefiller('off') when I press "Insert", this is most basic hotkey I can do and still doesnt work...

    Now I did:
    local refiller = getsettings("Settings/Refiller/Enabled")

    if refiller == 'no' then
    setrefiller('on')
    else
    setrefiller('off')
    end
    wait(500)
    Still nothing xD


    I have been tested long hours and I cant do it work...
    Could you help me please?

  2. #2
    Normal User sirmate's Avatar
    Join Date
    Mar 2012
    Location
    Poland
    Posts
    176
    Mentioned
    2 Post(s)
    Tagged
    3 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    105
    Rep Power
    6
    Code:
    if (getsettings("Settings/Refiller/Enabled") == "no") then
        setsettings("Settings\\Refiller\\Enabled", "yes")
    else
        setsettings("Settings\\Refiller\\Enabled", "no")
    end
    
    
    wait(1000)
    Last edited by sirmate; 07-13-2012 at 04:16 PM.
    (๏̯͡๏ )

  3. #3
    Normal User
    Join Date
    May 2012
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    5
    Works 100% I love you!! I was testing like 4 hours lol more respect for u mate!

Posting Permissions

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