Results 1 to 8 of 8

Thread: ppl healing monsters

  1. #1
    iBot User ronnblad's Avatar
    Join Date
    Aug 2012
    Location
    Sweden
    Posts
    121
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    11
    Rep Power
    5

    Unhappy ppl healing monsters

    hello i need help with preventing ppl from killing me when they heal my mobs...

    they use exura gran mas res and uhs to heal my monsters.
    Last edited by ronnblad; 09-02-2012 at 01:53 PM.

  2. #2
    Normal User Aramm's Avatar
    Join Date
    Mar 2012
    Location
    Curitiba - Parana - Brazil
    Posts
    192
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    18
    Rep Power
    5
    try this mas res alert:

    local LOCAL_CHAT_MESSAGES = getnewmessages("Local Chat")
    local LOCAL_CHAT_MESSAGES_QUANTITY = LOCAL_CHAT_MESSAGES.count - 1


    for INDEX = 0, LOCAL_CHAT_MESSAGES_QUANTITY do
    if (LOCAL_CHAT_MESSAGES[LOCAL_CHAT_MESSAGES_QUANTITY - INDEX].text:find("exura gran mas res")) then
    playsound("alert.wav")
    end
    end

  3. #3
    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
    Even better. Alert if the monster heals.


    PHP Code:
    local lastid 0
    local lasthp 


    if target.id ~= lastid then
    lastid 
    target.id
    lasthp 
    target.hppc  
    elseif target.hppc-lasthp <= 15 then  
    lasthp 
    target.hppc  
    else playsound("monster.wav")  
    end 

  4. #4
    iBot User ronnblad's Avatar
    Join Date
    Aug 2012
    Location
    Sweden
    Posts
    121
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    11
    Rep Power
    5
    Quote Originally Posted by pink_panther View Post
    Even better. Alert if the monster heals.


    PHP Code:
    local lastid 0
    local lasthp 


    if target.id ~= lastid then
    lastid 
    target.id
    lasthp 
    target.hppc  
    elseif target.hppc-lasthp <= 15 then  
    lasthp 
    target.hppc  
    else playsound("monster.wav")  
    end 
    I am intressted of making my script 100% afk, so thats for i would like something like this:
    PHP Code:
    local lastid 
    local lasthp 
    0  

    if target.id ~= lastid then 
    lastid 
    target.id 
    lasthp 
    target.hppc   
    elseif target.hppc-lasthp <= 15 then   
    lasthp 
    target.hppc   
    else settingtargeting off
    then gotolabel 
    ('SafeSpot'
    end 
    -- could this be made so there is more than 1 safe spot? like gotolabel ('SafeSpot') or gotolabel ('SafeSpot2') sometimes so is the bot on diffent floors and such. --
    is it possible to make something like this?
    Last edited by ronnblad; 09-18-2012 at 05:36 AM.

  5. #5
    iBot User
    Join Date
    Jul 2012
    Posts
    246
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    7
    Rep Power
    0
    bump!!!!@
    ronnblad's suggestion!

  6. #6
    iBot User ronnblad's Avatar
    Join Date
    Aug 2012
    Location
    Sweden
    Posts
    121
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    11
    Rep Power
    5
    Hey, can some one help me get this code to work?

    PHP Code:
    local MESSAGES getnewmessages("Local Chat")
    local MESSAGES_QUANTITY MESSAGES.count 1

    for INDEX 0MESSAGES_QUANTITY do
    if (
    MESSAGES[MESSAGES_QUANTITY INDEX].text:find("exura gran mas res")) then
    setsettings
    ("Settings\\Targeting\\Settings\\Enabled""no")
    then gotolabel("SafeSpot")
    end
    end 

    and this one, that shoud go to label safespot if a player is attacking:
    PHP Code:
    if (underattack("p")) then 
    setsettings
    ("Settings\\Targeting\\Settings\\Enabled""no")
    then gotolabel("SafeSpot")
    end 


    i want this scripts becuse i want ppl to be able to be 100% afk on pvp world when they are using my scripts.
    It shoud be awsome to have this working.
    Last edited by ronnblad; 10-06-2012 at 07:17 PM.
    Ronnblads Free Script Thread. - Gentlemen start your Ibots <-- OLD

  7. #7
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    PHP Code:
    if (underattack("p")) then 
        setsettings
    ("Settings\\Targeting\\Enabled""no"wait(100)
        
    stopattack() wait(100)
        
    gotolabel("SafeSpot"wait(100)
    end 
    PHP Code:
    local MESSAGES getnewmessages("Local Chat")
    local MESSAGES_QUANTITY MESSAGES.count 1

    for INDEX 0MESSAGES_QUANTITY do
        if (
    MESSAGES[MESSAGES_QUANTITY INDEX].text:find("exura gran mas res")) then
            setsettings
    ("Settings\\Targeting\\Enabled""no"wait(100)
            
    stopattack() wait(100)
            
    gotolabel("SafeSpot"wait(100)
        
    end
    end 

  8. #8
    iBot User ronnblad's Avatar
    Join Date
    Aug 2012
    Location
    Sweden
    Posts
    121
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    11
    Rep Power
    5
    Thanks Soder i will test right by the way!
    Ronnblads Free Script Thread. - Gentlemen start your Ibots <-- OLD

Posting Permissions

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