What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Slang Replacer

Slang Replacer
Author: Message:
segosa
Community's Choice
*****


Posts: 1407
Reputation: 92
Joined: Feb 2003
RE: Slang Replacer
Split the input message by a space and loop through each element. Check each element in turn to see if it matches a pre-defined list of known 'slang' words. (For bonus points strip punctuation out of it and preserve it later on!) If it does, replace that array element with a replacement (figure out an associative array or somesuch for it, else use a txt file, far better). Join the array back together by spaces and send it.

This post was edited on 07-16-2006 at 10:06 PM by segosa.
The previous sentence is false. The following sentence is true.
07-16-2006 09:57 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Slang Replacer - by stuartbennett on 07-16-2006 at 09:11 AM
RE: Slang Replacer - by fish-luke on 07-16-2006 at 04:45 PM
RE: Slang Replacer - by 4penguino on 07-16-2006 at 04:49 PM
RE: Slang Replacer - by stuartbennett on 07-16-2006 at 05:19 PM
RE: Slang Replacer - by Keikonium on 07-16-2006 at 06:16 PM
RE: RE: Slang Replacer - by stuartbennett on 07-22-2006 at 06:09 PM
RE: Slang Replacer - by segosa on 07-16-2006 at 09:57 PM
RE: Slang Replacer - by Ezra on 07-16-2006 at 10:20 PM
RE: Slang Replacer - by Silentdragon on 07-16-2006 at 11:11 PM
RE: Slang Replacer - by Keikonium on 07-16-2006 at 11:45 PM
RE: Slang Replacer - by cooldude_i06 on 07-16-2006 at 11:50 PM
RE: RE: Slang Replacer - by Keikonium on 07-16-2006 at 11:58 PM
RE: Slang Replacer - by stuartbennett on 07-17-2006 at 05:47 AM
RE: Slang Replacer - by Ezra on 07-17-2006 at 08:33 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