[LUA] will rep <-check real quick menu

Shout-Out

User Tag List

Results 1 to 5 of 5
  1. #1
    Strupantwn's Avatar Contributor
    Reputation
    115
    Join Date
    Apr 2007
    Posts
    1,045
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [LUA] will rep <-check real quick

    I just got edoxer's script and customized it a little bit adding in Batch!'s frostbolt in

    and got a error
    expected "<" near unstableEclipse_chill or something

    Code:
    function Unstable Eclipse_Chill(pUnit, Event)
    pUnit:CastSpell(21098)
    pUnit:SendChatMessage(12, 0, "You will be destroyed along with DELIGHT!")
    end
    
    function Unstable Eclipse_Volly(pUnit, Event)
    pUnit:CastSpell(38837)
    pUnit:SendChatMessage(12, 0, "You're mine!")
    end
    
    function Unstable Eclipse_Armor(pUnit, Event)
    pUnit:CastSpell(27134)
    end
    
    function Unstable Eclipse_IceNova(pUnit, Event)
    pUnit:CastSpell(31250)
    pUnit:SendChatMessage(12, 0, "Stop MOVING!")
    end
    
    function Unstable Eclipse_Frostbolt8k(pUnit, Event)
        local plr = pUnit:GetMainTank()
       if (plr ~= nil) then
    pUnit:FullCastSpellOnTarget(28478, plr)
     end
    end
    
    function Unstable Eclipse_OnCombat(pUnit, Event)
    pUnit:SendChatMessage (11, 0, "You tell Delight that I am no longer in control!")
    pUnit:RegisterEvent("Unstable Eclipse_Chill",25000, 0)
    pUnit:RegisterEvent("Unstable Eclipse_Volly",20000, 0)
    pUnit:RegisterEvent("Unstable Eclipse_Armor",23000, 0)
    pUnit:RegisterEvent("Unstable Eclipse_IceNova",30000, 0)
    pUnit:RegisterEvent("Unstable Eclipse_Frostbolt8k",15000, 0)
    end
    
    
    function Unstable Eclipse_OnLeaveCombat(pUnit, Event)
    pUnit:RemoveEvents()
    end
    
    function Unstable Eclipse_KilledTarget(pUnit, Event)
    pUnit:SendChatMessage(12, 0, "Worthless worms")
    pUnit:CastSpell(37669)
    pUnit:RemoveEvents()
    end
    
    function Unstable Eclipse_OnDied(pUnit, Event)
    pUnit:SendChatMessage(12, 0, "Destory Delight . . .")
    pUnit:RemoveEvents()
    end
    
    RegisterUnitEvent(444105, 1, "Unstable Eclipse_OnCombat")
    RegisterUnitEvent(444105, 2, "Unstable Eclipse_OnLeaveCombat")
    RegisterUnitEvent(444105, 3, "Unstable Eclipse_OnKilledTarget")
    RegisterUnitEvent(444105, 4, "Unstable Eclipse_OnDied")

    [LUA] will rep &lt;-check real quick
  2. #2
    Nilrac's Avatar Banned
    Reputation
    360
    Join Date
    Nov 2007
    Posts
    762
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What line does it say the error is on?

    Should look something like this

    blahblahrandomtext
    :45:

  3. #3
    sadgonewild's Avatar Member
    Reputation
    10
    Join Date
    Jun 2007
    Posts
    127
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That is a bad script,if you want a proper one give me a pm.

  4. #4
    LordJedi's Avatar Member
    Reputation
    20
    Join Date
    Dec 2007
    Posts
    156
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    u function is Unstable Eclipse_Chill
    try this UnstableEclipse_Chill or Unstable_Eclipse_Chill
    dont use space

  5. #5
    mager1794's Avatar Member
    Reputation
    356
    Join Date
    Feb 2008
    Posts
    703
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    function UnstableEclipse_Chill(pUnit, Event)
    pUnit:CastSpell(21098)
    pUnit:SendChatMessage(12, 0, "You will be destroyed along with DELIGHT!")
    end
    
    function UnstableEclipse_Volly(pUnit, Event)
    pUnit:CastSpell(38837)
    pUnit:SendChatMessage(12, 0, "You're mine!")
    end
    
    function UnstableEclipse_Armor(pUnit, Event)
    pUnit:CastSpell(27134)
    end
    
    function UnstableEclipse_IceNova(pUnit, Event)
    pUnit:CastSpell(31250)
    pUnit:SendChatMessage(12, 0, "Stop MOVING!")
    end
    
    function UnstableEclipse_Frostbolt8k(pUnit, Event)
        local plr = pUnit:GetMainTank()
       if (plr ~= nil) then
    pUnit:FullCastSpellOnTarget(28478, plr)
     end
    end
    
    function Unstable Eclipse_OnCombat(pUnit, Event)
    pUnit:SendChatMessage (11, 0, "You tell Delight that I am no longer in control!")
    pUnit:RegisterEvent("UnstableEclipse_Chill",25000, 0)
    pUnit:RegisterEvent("UnstableEclipse_Volly",20000, 0)
    pUnit:RegisterEvent("UnstableEclipse_Armor",23000, 0)
    pUnit:RegisterEvent("UnstableEclipse_IceNova",30000, 0)
    pUnit:RegisterEvent("UnstableEclipse_Frostbolt8k",15000, 0)
    end
    
    
    function UnstableEclipse_OnLeaveCombat(pUnit, Event)
    pUnit:RemoveEvents()
    end
    
    function UnstableEclipse_KilledTarget(pUnit, Event)
    pUnit:SendChatMessage(12, 0, "Worthless worms")
    pUnit:CastSpell(37669)
    pUnit:RemoveEvents()
    end
    
    function UnstableEclipse_OnDied(pUnit, Event)
    pUnit:SendChatMessage(12, 0, "Destory Delight . . .")
    pUnit:RemoveEvents()
    end
    
    RegisterUnitEvent(444105, 1, "UnstableEclipse_OnCombat")
    RegisterUnitEvent(444105, 2, "UnstableEclipse_OnLeaveCombat")
    RegisterUnitEvent(444105, 3, "UnstableEclipse_OnKilledTarget")
    RegisterUnitEvent(444105, 4, "UnstableEclipse_OnDied")
    should be functional
    Lunar Gaming - Reaching For The Stars

Similar Threads

  1. [Lua][ArcEmu] Need help with Lua will Rep
    By Pedregon in forum WoW EMU Questions & Requests
    Replies: 5
    Last Post: 03-20-2010, 02:39 PM
  2. [Check] OpenAscent Configurations - Will Rep
    By Strupantwn in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 07-22-2008, 05:08 PM
  3. [LUA] Will Rep
    By Strupantwn in forum World of Warcraft Emulator Servers
    Replies: 14
    Last Post: 06-16-2008, 06:09 PM
  4. [Question] Quick Q, will Rep
    By Strupantwn in forum World of Warcraft Emulator Servers
    Replies: 10
    Last Post: 06-04-2008, 05:45 AM
  5. Need someone to check a simple SQL code will +rep
    By dude891 in forum World of Warcraft Emulator Servers
    Replies: 10
    Last Post: 03-28-2008, 08:04 PM
All times are GMT -5. The time now is 05:40 AM. 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