What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [release] CrazyText v1.4 {UPDATE}

Pages: (7): « First « 1 [ 2 ] 3 4 5 6 » Last »
[release] CrazyText v1.4 {UPDATE}
Author: Message:
skyserpent
Junior Member
**

Bacon

Posts: 96
32 / Male / –
Joined: Aug 2006
O.P. RE: [release] CrazyText v0.2
can anyone help with why this code isnt working??

code:
code:
var ScriptEnabled = false;

function OnEvent_ChatWndSendMessage(ChatWnd, Message) {
   if(Message == "ctstart!") ScriptEnabled = true;
   if(Message == "ctstop!") ScriptEnabled = false;
}

function OnEvent_ChatWndSendMessage(ChatWnd, Message) {
   if(ScriptEnabled) {
Message = Message.replace(/a/gi,"α");
Message = Message.replace(/b/gi,"в");
Message = Message.replace(/c/gi,"¢");
Message = Message.replace(/d/gi,"∂");
Message = Message.replace(/e/gi,"є");
Message = Message.replace(/f/gi,"ƒ");
Message = Message.replace(/h/gi,"н");
Message = Message.replace(/i/gi,"ι");
Message = Message.replace(/j/gi,"נ");
Message = Message.replace(/k/gi,"к");
Message = Message.replace(/l/gi,"ℓ");
Message = Message.replace(/m/gi,"м");
Message = Message.replace(/n/gi,"η");
Message = Message.replace(/o/gi,"σ");
Message = Message.replace(/p/gi,"ρ");
Message = Message.replace(/r/gi,"я");
Message = Message.replace(/t/gi,"т");
Message = Message.replace(/u/gi,"υ");
Message = Message.replace(/v/gi,"ν");
Message = Message.replace(/w/gi,"ω");
Message = Message.replace(/x/gi,"χ");
Message = Message.replace(/y/gi,"у");
}
}
09-18-2006 08:46 PM
Profile E-Mail PM Web Find Quote Report
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: [release] CrazyText v0.2
it lets / commands work
09-18-2006 08:53 PM
Profile PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [release] CrazyText v0.2
quote:
Originally posted by skyserpent
function OnEvent_ChatWndSendMessage(ChatWnd, Message) {
   if(Message == "ctstart!") ScriptEnabled = true;
   if(Message == "ctstop!") ScriptEnabled = false;
}

function OnEvent_ChatWndSendMessage(ChatWnd, Message) {
Because you are calling the same function twice.

.plsc File Attachment: CrazyText_v0.2.plsc (1.26 KB)
This file has been downloaded 421 time(s).
09-18-2006 09:03 PM
Profile E-Mail PM Find Quote Report
skyserpent
Junior Member
**

Bacon

Posts: 96
32 / Male / –
Joined: Aug 2006
O.P. RE: RE: [release] CrazyText v0.2
quote:
Originally posted by SonicSpam
1337 (h)

Good job (y)

edit: add a option to [enable/disable] the 'font' without actually stopping the script :)


DONE!

quote:
Originally posted by Chris4
BUG

You can't do any "/" commands 8o|


FIXED!

thanks matty for helping

This post was edited on 09-18-2006 at 09:16 PM by skyserpent.
09-18-2006 09:12 PM
Profile E-Mail PM Web Find Quote Report
Chris4
Elite Member
*****

Avatar

Posts: 4461
Reputation: 84
33 / Male / Flag
Joined: Dec 2004
RE: RE: RE: [release] CrazyText v0.2
quote:
Originally posted by skyserpent
quote:
Originally posted by Chris4
BUG

You can't do any "/" commands 8o|


FIXED!

thanks matty for helping

Sure?

I can't get it working. I've got v0.3 ?

Meh, it was because I still had v0.2 running aswell. So I removed that, then v0.3 wasn't working. I removed it and added it again, won't work :S

This post was edited on 09-18-2006 at 11:14 PM by Chris4.
Twitter: @ChrisLozeau
09-18-2006 11:12 PM
Profile PM Find Quote Report
joeklc
New Member
*


Posts: 1
46 / Male / –
Joined: Sep 2006
RE: [release] CrazyText v0.3
can anyone show some tutorial ?
i really donno how it work de

This post was edited on 09-20-2006 at 12:06 PM by joeklc.
09-20-2006 12:04 PM
Profile E-Mail PM Find Quote Report
skyserpent
Junior Member
**

Bacon

Posts: 96
32 / Male / –
Joined: Aug 2006
O.P. RE: [release] CrazyText v0.3
quote:
Originally posted by skyserpent
Instructions: Make sure the script is enabled in script preference menu then to start it up send "ctstart!" (without quotes) to a random contact. To stop the script send "ctstop!" (without quotes) to a random contact.


AND... the GUI is nearly done :)

preview:
[Image: screenshot102km6.png]

still no bug fixes for the web links and emoticons yet though :( any help?

This post was edited on 09-20-2006 at 04:23 PM by skyserpent.
09-20-2006 03:12 PM
Profile E-Mail PM Web Find Quote Report
Menthix
forum admin
*******

Avatar

Posts: 5537
Reputation: 102
40 / Male / Flag
Joined: Mar 2002
RE: [release] CrazyText v0.3
Two suggestions:

- Instead of regular messages ("ctstart!" and "ctstop!"), use Plus! commands ("/ctstart" and "/ctstop"). Proper Plus! commands are easier to use since they appear in the Plus! command helper.

- Make at least the deault emoticons parsable. Right now when I type ":p" the "p" gets changed so it wont display the emoticon.
Finish the problem
Menthix.net | Contact Me
09-22-2006 04:08 PM
Profile E-Mail PM Web Find Quote Report
skyserpent
Junior Member
**

Bacon

Posts: 96
32 / Male / –
Joined: Aug 2006
O.P. RE: [release] CrazyText v0.3
ok thanks for the suggestions... but do you know how to make the default emoticons parsable?? does anyone?
09-22-2006 04:10 PM
Profile E-Mail PM Web Find Quote Report
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: [release] CrazyText v0.3
code:
Original from the Timezone script
var EmoCI = /(:((-?(\)|D|>|O|P|\(|<|@|S|\$|\||\[)|-(\*|#))|'\()|;-?\)|\([A-IK-PRTUW-Z068@&{}#%*~^]\))/i
var EmoCS = /(8(o\||-\))|<:o\)|\+o\(|\((brb|pi|\|\||sn|bah|tu|pl|ip|li|st|um|co|mp|ap|au|so|ci|yn|h5|xx|mo)\))/
if(EmoCI.test(Message) || EmoCS.test(Message)) {
   //There are emoticons in the message
   //Here you will have to find a way to not replace emoticons, good luck!
} else {
   //There are no emoticons in the message
}

This post was edited on 09-22-2006 at 04:26 PM by Matti.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
09-22-2006 04:26 PM
Profile E-Mail PM Web Find Quote Report
Pages: (7): « First « 1 [ 2 ] 3 4 5 6 » Last »
« 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