Results 1 to 3 of 3

Thread: Reveal Invisible

  1. #1
    Normal User
    Join Date
    Jul 2013
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Reveal Invisible

    Ive got this hotkey, but it starts spamming without monters on screen

    local msgs = getmessages("Server Log")
    local qtd = msgs.count-1

    for i=0,qtd do
    if (msgs[qtd].text:find("due to an attack by a draken spellweaver.")) and (paround() == 0) and (maround(1,"Draken Spellweaver") == 0) then
    usehotkey("F10") -- hotkey use exori
    end
    end

    Can somebody help me fix it? Ty.

  2. #2
    zami84's Avatar
    Join Date
    May 2012
    Posts
    316
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    48
    Rep Power
    5
    Lua Code:
    local msgs = getnewmessages("Server Log")
    local qtd = msgs.count-1
     
    for i=0,qtd do
    if (msgs[qtd].text:find("due to an attack by a draken spellweaver.")) and (paround() == 0) and (maround(1,"Draken Spellweaver") == 0) then
    usehotkey("F10") -- hotkey use exori
    end
    end

  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
    Quote Originally Posted by Jenchuriki View Post
    Ive got this hotkey, but it starts spamming without monters on screen

    local msgs = getmessages("Server Log")
    local qtd = msgs.count-1

    for i=0,qtd do
    if (msgs[qtd].text:find("due to an attack by a draken spellweaver.")) and (paround() == 0) and (maround(1,"Draken Spellweaver") == 0) then
    usehotkey("F10") -- hotkey use exori
    end
    end

    Can somebody help me fix it? Ty.

    There is no "fix"

    It's because you didnt clear the console log before loading it.

Posting Permissions

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