Results 1 to 6 of 6

Thread: action if death close tibia

  1. #1
    Normal User
    Join Date
    Jul 2012
    Posts
    84
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    -6
    Rep Power
    0

    action if death close tibia

    need this action please!

  2. #2
    Normal User
    Join Date
    Jul 2012
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    if hp < 1 then
    closetibia()
    else end

    a logica a seria mais ou menos essa.

  3. #3
    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
    If you're using reconnect and wish to logout if you spawn at temple you can use this script - I might have forgot some priest names.
    PHP Code:
    local NPCs = {"Alia","Amanda","Brewster","Isimov","Kjesse","Lorietta","Maealil","Quentin","Yberius"}

    for 
    0#NPCs do
        
    if (findcreature(NPCs[i]) ~= -1) and (pzone) do
            
    closetibia()
        
    end
    end 
    PS. I didnt test it but it should work.
    Last edited by soder; 10-03-2012 at 11:12 AM.

  4. #4
    Focus Group
    Join Date
    Feb 2012
    Posts
    148
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    16
    Rep Power
    5
    soder genius! never thought about that.
    props!

  5. #5
    Normal User
    Join Date
    Jul 2012
    Posts
    84
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    -6
    Rep Power
    0
    butif i have auto reconect and have 2 tibia open ... but just close one! what will happen with auto reconect of close tibia client ?

  6. #6
    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
    Nothing will happen. As you close the client it wont reconnect as there's no client to connect to.

Posting Permissions

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