Shoutbox

ChatWndReceiveMessage Message parameter - bug or limitation? - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: ChatWndReceiveMessage Message parameter - bug or limitation? (/showthread.php?tid=97227)

ChatWndReceiveMessage Message parameter - bug or limitation? by pollolibredegrasa on 03-26-2011 at 08:44 PM

When you receive a message with Plus! formatting codes in, the message parameter in ChatWndReceiveMessage has spaces in place of the formatting codes rather than the "raw" message, so if you return an edited version of the message then you end up with no formatting and a number of spaces in the chat window instead.

For example, the message:

quote:
message with [b]plus[/b] formatting
ends up as
quote:
message with    plus     formatting

Is this a bug or a limitation with Plus! itself? Is there any way to modify the message and preserve the formatting? More specifically, I want to remove <x> amount of characters from the end of the received message but leave the rest intact, is this possible?


RE: ChatWndReceiveMessage Message parameter - bug or limitation? by Spunky on 03-27-2011 at 08:40 AM

Has it not always been like this? I've always taken it as a limitation


RE: RE: ChatWndReceiveMessage Message parameter - bug or limitation? by pollolibredegrasa on 03-28-2011 at 08:15 PM

quote:
Originally posted by Spunky
Has it not always been like this? I've always taken it as a limitation

Hmm, you're probably right, It's just not something I've ever noticed up until now.

* pollolibredegrasa goes back to the drawing board