Results 1 to 4 of 4

Thread: Attack PK?

  1. #1
    Normal User jNo The Best's Avatar
    Join Date
    Jun 2012
    Posts
    161
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    9 Post(s)
    Reputation
    10
    Rep Power
    5

    Attack PK?

    Alguém tem ai um script de atacar PK, porém desativa o target e o cavebot, e o pk sair da tela ativa denovo, o que eu tenho aqui fica matando o bixo e o pk ao mesmo tempo

  2. #2
    Normal User jNo The Best's Avatar
    Join Date
    Jun 2012
    Posts
    161
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    9 Post(s)
    Reputation
    10
    Rep Power
    5
    up!!!

  3. #3
    iBot User
    Join Date
    Jun 2012
    Posts
    18
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    5
    Preciso disso tbm, alguem ae nos ajuda!

  4. #4
    Moderator Furieri's Avatar
    Join Date
    Jun 2012
    Location
    Vitoria - ES / Brasil
    Posts
    792
    Mentioned
    62 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    199 Post(s)
    Reputation
    158
    Rep Power
    7
    Action feita pelo @Nosekim
    Lua Code:
     
    --Script Made by Nosekim
    --Attack PK
     
    local SafeList = {"Uncle Barry", "Brabo", "Lord'Paulistinha"}
    local UseRune = true --set true or false
    local WhatRune = "sudden death rune"
     
     
    --do not change below
     
    local pgot = getcreatures("ps")
    local ptable = {}
    local pqtd = pgot.count 
    local msgs = getmessages("Server Log")
    local qtd = msgs.count-1
     
     
    for i=0,pqtd-1 do
       for k=3,5 do
            if msgs[qtd].text:find("You lose (%d+) hitpoints due to an attack by "..pgot[i].name..".") and pgot[i].skull == k then
               table.insert(ptable, pgot[i].name)
            end
       end
    end
     
    if #ptable > 0 and not table.find(SafeList, ptable[1]) then
       attack(ptable[1])
       settargeting("off")
       setcavebot("off")
         if UseRune == true and itemcount(WhatRune) > 0 then
            useitemontarget(WhatRune, ptable[1])
            wait(2000)
         end
    else
    settargeting("on")
    setcavebot("on")
    end

Posting Permissions

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