Results 1 to 5 of 5

Thread: If skulled so..

  1. #1
    Normal User
    Join Date
    Feb 2012
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    If skulled so..

    I want a action if I'm skulled or pvpsigned, the script will kill all monsters in the screen after will turn off cavebot and looting and targeting and after will cast exana pox and wait 2 minutes, and if i'm not skulled so will turn on cavebot, targeting, and looting that is possible? thanks.

  2. #2
    Normal User
    Join Date
    Feb 2012
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    up..........................

  3. #3
    Normal User Balbek's Avatar
    Join Date
    May 2012
    Location
    LDZ
    Posts
    554
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    84
    Rep Power
    6
    Tell me where do you bot and which vocation do you want to use it for

  4. #4
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    ^ Why does that matter...


    PHP Code:
    local yourName "Your Char name"

    if getcreature(yourName).skull ~= 0 then
    setcavebot
    ("off")
        if 
    poisoned and cancast("exana pox"then
            cast
    ("exana pox")
        
    end
    wait
    (1000)
    else
    setcavebot("on")
    end 
    This will disable cabebot, cast "Exana pox" if you are poisoned and stand still until your skull leaves then start botting again.

    You do not need to disable looting, because it only loots if cavebot is on

    You shouldn't disable targeting because if you're going to just stand there, people can lure things on you very easy, by not turning it off, it will kill/finish killing anything on screen.

    If you have actions that use AoE attacks, add another line before "setcavebot("off")" to disable the action and another line after "else" to turn them back on.
    Last edited by pink_panther; 11-21-2012 at 03:25 AM.

  5. #5
    Banned
    Join Date
    May 2012
    Posts
    680
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    24
    Rep Power
    0
    I would suggest to force your bot to go refill, that way you can get to pz before it turns the cavebot off. Other then that, pink's script should be flawless.

Posting Permissions

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