Results 1 to 4 of 4

Thread: Run to safe zone + dc if player attacks you, or if player heals monster

  1. #1
    Normal User
    Join Date
    Jun 2012
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    6

    Run to safe zone + dc if player attacks you, or if player heals monster

    Hi!

    Just wondering, im quite new to ibot, and was wondering, how can i, run from a pk to a safe zone and disconnect? . . .

  2. #2
    iBot User
    Join Date
    Jul 2012
    Location
    Sweden
    Posts
    224
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    58
    Rep Power
    6
    [ilua]if underattack("p") then closetibia() end[/ilua]


    You can also use alarts to disconnect on player attack
    Last edited by soder; 03-16-2013 at 12:14 PM.

  3. #3
    Normal User
    Join Date
    Jun 2012
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    6
    I tried it all it does it close the tibia window when a player attacks.

  4. #4
    Normal User
    Join Date
    Apr 2012
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    6
    if underattack("p") then
    gotolabel ("Deposit")
    end

    is it?

Posting Permissions

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