This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
10.2.7
PTR
10.2.6
Beta
I would like to modify the friends list notification.
Post Reply
Return to board index
Post by
113164
This post was from a user who has deleted their account.
Post by
Wildhorn
It would be possible I think.
UI_INFO_MESSAGE event would allow you to scan the "has come online" part, and then I am sure there a way to block the initial message (I am sure there is an API for that, just dont know which one) and then make your custom message to appear via SendChatMessage
Post by
113164
This post was from a user who has deleted their account.
Post by
pelf
I know this sounds like I'm saying "I wonder if there's a way to make true false." but, I wonder if there's a way to change the format constant that the game uses to print that. Or, maybe overload the UI function that handles it.
Post by
Wanderingfox
I know this sounds like I'm saying "I wonder if there's a way to make true false." but, I wonder if there's a way to change the format constant that the game uses to print that. Or, maybe overload the UI function that handles it.
Technically, yes. Should you? God no. You have no idea what, if anything, else is depending on that functions return value. It's far safer to watch for the event to fire, scan the chat window, remove the line, and then replace it with your own.
Post by
pelf
Well, the function's contents are available from the game files. You can intercept the call and use the same conditional specifications to do your own work for that one case then pass control back to the original for the rest. I suppose any addon that was watching for those messages and actually parsing the strings would break. I can't think of one offhand...
Post by
Wanderingfox
That would be my point... It's bad form to assuming nothing else is using the data you're accessing. Mutation is bad and should be avoided whenever it's not necessary, mmmmmmmkay?
Post by
pelf
How about I mutate your face?
Post by
Wildhorn
You cant mutate the fox!
Post by
pelf
In the words of Malgayne...
Do a barrel roll!
Post by
Wildhorn
Link or didnt happen!
Post by
Wanderingfox
In the words of Malgayne...
Do a barrel roll!
*double taps right bumper*
Post by
Wikipedia
wooow, offtopic is offtopic but this...
Post by
pelf
Link or didnt happen!
http://www.wowhead.com/forums&topic=156825#p2072303
Post by
Wanderingfox
Christ, was that only two weeks ago? For some reason I thought that happened like a year ago >_<
Post by
tarumi
There's actually an Add-On that does this:
Sign-On
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.