What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Equation sender plugin

Equation sender plugin
Author: Message:
Plik
Veteran Member
*****

Avatar

Posts: 1489
Reputation: 46
35 / Male / –
Joined: Jun 2004
RE: Equation sender plugin
Okay so far i've got this in javascript
code:
function talker (input) {

    var output=input;
    output=output.replace(new RegExp("Sqrt","gi"),"v");
    output=output.replace(new RegExp("^2","gi"),"²");
    output=output.replace(new RegExp("^3","gi"),"³");
    output=output.replace(new RegExp("/","gi"),"÷");
    output=output.replace(new RegExp("*","gi"),"x");
    return output;
}


But when i try it it returns this error
Error:Error: Unexpected quantifier, ; in line 8
:S so im stumped
so if anyone could give me a tip i could finish it of and post a finished version

<edit>
the "v" is the square root symble i just lost it when i was writing the script
</edit>

oh and if you nick my code please give me credit :D

This post was edited on 06-06-2004 at 10:48 PM by Plik.
06-06-2004 10:45 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Equation sender plugin - by illuzn on 06-06-2004 at 04:27 PM
RE: Equation sender plugin - by Tochjo on 06-06-2004 at 04:48 PM
RE: Equation sender plugin - by dotNorma on 06-06-2004 at 04:52 PM
RE: Equation sender plugin - by Tochjo on 06-06-2004 at 04:54 PM
RE: Equation sender plugin - by dotNorma on 06-06-2004 at 05:03 PM
RE: Equation sender plugin - by Plik on 06-06-2004 at 10:45 PM
RE: Equation sender plugin - by illuzn on 06-07-2004 at 09:47 AM
RE: Equation sender plugin - by Plik on 06-07-2004 at 03:32 PM
RE: Equation sender plugin - by KeyStorm on 06-07-2004 at 03:36 PM
RE: Equation sender plugin - by Plik on 06-07-2004 at 03:38 PM
RE: Equation sender plugin - by Plik on 06-07-2004 at 09:13 PM
RE: Equation sender plugin - by illuzn on 06-13-2004 at 08:19 AM
RE: Equation sender plugin - by Plik on 06-13-2004 at 12:04 PM
RE: Equation sender plugin - by illuzn on 06-13-2004 at 02:47 PM
RE: Equation sender plugin - by Plik on 06-13-2004 at 03:56 PM


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