Lua Script Help menu

Shout-Out

User Tag List

Results 1 to 4 of 4
  1. #1
    B14d3r11's Avatar Sergeant Major
    Reputation
    9
    Join Date
    Jan 2007
    Posts
    179
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Lua Script Help

    I am attempting to make a script check to see if the player has a Profession then remove it from the gossip list if they have it and if they already have 2 professions remove them all... Any idea how id do this cause i've tried and tried for about 4 hrs and nuthin...

    Heres my Gossip I want setup this way
    Code:
    if(intid == 1) then
        pUnit:GossipCreateMenu(3543, player, 0)
            pUnit:GossipMenuAddItem(0, "Alchemy", 3, 0)
            pUnit:GossipMenuAddItem(0, "Blacksmithing", 4, 0)
            pUnit:GossipMenuAddItem(0, "Enchanting", 5, 0)
            pUnit:GossipMenuAddItem(0, "Engineering", 6, 0)
            pUnit:GossipMenuAddItem(0, "Herbalism", 7, 0)
            pUnit:GossipMenuAddItem(0, "Inscription", 8, 0)
            pUnit:GossipMenuAddItem(0, "Jewelcrafting", 9, 0)
            pUnit:GossipMenuAddItem(0, "Leatherworking", 10, 0)
            pUnit:GossipMenuAddItem(0, "Mining", 11, 0)
            pUnit:GossipMenuAddItem(0, "Skinning", 12, 0)
            pUnit:GossipMenuAddItem(0, "Tailoring", 16, 0)
       pUnit:GossipSendMenu(player)
    end

    Lua Script Help
  2. #2
    B14d3r11's Avatar Sergeant Major
    Reputation
    9
    Join Date
    Jan 2007
    Posts
    179
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Assistance would be helpful, I will Repx3

  3. #3
    B14d3r11's Avatar Sergeant Major
    Reputation
    9
    Join Date
    Jan 2007
    Posts
    179
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Lazyness now adays

  4. #4
    edded's Avatar Member
    Reputation
    5
    Join Date
    Jan 2008
    Posts
    41
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You could make items that have a shared unigness of 2 and then put this code it

    if(intid == 3) then
    player:RemoveItem(XXXXX, 1)
    player:RemoveItem(XXXXX, 1)
    player:RemoveItem(XXXXX, 1)
    player:RemoveItem(XXXXX, 1)
    player:RemoveItem(XXXXX, 1)
    player:RemoveItem(XXXXX, 1)
    player:RemoveItem(XXXXX, 1)
    player:RemoveItem(XXXXX, 1)
    player:RemoveItem(XXXXX, 1)
    player:RemoveItem(XXXXX, 1)
    player:RemoveItem(XXXXX, 1)
    player:AddItem(XXXXX, 1)
    player:GossipComplete()
    else
    player:GossipComplete()
    end
    end

Similar Threads

  1. Simple LUA Script Help
    By Wolfly in forum WoW EMU Questions & Requests
    Replies: 7
    Last Post: 09-02-2008, 04:22 PM
  2. LUA Script Help Thread
    By mager1794 in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 07-04-2008, 12:46 AM
  3. LuA Scripting Help
    By Jlp in forum World of Warcraft Emulator Servers
    Replies: 15
    Last Post: 06-27-2008, 03:33 AM
  4. Lua script help and general questions from beginner
    By WinKIller0 in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 02-23-2008, 04:38 AM
  5. Need LUA Scripting Help ?
    By Snailz in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 02-04-2008, 12:36 PM
All times are GMT -5. The time now is 10:02 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