Shoutbox

Message color parsing problem - 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)
+----- Forum: Plug-Ins (/forumdisplay.php?fid=28)
+------ Thread: Message color parsing problem (/showthread.php?tid=36103)

Message color parsing problem by TheSarlacc on 12-28-2004 at 12:50 PM

Hey guys,

I've made a plug-in that is supposed to colour each character of the message being sent a random colour. It does this by putting the (!FCxx) tag in front of each character. (xx = random number b/w 1 and 67)
It does this fine, but when it's sent, Messenger Plus! doesn't parse the tags and the modified message appears with the tags.

(eg. "test" could become "(!FC11)t(!FC25)e(!FC43)s(!FC01)t", which if typed manually, would become coloured when sent. But it appears "as is" when the plug-in sends it).

any help would be gr8!

cheers..Anthony


RE: Message color parsing problem by TheSarlacc on 12-30-2004 at 02:49 AM

FOLLOWUP:
Ok I've figured out why I have the problem. I tried getting my plug-in to send a QuickText as well with the command "#/Slap" (in VB) and it still sends just that text, not the QuickText. So I'm guessing Patchou overlooked it, it's a bug, or Patchou purposefully left it out for some reason. I might have to PM him and ask.


RE: Message color parsing problem by Mike on 12-30-2004 at 08:45 AM

Hello.

First, please don't double post :)
Edit your first post.

Secondly, you can't use tags in messages the plugin sends.
You have to use the character that is used when Ctrl + K is pressed on a conversation window.
I suppose you use Visual Basic. If you look in the module that comes with the plugin api, there is a const that if you use Chr$ on it, it will become the color code.

Thridly, I'm sorry to tell you, but the plugin you are making, has been made as a StuffPlug talker and as a plugin by me. :(


RE: Message color parsing problem by TheSarlacc on 12-30-2004 at 08:54 AM

ok cool. thanks for that. bit of a tricky thing.

quote:
Thridly, I'm sorry to tell you, but the plugin you are making, has been made as a StuffPlug talker and as a plugin by me.
So? I'm not going to post my plugin for download. It's just something to do for myself. You can relax ok.