Results 1 to 5 of 5

Thread: If Detetect Unjustified killing

  1. #1
    Normal User
    Join Date
    May 2012
    Location
    Venezuela
    Posts
    124
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    11
    Rep Power
    5

    If Detetect Unjustified killing

    If Detetect Unjustified killing then close tibia. ?
    Any script for this ? please ...

  2. #2
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    815
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    344 Post(s)
    Reputation
    462
    Rep Power
    10
    By sirmate (you need to have his lib):

    PHP Code:
    local SELF_SKULL Self.Skull()

    if (
    SELF_SKULL SKULL_TYPE_NOSKULL and SELF_SKULL ~= SKULL_TYPE_GREENthen
            closetibia
    ()
    end 


    ------------------------------------Latest Releases:------------------------------------
    Vocations:
    Darashia Lions Rock
    Oramond Seacrest Serpents X1

    For a better iBot!

    (◣_◢)

  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
    No requirements:

    PHP Code:
    local serverlog_lines getnewmessages("Server Log"
    local serverlog_q serverlog_lines.count 

    for 0serverlog_q do 
        if (
    serverlog_lines[serverlog_q i].text:find("was not justified.")) then 
            closetibia
    ()
        
    end 
    end 


    Here is another one with no requirements.

    PHP Code:
    if getcreature(name).skull ~= or getcreature(name).skull ~= 2 then
    closetibia
    ()
    end 
    FYI, No skull is 0, Green skull is 2.


    Please test these on a new lvl 8 char first, I don'y play pvp servers and didn't have a chance to test these myself.
    Last edited by pink_panther; 11-04-2012 at 06:17 PM.

  4. #4
    Normal User
    Join Date
    May 2012
    Location
    Venezuela
    Posts
    124
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    11
    Rep Power
    5
    Thank you both. !

  5. #5
    Normal User k1kilian's Avatar
    Join Date
    Jun 2012
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    9
    Rep Power
    0
    So useful. Thank you!

Posting Permissions

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