PDA

View Full Version : Gm tags



*Alexz*
13-06-10, 08:22 AM
Want a title in to be displayed before your name?
How to use:
Change GMname == 'Yourname')to your name
Change <Desired Tag> to the tag you want =P

Note:
This only works for gms


local ChatMsg = "#n"
-- local Space = " "

function ChatSystem(event, player, message, type, language)
if (message:find(ChatMsg.." ") == 1) then
local text = message:gsub(ChatMsg.." ", "")
local plrs = GetPlayersInWorld()
for k, v in pairs(plrs) do
local GMname = player:GetName()
if (GMname == 'Yourname') then
v:SendBroadcastMessage("|cFF00FFFF<Desired Tag>|cffffff00["..player:GetName().."]: |cFF00FFFF"..text.."")
end
end
return 0
end
end

RegisterServerHook(16, "ChatSystem")

Dimman
13-06-10, 11:52 AM
This is cool :)

MikExV™
14-06-10, 04:31 AM
Most epic think I have ever seen, and I sall when the dinosaurs were still around! +rep when I can.

zwroblewski
24-08-10, 10:54 AM
I wonder if this works well im going to test and give feedback xD

Feedback: Nope didn't work for me i guess i edited in the wrong spott or something but still a good share :D

Avidgamer
24-08-10, 03:59 PM
It's EXTREMELY simple. If your having trouble getting this working, I suggest finding a starters LUA guide before you start editing LUA's.