[Lua] Super Buffer Script menu

User Tag List

Results 1 to 2 of 2
  1. #1
    Dimarxx's Avatar Private
    Reputation
    10
    Join Date
    Apr 2010
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Lua] Super Buffer Script

    Code:
     	logcol(13)
    	print("-- Super Buffer Script by Dimie at AMP-WoW is now Ready!--")
    	print("--                     Enjoy!                        --")
    	logcol(7)
    	
    	local npcid = 999990
    	
      function On_Gossip_Talk(unit, event, player)
       unit:GossipCreateMenu(3554, player, 0)
       unit:GossipMenuAddItem(6, "|cFF9900Noob-Style Buffs!|r", 500, 0)
       unit:GossipMenuAddItem(6, "|cCC0000Hard-Style Buffs!|r", 501, 0)
       unit:GossipMenuAddItem(6, "|c99CC66L33T-Style Buffs!|r", 502, 0)
      unit:GossipMenuAddItem(1, "|c99CC66Scripted by Dimie|r", 800, 0)
       unit:GossipSendMenu(player)
    end
    
    
    function On_Gossip_Select (unit, event, player, id, intid, code)
    
    if (intid == 500) then
    unit:GossipCreateMenu(3543, player, 0)
     unit:FullCastSpellOnTarget(48100, player)
     unit:FullCastSpellOnTarget(48102, player)
     unit:FullCastSpellOnTarget(48104, player)
     unit:FullCastSpellOnTarget(58449, player)
     unit:FullCastSpellOnTarget(58451, player)
     unit:FullCastSpellOnTarget(58452, player)
    unit:GossipSendMenu(player)
    end
    
    if (intid == 501) then
    unit:GossipCreateMenu(3543, player, 0)
     unit:FullCastSpellOnTarget(8385, player)
     unit:FullCastSpellOnTarget(22888, player)
     unit:FullCastSpellOnTarget(20620, player)
     unit:FullCastSpellOnTarget(63283, player)
     unit:FullCastSpellOnTarget(48168, player)
     unit:FullCastSpellOnTarget(48073, player)
     unit:FullCastSpellOnTarget(38449, player)
     unit:FullCastSpellOnTarget(25898, player)
    unit:GossipSendMenu(player)
    end
    
    if (intid == 502) then
    unit:GossipCreateMenu(3543, player, 0)
     Unit:FullCastSpellOnTarget(5, player)
     Unit:SendChatMessage(12, "Next Time Don't Click Something you Can't handle!", 0)
    unit:GossipSendMenu(player)
    end
    end
    
    
    RegisterUnitGossipEvent(999990, 1, "On_Gossip_Talk")
    RegisterUnitGossipEvent(999990, 2, "On_Gossip_Select")
    I have a few problems and I know that i scripted it right because I have a Teleporter with the same Buff option. When He cast Hard-Style Buffs they go on himself too. Why is that? Also When They click L33T-Style it is suppose to kill them and it doesn't at all please help!

    [Lua] Super Buffer Script
  2. #2
    trujillo's Avatar Member
    Reputation
    4
    Join Date
    Jun 2008
    Posts
    111
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    try typing player:CastSpell(spellid)
    instead of unit:CastSpell(spellid)

    that should work for you

Similar Threads

  1. [2.4][LUA] The Boss Scripts!
    By BrantX in forum World of Warcraft Emulator Servers
    Replies: 30
    Last Post: 10-07-2008, 05:17 PM
  2. [LUA][SQL] Angel Script
    By BrantX in forum World of Warcraft Emulator Servers
    Replies: 10
    Last Post: 06-11-2008, 02:21 PM
  3. Lua Wait Command? Script.
    By moongo in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 05-14-2008, 12:52 AM
  4. VanCleef LUA - 4 Phases Script
    By Creepfold in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 05-11-2008, 05:13 AM
  5. [LUA] Mulgore Creatures Scripted
    By SectorSeven in forum World of Warcraft Emulator Servers
    Replies: 8
    Last Post: 04-11-2008, 01:00 AM
All times are GMT -5. The time now is 07:53 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