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:
Nidhogg
New Member
*


Posts: 3
Joined: Mar 2007
O.P. [request] Repeat emoticons
I have a request! :D

I want to write :D:D:D:D:D, but I'm idler therefore I would a script which when I write for example 5:D, in the chat appear :D:D:D:D:D. I hope for well explain.

Thanks for all answers

Bye Bye
03-28-2007 08:30 PM
Profile E-Mail PM Find Quote Report
Orgrim Doomhammer
Junior Member
**

Avatar
For The Horde!

Posts: 67
34 / Male / Flag
Joined: Aug 2006
RE: [request] Repeat emoticons
the easiest way to do it is a quick text if you don't want the number of emoticons shown to be customizable
03-29-2007 01:41 PM
Profile PM Web Find Quote Report
Nidhogg
New Member
*


Posts: 3
Joined: Mar 2007
O.P. RE: [request] Repeat emoticons
I'm not an expert of JS...i request a script to realize that function. Anyone can help me?

Thanks!

Bye bye
03-29-2007 11:13 PM
Profile E-Mail PM Find Quote Report
markee
Veteran Member
*****

Avatar

Posts: 1621
Reputation: 50
35 / 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
Nidhogg
New Member
*


Posts: 3
Joined: Mar 2007
O.P. RE: [request] Repeat emoticons
Up!
06-17-2007 12:23 AM
Profile E-Mail PM Find Quote Report
« 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