[Release] Lua Vote Script menu

User Tag List

Results 1 to 7 of 7
  1. #1
    Dartignan's Avatar Member
    Reputation
    2
    Join Date
    Jul 2008
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Release] Lua Announcer Script

    Hey Guys this is my New announcer Script you can use it to say whatever you want a specific npc to say. Just copy and paste it into a Notepad and Save it into yuor scripts. Make sure to edit the correct places

    Code:
    -- VoteScript.lua
    
    -- This Script was Written by Dartignan of 
    -- the EclipseWoW Server.
    -- Please give proper accredidations
    -- when re-releasing or sharing this script
    -- with others in the emulation community.
    
    -- This Script is set to yell one of the three things you 
    -- select every 5 minutes
    
    function npc_OnSpawn(pUnit, event)
    	pUnit:RegisterEvent("Npc_Yell", 300000, 0)
    end
    
    function Npc_Yell(pUnit)
    	local yell = math.random(1,3)
    	if(yell == 1) then
    		pUnit:SendChatMessage(14, 0, "Type One Here")
    	end
    	if(yell == 2) then
    		pUnit:SendChatMessage(14, 0, "Type One Here")
    	end
    	if(yell == 3) then
    		pUnit:SendChatMessage(14, 0, "Type One Here")
    	end
    end
    
    RegisterUnitEvent(EntryID, 6, "npc_OnSpawn")
    
    -- Fill In The EntryID
    -- Fill In what you want them to say where it says Type One Here
    Hope you like. Don't Flame to much guys. Thanks
    Last edited by Dartignan; 08-10-2008 at 09:56 PM. Reason: Fixed from OnCombat to OnSpawn. Sorry bout that.

    [Release] Lua Vote Script
  2. #2
    treeko11's Avatar Member
    Reputation
    11
    Join Date
    Jan 2008
    Posts
    275
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wait, what exactly does it do?

  3. #3
    Cursed's Avatar Contributor
    Reputation
    270
    Join Date
    Jun 2007
    Posts
    1,380
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How is this a vote script? Its more an Announcer isnt it?

  4. #4
    treeko11's Avatar Member
    Reputation
    11
    Join Date
    Jan 2008
    Posts
    275
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    exactly why i asked.

  5. #5
    Arthas117's Avatar Knight-Champion
    Reputation
    151
    Join Date
    Mar 2007
    Posts
    483
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by treeko11 View Post
    exactly why i asked.
    You can see in the script that its an announcer.

    World best PvP Paladin=Me? GG ;D


  6. #6
    Dartignan's Avatar Member
    Reputation
    2
    Join Date
    Jul 2008
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lol guys it is an announcer but what yu do is put 3 different things to encourage people to vote for your server in the announce part lol

  7. #7
    treeko11's Avatar Member
    Reputation
    11
    Join Date
    Jan 2008
    Posts
    275
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I see, so, if its an npc announcer, why did you call the Topic Lua Vote Script? I just doesn't make sense.

Similar Threads

  1. [Release] Lua scripts, The ultimative thread v3
    By b!atch in forum World of Warcraft Emulator Servers
    Replies: 35
    Last Post: 07-01-2008, 09:05 AM
  2. [Release] Lua scripts, The ultimative thread v1
    By b!atch in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 05-26-2008, 10:28 AM
  3. [Release] Lua scripts, The ultimative thread v2
    By b!atch in forum World of Warcraft Emulator Servers
    Replies: 8
    Last Post: 05-25-2008, 08:03 AM
  4. [Release]Voting script
    By george95 in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 04-13-2008, 07:24 AM
  5. [Release Lua] One of My First Lua Scripts
    By Juicyz in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 03-28-2008, 02:03 AM
All times are GMT -5. The time now is 10:39 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search