Results 1 to 2 of 2

Thread: stop targeting if.....

  1. #1
    Normal User
    Join Date
    Aug 2012
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5

    stop targeting if.....

    Well what i want is to stop targeting if shooting thunderstorms runes with an action.
    Thanks in advance for anybody that can help me out.

  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
    This should do it - it will check the serverlog if you used a thunderstorm rune with your tibia hotkeys.

    local MESSAGES = getnewmessages("Server Log")
    local MESSAGES_COUNT = MESSAGES.count - 1

    for INDEX = 0, MESSAGES_COUNT do
    if (MESSAGES[MESSAGES_COUNT - INDEX].text:find("thunderstorm rune")) then
    settargeting("off")
    end
    end
    Last edited by soder; 07-26-2013 at 08:35 PM.

Posting Permissions

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