ChatColor - Addon menu

User Tag List

Results 1 to 6 of 6
  1. #1
    The-Eradicator's Avatar Contributor

    Reputation
    149
    Join Date
    May 2007
    Posts
    829
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ChatColor - Addon

    This addon will color your outbound chat messages. It will not affect GM commands. I wrote this in 2.3, I am releasing it because of this post.

    If you don't like it, don't post as I really don't care. Constructive criticism is fine.

    This addon is released under the WTFPL - Do What The **** You Want To Public License.


    Download here: Filebeam

    Code posted for anyone who would just like to look.

    Code:
    --[[ ChatColor
    	Eradicator (2009)
    	 This addon is free software. It comes without any warranty, to
    	 the extent permitted by applicable law. You can redistribute it
    	 and/or modify it under the terms of the Do What The **** You Want
    	 To Public License, Version 2, as published by Sam Hocevar. See
    	 included LICENSE.txt for more details. --]]
    	 
    local orig_scm = SendChatMessage
    color = true
    stringcolor = "0099FF"
    
    function SendChatMessage(msg,type,lang,chan) 
    	local cmd = string.sub(msg,1,1)
    	local sendString = msg
       
    	if (cmd=="." or cmd=="!") then
    		orig_scm(msg,type,lang,chan);
    	elseif cmd=="#" then
    		if msg == "#color" then
    			if color == false then
    				color = true
    				DEFAULT_CHAT_FRAME:AddMessage("Color enabled.",1,0,0,1)
    			else
    				color = false
    				DEFAULT_CHAT_FRAME:AddMessage("Color disabed.",0,1,0,1)
    			end
    		elseif string.sub(msg,1,5) == "#set " then
    			stringcolor = string.sub(msg,6,13)
    			DEFAULT_CHAT_FRAME:AddMessage("|cFF" .. stringcolor .. "Color set to " .. stringcolor .. ".|r",0,1,0,1)
    		end
    	else
    		if color==true then
    			sendString = "\124cFF" .. stringcolor .. "\124Hitem: 19:0:0:0:0:0:0:0\124h" .. sendString .. "\124h\124r"
    			orig_scm(sendString,type,lang,chan)
    		else
    			orig_scm(sendString,type,lang,chan)
    		end
    	end
    end
    Frequently Asked Questions (FAQ)

    It doesn't work. I get disconnected.
    The chat color exploit has been fixed on your server. Tough luck.

    How do I install this addon?
    Download ChatColor.rar from the above Filebeam link. Extract it to your World of Warcraft\Interface\Addons folder.

    What version of WoW does this work on?
    It was designed on 2.3.0, i've done slight testing on 3.1.3 and it appears to work fine. Simply check 'Load out-of-date addons' on the Addons window, on the Character Select screen.

    How do I use this addon?
    There are two commands.

    • #color - Toggles whether outbound messages are colored.
    • #set ###### - Sets your color. This should be hexadecimal. There is no validation on input.



    Enjoy.

    ChatColor - Addon
  2. #2
    old dirty bastard's Avatar Member
    Reputation
    1
    Join Date
    Aug 2009
    Posts
    20
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    sweet. going to give this a try

  3. #3
    felderzman's Avatar Member
    Reputation
    1
    Join Date
    Apr 2008
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    sweet im gunna try also :wave: +Rep if i can

  4. #4
    Proxes's Avatar Member
    Reputation
    31
    Join Date
    Dec 2008
    Posts
    256
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice work, but jw is this bannable?

  5. #5
    The-Eradicator's Avatar Contributor

    Reputation
    149
    Join Date
    May 2007
    Posts
    829
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Proxes View Post
    Nice work, but jw is this bannable?
    Only works on emulated servers, which is why it's in this section.

  6. #6
    mag1212's Avatar Active Member
    Reputation
    55
    Join Date
    Aug 2009
    Posts
    352
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    yes/no

    Originally Posted by Proxes View Post
    Nice work, but jw is this bannable?
    check the rules on private server u are want to do it

Similar Threads

  1. wow_kings list of best addons
    By Elites360 in forum World of Warcraft Bots and Programs
    Replies: 20
    Last Post: 11-20-2006, 01:33 PM
  2. Your favorite addons!
    By bloodofwar in forum World of Warcraft General
    Replies: 7
    Last Post: 11-06-2006, 11:26 AM
  3. Addon/Program
    By phoenix in forum World of Warcraft General
    Replies: 3
    Last Post: 07-22-2006, 07:07 AM
  4. Handy Auction addon
    By Shanaar in forum World of Warcraft General
    Replies: 7
    Last Post: 07-20-2006, 05:04 PM
  5. Addon!
    By evancooleo in forum World of Warcraft General
    Replies: 8
    Last Post: 07-14-2006, 02:33 PM
All times are GMT -5. The time now is 01:03 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