Shoutbox

Msgplus tags in a webmessenger - 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: WLM Plus! General (/forumdisplay.php?fid=23)
+----- Thread: Msgplus tags in a webmessenger (/showthread.php?tid=53333)

Msgplus tags in a webmessenger by etiennea on 11-26-2005 at 03:52 PM

Hey,

I would like to know wether someone here would like to help my project by writing a bit of code for me. 

I have a webbased msn messenger client and I would like to make it the first webbased msn client to support plusparsing! I think it would be very simple to do I just don't have much time uni is very hard!

The first thing I would need a javascript function to parse color nicknames and the emoticons in there. Auhtors will be credited. The webmessenger is on http://www.mmclient.com

Thanks a lot
Etienne


RE: Msgplus tags in a webmessenger by RaceProUK on 11-28-2005 at 11:42 PM

Here's some C(++) that I use to strip formatting codes in Phoenix (for toats); maybe you can base your code on it.

code:
void stripFormat(WCHAR *from, WCHAR *result) {
  wcscpy(result, L"\0");
  while (*from != L'\0') {
    if (*from == L'·') {
      from++;
      if (*from == L'$') {
        from++;
        if (*from <= L'9' && *from >= L'0') from++;
        if (*from <= L'9' && *from >= L'0') from++;
        if (*from == L'#') from+=7;
      }
      else if (*from == L'0' ||
        *from == L'\'' ||
        *from == L'@' ||
        *from == L'#' ||
        *from == L'&')
        from++;
      continue;
    }
    wcsncat(result, from, 1);
    from++;
  }
}
Edit: Please, please, please! Make code preserve tabs!
RE: Msgplus tags in a webmessenger by etiennea on 11-30-2005 at 03:10 PM

thanks but thats not exactly what I want it to do. I know more less how to do it its just I don't have much time at the moment. Anyone who knows javascript and with a few hours of spare time on their hands wanting to contribute to a nice project should contact me i will send a load of info.


RE: Msgplus tags in a webmessenger by -dt- on 11-30-2005 at 03:22 PM

Ill do it :P. contact me on msn your not online atm.....