Hello & Welcome to our community. Is this your first visit? Register
Follow us on
Follow us on Facebook Follow us on Twitter Watch us on YouTube


MMOCoin

Likes Likes:  0
Results 1 to 5 of 5

Thread: Gm tags

Threaded View

  1. #1
    Senior Sergeant
    *Alexz*'s Avatar
    Join Date
    Aug 2008
    Posts
    107
    Post Thanks / Like
    Rep Power
    16
    Reputation
    33

    Custom Gm Tags

    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



    Code:
    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")
    Last edited by *Alexz*; 13-06-10 at 07:29 AM. Reason: Renamed topic



  2. Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread

 

 

Visitors found this page by searching for:

custom gm titles lua

Custom GM tag.lua

custom gm tag lua

SEO Blog

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -5. The time now is 05:42 PM.
Powered by vBulletin® Copyright ©2000-2024, Jelsoft Enterprises Ltd.
See More links by ForumSetup.net. Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
vBulletin Licensed to: MMOPro.org