Results 1 to 8 of 8

Thread: action que da exit quando atacado por fire elemental

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

    action que da exit quando atacado por fire elemental

    ajudem por favor!

  2. #2
    Normal User
    Join Date
    May 2012
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    ah, tambem queria action para que ele de exit quando fica muito tempo parado no mesmo sqm... obrigado xD

  3. #3
    iBot User
    Join Date
    Apr 2012
    Posts
    84
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by raitzxd1 View Post
    ajudem por favor!
    Voce pode colocar pra dar exit caso apareça fire elemental na tela, ficaria assim

    if maround("Fire Elemental") >= 1 then
    closetibia()
    end

    Quote Originally Posted by raitzxd1 View Post
    ah, tambem queria action para que ele de exit quando fica muito tempo parado no mesmo sqm... obrigado xD
    Local seconds = 2 -- quantos segundos parado para dar exit

    if (standtime >= seconds*1000) then
    closetibia()
    end

    Mereço REP+ ? XD
    TE AJUDEI?

    REP++


  4. #4
    iBot User Dehan's Avatar
    Join Date
    May 2012
    Location
    www.ssocialscripts.com
    Posts
    910
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    114
    Rep Power
    7
    ta ai, as duas
    Code:
    local matk = getcreatures("ms").isattackme
    local mname = getcreatures("ms").name
    local Stuck_Time = 10 --seconds
    
    if (mname == "Fire Elemental" and matk) or (standtime > (Stuck_Time*1000)) then
    closetibia()
    end
    Last edited by Dehan; 02-19-2013 at 06:11 AM.
    Check out - Dehan Accounts Service!

    Proud Scripter of BUgWT STAFF

  5. #5
    Premium User
    Join Date
    Feb 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    e pra caso algum player me ataque, então eu vá para certo sqm e depois deslogasse? teria como?

  6. #6
    Banned
    Join Date
    Jun 2012
    Location
    Ceará
    Posts
    2,114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    81
    Rep Power
    0
    @Opalha
    if underattack("p") then gotolabel("x")
    wait(200)
    pausewalk(60000)
    logout()
    end

  7. #7
    Premium User
    Join Date
    Feb 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    sou novo com bot, o que substituo o p e o x?
    tenho que estar no mesmo andar do sqm q irei ficar safe? vlw

  8. #8
    Banned
    Join Date
    Jun 2012
    Location
    Ceará
    Posts
    2,114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    81
    Rep Power
    0
    @Opalha
    No caso ai p = player então servirá somente se algum player lhe a atacar.

Posting Permissions

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