[LUA] Another lua dont work >: ( menu

User Tag List

Results 1 to 5 of 5
  1. #1
    Tikki100's Avatar Active Member
    Reputation
    50
    Join Date
    Mar 2008
    Posts
    83
    Thanks G/R
    3/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [LUA] Another lua dont work >: (

    +Rep x2 to hoever fix it

    HTML Code:
    function GolumOnCombat(pUnit, Event)
    pUnit:SendChatMessage(14, 0, "Don't take the precious!")
    pUnit:RegisterEvent("Gollum_Phase", 1000, 0)
    end
    
    function Gollum_Phase(Unit, Event)
    if pUnit:GetHealthPct() < 50 then
    pUnit:RemoveEvents()
    pUnit:SendChatMessage(14, 0, "Nightfoxx is a !@#$er! Ho gives to much work!")
    end
    
    function Golum_OnDied(Unit, Event)
    Unit:SendChatMessage(14, 0, "My.. Precious.. dont take from me...")
    Unit:RemoveEvents()
    end
    
    RegisterUnitEvent(899985, 1, "GolumOnCombat");
    RegisterUnitEvent(899985, 4, "Golum_OnDied")

    [LUA] Another lua dont work &gt;: (
  2. #2
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Remove the " ; " in the second to last line
    Should work fine after that.
    Life Puzzler WoW - Website | Forums

  3. #3
    Tikki100's Avatar Active Member
    Reputation
    50
    Join Date
    Mar 2008
    Posts
    83
    Thanks G/R
    3/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    dont work

  4. #4
    Pawaox-Z's Avatar Member
    Reputation
    57
    Join Date
    Dec 2007
    Posts
    176
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    function GolumOnCombat(Unit, Event)
    Unit:SendChatMessage(14, 0, "Don't take the precious!")
    Unit:RegisterEvent("Gollum_Phase", 1000, 0)
    end

    function Gollum_Phase(Unit, Event)
    if pUnit:GetHealthPct() < 50 then
    pUnit:RemoveEvents();
    pUnit:SendChatMessage(14, 0, "Nightfoxx is a ****er! Ho gives to much work!")
    end
    end

    function Golum_OnDied(Unit, Event)
    Unit:SendChatMessage(14, 0, "My.. Precious.. dont take from me...")
    Unit:RemoveEvents();
    end

    RegisterUnitEvent(899985, 1, "GolumOnCombat")
    RegisterUnitEvent(899985, 4, "Golum_OnDied")
    Should work

  5. #5
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    oh yea, forgot about the extra end
    Life Puzzler WoW - Website | Forums

Similar Threads

  1. [lua] simple but dont work -.-
    By Tikki100 in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 08-31-2009, 12:16 PM
  2. Yet another lua dont work (teleporter)
    By Tikki100 in forum WoW EMU Questions & Requests
    Replies: 11
    Last Post: 06-30-2009, 05:10 PM
  3. [LUA] Gamble script dont work :(
    By Tikki100 in forum WoW EMU Questions & Requests
    Replies: 6
    Last Post: 06-08-2009, 06:31 AM
  4. QUEST Lua Boss dont work!
    By Tikki100 in forum WoW EMU Questions & Requests
    Replies: 6
    Last Post: 04-15-2009, 10:31 AM
  5. [Question] My .lua doesnt work
    By Creepfold in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 12-20-2007, 07:32 PM
All times are GMT -5. The time now is 01:42 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search