Results 1 to 2 of 2

Thread: run if monster count

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

    run if monster count

    i need an action that make my char run if there is more than 4 monster on the screen (all tips of mutated)

  2. #2
    iBot User Nosekim's Avatar
    Join Date
    Feb 2012
    Posts
    1,089
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    70
    Rep Power
    7
    retired from
    http://www.tibiaibot.com/forum/showt...75-Scripts-Lua



    PHP Code:
    local monsters = {'Medusa','Serpent Spawn'}
    local runamount 4

    if maround(7unpack(monsters)) >= runamount then 
       settargeting
    ('off')
       if 
    not hasted then
          cast
    ('utani hur')
          
    wait(200,300)
          
    gotolabel(wpt.id-2)
       
    end
    else
       
    wait(1000)
       if 
    getsettings("Settings\\Targeting\\Enabled") == 'no' then
          settargeting
    ('on')
          
    wait(1000,2000)
       
    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
  •