Results 1 to 2 of 2

Thread: Cure Poison if 20<

  1. #1
    Normal User
    Join Date
    Nov 2013
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    4

    Cure Poison if 20<

    Hey im atm botting on the ghastlys and i cant stand it cause i have waste cause of casting exana pox after almost each hit :/
    I want action/hotkey for exana pox if more then 20.
    Please help !

  2. #2
    iScripter Eli's Avatar
    Join Date
    Mar 2012
    Posts
    3,764
    Mentioned
    492 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    955 Post(s)
    Reputation
    586
    Rep Power
    10
    Try it: (credits to sirmate)

    Lua Code:
     
    local MESSAGES = getnewmessages("Server Log") 
    local MESSAGES_QUANTITY = MESSAGES.count - 1 
     
    for INDEX = 0, MESSAGES_QUANTITY do 
        if (poisoned) and ((MESSAGES[MESSAGES_QUANTITY - INDEX].text:match("You lose 1(%w+) hitpoints."))) then 
            while (poisoned) do
                cast("exana pox") 
                wait(300,600)
                updateworld()
            end
        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
  •