Results 1 to 6 of 6

Thread: Request: Scorpion Posion CURE?

  1. #1
    Normal User lilb4l's Avatar
    Join Date
    Apr 2012
    Location
    Sweden
    Posts
    278
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    11 Post(s)
    Reputation
    66
    Rep Power
    5

    Request: Scorpion Posion CURE?

    Someone got a script that does exana pox after scorpion atks u?


    thanks in advance, LiLB4L

  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
    345 Post(s)
    Reputation
    462
    Rep Power
    10
    Try:

    PHP Code:
    local msgs getmessages("Server Log"
    local qtd msgs.count-

    for i=0,qtd 
    do 
        if 
    msgs[qtd].text:find("You lose .+ hitpoints due to an attack by a scroption."
        
    then 
            cast
    ("exana pox")
            
    wait(2000)
        
    end 
    end 


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

    For a better iBot!

    (◣_◢)

  3. #3
    Normal User lilb4l's Avatar
    Join Date
    Apr 2012
    Location
    Sweden
    Posts
    278
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    11 Post(s)
    Reputation
    66
    Rep Power
    5
    tried but didnt work



    Quote Originally Posted by blakw View Post
    Try:

    PHP Code:
    local msgs getmessages("Server Log"
    local qtd msgs.count-

    for i=0,qtd 
    do 
        if 
    msgs[qtd].text:find("You lose .+ hitpoints due to an attack by a scroption."
        
    then 
            cast
    ("exana pox")
            
    wait(2000)
        
    end 
    end 

  4. #4
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    815
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    345 Post(s)
    Reputation
    462
    Rep Power
    10
    PHP Code:
    local msgs getmessages("Server Log"
    local qtd msgs.count-

    for i=0,qtd 
    do 
        if 
    msgs[qtd].text:find("You lose .+ hitpoints due to an attack by a scorpion.") and (poisoned == true)
        
    then 
            cast
    ("exana pox")
            
    wait(4000)
        
    end 
    end 


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

    For a better iBot!

    (◣_◢)

  5. #5
    Normal User lilb4l's Avatar
    Join Date
    Apr 2012
    Location
    Sweden
    Posts
    278
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    11 Post(s)
    Reputation
    66
    Rep Power
    5
    doesnt work still cuz the logg when scorpion atks its there all time so it does exana pox all the time

  6. #6
    Normal User
    Join Date
    May 2012
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Try this, might work

    Code:
    local msgs = getmessages("Server Log") 
    local qtd = msgs.count-1 
    
    for i=0,qtd 
    do 
        if msgs[qtd].text:find("You lose .+ hitpoints due to an attack by a scorpion.") and (poisoned == true) and maround() <= 0
        then 
            cast("exana pox")
            wait(4000)
        end 
    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
  •