i need lua help menu

User Tag List

Results 1 to 2 of 2
  1. #1
    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)

    i need lua help

    my lua script wont work
    i got the item to work and when i use the item it pulls the menu up but then i cant select anything from the menu
    Code:
    function BuffStone_OnUse(item, event, player)
    if (player:IsInCombat() == true) then
    player:SendAreaTriggerMessage("You are in combat!") 
    else 
    item:GossipCreateMenu(3544, player, 0)
    item:GossipMenuAddItem(1, "nether infusion", 1, 0)
    item:GossipMenuAddItem(1, "defensive aura", 2, 0)
    item:GossipMenuAddItem(1, "berserker aura", 3, 0)
    item:GossipMenuAddItem(1, "arena prep", 4, 0)
    item:GossipMenuAddItem(1, "dance vibe", 5, 0)
    item:GossipMenuAddItem(1, "greater blessing of kings", 6, 0)
    item:GossipMenuAddItem(1, "immune to disarm", 7, 0)
    item:GossipMenuAddItem(1, "song of sylvannas", 8, 0)
    item:GossipMenuAddItem(1, "battle supremacy", 9, 0)
    item:GossipSendMenu(player)
    end
    end
    
    function BuffStone_OnSelect(item, event, player, id, intid, code, misc)
    if(intid == 1) then
    item:GossipCreateMenu(61, player, 0)
    item:FullCastSpellOnTarget(38688, player)
    item:GossipSendMenu(player)
    end
    
    if(intid == 2) then
    item:GossipCreateMenu(61, player, 0)
    item:FullCastSpellOnTarget(41105, player)
    item:GossipSendMenu(player)
    end
    
    if(intid == 3) then
    item:GossipCreateMenu(61, player, 0)
    item:FullCastSpellOnTarget(41107, player)
    itemGossipSendMenu(player) 
    end
    
    if(intid == 4) then
    item:GossipCreateMenu(61, player, 0)
    item:FullCastSpellOnTarget(32728, player)
    itemGossipSendMenu(player) 
    end
    
    if(intid == 5) then
    item:GossipCreateMenu(61, player, 0)
    item:FullCastSpellOnTarget(29521, player)
    itemGossipSendMenu(player) 
    end
    
    if(intid == 6) then
    item:GossipCreateMenu(61, player, 0)
    item:FullCastSpellOnTarget(25898, player)
    itemGossipSendMenu(player) 
    end
    
    if(intid == 7) then
    item:GossipCreateMenu(61, player, 0)
    item:FullCastSpellOnTarget(32737, player)
    itemGossipSendMenu(player) 
    end
    
    if(intid == 8) then
    item:GossipCreateMenu(61, player, 0)
    item:FullCastSpellOnTarget(59756, player)
    itemGossipSendMenu(player) 
    end
    
    if(intid == 9) then
    item:GossipCreateMenu(61, player, 0)
    item:FullCastSpellOnTarget(45743, player)
    itemGossipSendMenu(player) 
    end
    end
    
    RegisterUnitGossipEvent(100395, 1, "BuffStone_OnUse")
    RegisterUnitGossipEvent(100395, 2, "BuffStone_OnUse")
    will +Rep for help
    Last edited by trujillo; 09-16-2009 at 01:29 AM.

    i need lua help
  2. #2
    Bloodsin's Avatar Member
    Reputation
    13
    Join Date
    Jun 2007
    Posts
    165
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i replied 2 u on our other post. ^^

Similar Threads

  1. [Help] Need LUA help? Post here!
    By EcHoEs in forum World of Warcraft Emulator Servers
    Replies: 20
    Last Post: 10-03-2010, 01:18 PM
  2. Need LUA Help!
    By Dz The Rage in forum WoW EMU Questions & Requests
    Replies: 6
    Last Post: 04-04-2009, 01:21 AM
  3. Need lua help
    By Noobcraft in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 07-31-2008, 07:13 PM
  4. Need .lua help! +rep
    By Kiev in forum World of Warcraft Emulator Servers
    Replies: 8
    Last Post: 06-15-2008, 06:14 PM
  5. [Help] i need Lua help with this script...
    By Ellenor in forum World of Warcraft Emulator Servers
    Replies: 25
    Last Post: 03-03-2008, 03:45 PM
All times are GMT -5. The time now is 01:56 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