Results 1 to 1 of 1
  1. #1
    Member tubikkupilnout's Avatar
    Reputation
    1
    Join Date
    Apr 2017
    Posts
    5
    Thanks G/R
    0/0
    CoreCoins
    5
    Trade Feedback
    0 (0%)

    LUA Script: Авто принятие фласки | WoW Circle Wrath of The Lich King 3.3.5



    pastebin

    Code:
    function trade()
    local flask = {"Настой бесконечной ярости", "Настой ледяного змея", "Настой каменной крови"}
    function AcceptTrade()
    TradeFrameTradeButton:Click()
    end
    if TradeFrame:IsShown() then
    for i = 1, 6 do
        for k, v in ipairs(flask) do
            if GetTradeTargetItemInfo(i) == v then
                print("Принял фласку!!!")
                AcceptTrade();
            end
        end
    end
    end end
    local f = CreateFrame("Frame")
    f:SetScript("OnUpdate", trade)

 

 

Similar Threads

  1. [Lua] The Lich King - Blizzlike
    By stoneharry in forum WoW EMU General Releases
    Replies: 197
    Last Post: 03-10-2011, 12:27 PM
  2. [Lua] The Lich King (not blizzlike)
    By Ground Zero in forum WoW EMU General Releases
    Replies: 5
    Last Post: 02-23-2010, 05:46 AM
  3. [Guide] Lua Scripting Guide is here [Updating]
    By Illidan1 in forum WoW EMU Guides & Tutorials
    Replies: 93
    Last Post: 11-04-2008, 06:56 PM
  4. How To LUA Script
    By Skuxta in forum WoW EMU Guides & Tutorials
    Replies: 1
    Last Post: 12-13-2007, 04:24 AM
  5. New LUA Scripts
    By 777devil777 in forum World of Warcraft Emulator Servers
    Replies: 8
    Last Post: 11-26-2007, 05:58 PM
All times are GMT -5. The time now is 02:40 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2017 vBulletin Solutions, Inc. All rights reserved. Digital Point modules: Sphinx-based search