What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Need a Script maker.

Need a Script maker.
Author: Message:
dannyparker
New Member
*


Posts: 3
Joined: Aug 2009
O.P. Need a Script maker.
Can somebody please make this script if possible..?
A new type of language called "chysdá" its just for abit of fun.

2 word = just turn around. EG - Ok is Ko
3- 6 = 2 words forward. EG Bored Is Debor
7- what ever = 2 words forward one off. EG Dictionary is Rdictiona

If this was made i think the person that made it would be very smart :)
08-27-2009 10:02 PM
Profile E-Mail PM Find Quote Report
tribbium
Junior Member
**


Posts: 34
Reputation: 3
– / Male / Flag
Joined: Jul 2008
RE: Need a Script maker.
Thankfully for you, I was bored and sick of looking at jquery stuff so here is your script in its entirety:

Packaged file is below the code.

code:
function OnEvent_ChatWndSendMessage (ChatWnd, message){
    var translated_message = "";

    var non_words = /\W/g;
    var separators = message.match (non_words);
    if (separators == null){
        separators = new Array ("");
    }
    else if (message.indexOf (separators [0]) != 0){ //checks for leading non-word
        separators.unshift ("");
    }
    var words = message.split (non_words);
   
    for (var i in words){
        translated_message += separators [i];
        //vague instructions, made first letter of each word capitalized
        words [i] = words [i].toLowerCase ();
       
        if (words [i].length == 1){
            translated_message += words [i];
        }else if (words [i].length < 7){
            translated_message += words [i].charAt (words [i].length - 1).toUpperCase ()
                            + words [i].charAt (words [i].length - 2)
                            + words [i].substr (0, words [i].length - 2);
        }else{
            translated_message += words [i].charAt (words [i].length - 2).toUpperCase ()
                            + words [i].substr (0, words [i].length - 2);
        }
    }
    if (separators.length > words.length){ //checks for trailing non-word
        translated_message += separators [separators.length - 1];
    }
    return translated_message;
}

.plsc File Attachment: (870 bytes)
This file has been downloaded 85 time(s).
Are you and your friends trivia enthusiasts? Download Tribbium! http://www.msgpluslive.net/scripts/view/427-Tribb...ia-Gaming-System)/

Download questions for Tribbium here:
http://www.tribbium.tk
08-29-2009 10:47 AM
Profile E-Mail PM Web Find Quote Report
dannyparker
New Member
*


Posts: 3
Joined: Aug 2009
O.P. RE: Need a Script maker.
Thanks!
08-29-2009 02:19 PM
Profile E-Mail PM Find Quote Report
dannyparker
New Member
*


Posts: 3
Joined: Aug 2009
O.P. RE: Need a Script maker.
Just One thing, How do i stop it? People start to think im crazy when i dont stop talking it :D
08-29-2009 02:36 PM
Profile E-Mail PM Find Quote Report
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
31 / Male / Flag
Joined: Apr 2004
RE: Need a Script maker.
quote:
Originally posted by dannyparker
Just One thing, How do i stop it? People start to think im crazy when i dont stop talking it :D
  1. Open the Plus! preferences by clicking the Plus! button in the contact list and choosing "Preferences" or by typing "/prefs" in any chat window.
  2. Go to the Scripts panel.
  3. Uncheck the "Chysdá" script.
  4. Click OK, the script is now disabled.
If this solution seems to tedious for you, you might want to add some code to store the state of the script and switch the state through the script menu or a chat command.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
08-29-2009 06:19 PM
Profile E-Mail PM Web 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