Signup Now
Results 1 to 2 of 2
  1. #1
    Free User farmatodo's Avatar
    Join Date
    Nov 2014
    Posts
    39
    Reputation
    10
    Rep Power
    0

    Help with E-ring for Pk

    Hey, I need a script that will put on a E-Ring when attacked by a player and close the client! can anyone help me with this?
    Check Out My ScreenShot Thread
    >>>>https://forums.tibiawindbot.com/showthread.php?111456-Farmatodo-s-RP-Life-Thread-(Full-Manual)<<<<

  2. #2
    Free User Cisco's Avatar
    Join Date
    Aug 2014
    Location
    Brazil
    Posts
    1,424
    Reputation
    119
    Rep Power
    23
    Quote Originally Posted by farmatodo View Post
    Hey, I need a script that will put on a E-Ring when attacked by a player and close the client! can anyone help me with this?
    1- Wrong area, > Request, post

    2-

    --Check Attack Player
    auto(100)
    local Print = true --print
    local Ring = 'energy ring' --ring
    local RingBP = 'brocade backpack' --ring bp
    local RemoveRing = true --if no attacked player, remove ring
    local useXLOG = false --close connection with the world
    local useCloseClient = true --close client

    ------------------------------------------

    if $connected then
    if $pattacker.id ~= 0 then
    if Print then
    print($pattacker.name .. ' is attacking you!')
    wait(1000)
    end
    if itemcount(Ring) ~= 0 then
    equipitem(Ring)
    end
    --if use auto reconnect, desable in line...for example: setsetting('Persistent/Scripts/Reconnect/Enabled', 'no')
    if useXLOG then
    xlog()
    end
    if useCloseClient then
    closeclient()
    end
    elseif $pattacker.id ~= 0 and RemoveRing and itemcount(Ring) ~= 0 then
    unequipitem('finger', RingBP)
    end
    end

 

 

Posting Permissions

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