Results 1 to 3 of 3

Thread: Help with a refiller action

  1. #1
    iBot User zedendagua's Avatar
    Join Date
    Nov 2012
    Posts
    60
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5

    Help with a refiller action

    I want an action that turns on the refiller when he is out of pz and turns off when he is on pz...

    i also have this one, but doesnt work.... can anyone help me?? tks!!!


    if pzone and cavebot then
    if refiller then
    setrefiller('no')
    end
    else if not refiller and cavebot then
    setrefiller('yes')
    end
    end
    Last edited by Eli; 06-18-2014 at 08:46 AM.

  2. #2
    Premium User Eldar's Avatar
    Join Date
    Apr 2013
    Location
    Poland
    Posts
    1,335
    Mentioned
    37 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    62 Post(s)
    Reputation
    159
    Rep Power
    7
    Lua Code:
     
    if cavebot then
    if pzone then
    setsettings("Settings\\Refiller\\Enabled", "no")
    else
    setsettings("Settings\\Refiller\\Enabled", "yes")
    end
    end

  3. #3
    iBot User zedendagua's Avatar
    Join Date
    Nov 2012
    Posts
    60
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    tks, rep +

Posting Permissions

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