What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Request] BB code to IRC code and vice versa

Pages: (2): « First [ 1 ] 2 » Last »
[Request] BB code to IRC code and vice versa
Author: Message:
Jimbo
Veteran Member
*****

Avatar

Posts: 1650
Reputation: 18
32 / Male / Flag
Joined: Jul 2006
O.P. [Request] BB code to IRC code and vice versa
I have just thought of an excellent idea for a script
This script should be a window that lets you copy and paste bb colour code into it and then you click something like convert, and it converts it to IRC colour code
Is this possilbe and will someone make it?

This post was edited on 09-30-2006 at 03:25 PM by Jimbo.
09-30-2006 12:24 PM
Profile E-Mail PM Find Quote Report
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: [Request] BB code to IRC code
yes i will get on to it asap for you :D im quite sure it will be easy
09-30-2006 12:27 PM
Profile PM Find Quote Report
ins4ne
Veteran Member
*****

Avatar
...

Posts: 1015
Reputation: 38
37 / Male / Flag
Joined: Apr 2006
Status: Away
RE: [Request] BB code to IRC code
great idea :D why didnt anybody think of that?
[Image: b5c5bb366c94ba43283cc13901380e3e.png]
09-30-2006 12:40 PM
Profile PM Find Quote Report
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: [Request] BB code to IRC code
i will get striaght on in for all you guys :D after i do the hard part for Caps and Full Stops (134jimbodude i think it shouldnt be your script but a combined ok?)
09-30-2006 12:43 PM
Profile PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: [Request] BB code to IRC code
quote:
Originally posted by ins4ne
great idea, why didnt anybody think of that?

I have actually made something for this already and it is included in the PSM+ script :D There is also an entire thread about this, started by me from around the time I did it :p

EDIT:
code:
for(a=0;a<=99;a++){
myString = myString.replace(new RegExp("\\[c="+a+"\\]",'gi'),"·$"+a+" ");
myString = myString.replace(/\[\/c\]/g,'·$');
}

Just need to add support for people using hex codes rather than just numbers ;)

(Also, make sure it only reads first 6 digits from hex code :p)

This post was edited on 09-30-2006 at 07:53 PM by Spunky.
<Eljay> "Problems encountered: shit blew up" :zippy:
09-30-2006 02:53 PM
Profile PM Find Quote Report
Jimbo
Veteran Member
*****

Avatar

Posts: 1650
Reputation: 18
32 / Male / Flag
Joined: Jul 2006
O.P. RE: [Request] BB code to IRC code
yes, i use hex numbers(thanks jay_jay) as i have a kind of 'gradient' in my name. I hope this new script jay_jay is working on will have suppport for hex numbers.
09-30-2006 03:24 PM
Profile E-Mail PM Find Quote Report
ins4ne
Veteran Member
*****

Avatar
...

Posts: 1015
Reputation: 38
37 / Male / Flag
Joined: Apr 2006
Status: Away
RE: [Request] BB code to IRC code and vice versa
hows the development? :)
[Image: b5c5bb366c94ba43283cc13901380e3e.png]
09-30-2006 07:44 PM
Profile PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: [Request] BB code to IRC code and vice versa
quote:
Originally posted by 134jimbodude
yes, i use hex numbers(thanks jay_jay) as i have a kind of 'gradient' in my name

Gradients are possible with BBcode... In fact, it should be exactly the same method. I would just use BBCode (if the colours aren't an exact match then fair enough, but I'd still do it anyway)
<Eljay> "Problems encountered: shit blew up" :zippy:
09-30-2006 07:48 PM
Profile PM Find Quote Report
Jimbo
Veteran Member
*****

Avatar

Posts: 1650
Reputation: 18
32 / Male / Flag
Joined: Jul 2006
O.P. RE: [Request] BB code to IRC code and vice versa
i just heard from jay_jay that he probably can't do the script. Can anyone else have a go?

This post was edited on 10-04-2006 at 04:28 PM by Jimbo.
10-04-2006 04:28 PM
Profile E-Mail PM Find Quote Report
vikke
Senior Member
****

Avatar

Posts: 900
Reputation: 28
31 / Male / Flag
Joined: May 2006
RE: [Request] BB code to IRC code and vice versa
Simple!
code:
function OnEvent_ChatWndSendMessage(ChatWnd, Message){
Message.replace("[/C]", "");
Message.replace("]", "");
Message.replace("[C=", "");
}

Not working with gradients though..
10-04-2006 04:36 PM
Profile E-Mail PM Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On