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