What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [request] Repeat emoticons

[request] Repeat emoticons
Author: Message:
markee
Veteran Member
*****

Avatar

Posts: 1621
Reputation: 50
36 / Male / Flag
Joined: Jan 2006
RE: [request] Repeat emoticons
This is possible to do dynamically like you want (having any number and then the emoticon) but would require the programmer to be fairly good with regular expressions and stuff (something like RegExp("\s(\d*)"+emoticon,"gi") should work, but then again im doing this from memmory.  That should be in a loop for all of the cutom emoticon codes and the regular ones (use the function to get the custom ones and write out all the normal ones, i think i have a list in MC!L that includes them all in an array) so as to check against each and every one of them.  And then finally you just have to replace the text before returning the new message.  This should be a good script for someone wishing to have a go at regular expressions for the first time, unfortunately I cannot do this for you because I am running too low on time.
[Image: markee.png]
03-31-2007 07:43 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[request] Repeat emoticons - by Nidhogg on 03-28-2007 at 08:30 PM
RE: [request] Repeat emoticons - by Orgrim Doomhammer on 03-29-2007 at 01:41 PM
RE: [request] Repeat emoticons - by Nidhogg on 03-29-2007 at 11:13 PM
RE: [request] Repeat emoticons - by markee on 03-31-2007 at 07:43 AM
RE: [request] Repeat emoticons - by Nidhogg on 06-17-2007 at 12:23 AM


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