Results 1 to 6 of 6

Thread: Skull Logout?

  1. #1
    Normal User
    Join Date
    Oct 2012
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    15
    Rep Power
    5

    Skull Logout?

    Hi dear players,

    Im new to Ibot and i wanted to know if there was any way to make tibia or the bot exit in case i get skull. I want this to avoid red skull in case i accidentally kill some people stair hoping near the char o something (i always do this to other boters so i guess they could to this to me xDD)

    Thanks in advance!

    Bye,

    Lowlz

  2. #2
    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
    PHP Code:
    if (Self.Skull() > SKULL_TYPE_NOSKULL and Self.Skull() ~= SKULL_TYPE_GREENthen
        closetibia
    ()
    end 
    Requires sirmate's library

  3. #3
    Normal User
    Join Date
    Oct 2012
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    15
    Rep Power
    5
    Thanks soder!

  4. #4
    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
    Quote Originally Posted by soder View Post
    PHP Code:
    if (Self.Skull() > SKULL_TYPE_NOSKULL and Self.Skull() ~= SKULL_TYPE_GREENthen
        closetibia
    ()
    end 
    Requires sirmate's library


    Screw custom libraries. This one doesn't require anything.
    PHP Code:
    local yourName "Your char's name"

    if getcreature(yourName).skull ~= or getcreature(yourName).skull ~= 2 then closetibia() end 

    Either one you use, Id suggest you test first by getting two of your own chars and attacking each other.

    Skull Types ID's

    0: Creature is not skulled.
    1: Creature is yellow skulled.
    2: Creature is green skulled.
    3: Creature is white skulled.
    4: Creature is red skulled.
    5: Creature is black skulled.
    6: creature is orange skulled.
    Last edited by pink_panther; 07-04-2013 at 07:06 PM.

  5. #5
    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
    Why would you not use sirmates lib? It's waaaay better than the standard shit.

  6. #6
    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
    Quote Originally Posted by soder View Post
    Why would you not use sirmates lib? It's waaaay better than the standard shit.
    It's pointless.

    Nothing it does cant already be done.

    Imo it just adds a point of failure.

    Don't get me wrong tho, I see a lot of people like it, and he does a good job. This is just my opinion.

Posting Permissions

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