What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [split] What scripts can't do.

[split] What scripts can't do.
Author: Message:
Plik
Veteran Member
*****

Avatar

Posts: 1489
Reputation: 46
34 / Male / –
Joined: Jun 2004
RE: [split] What scripts can't do.
quote:
Originally posted by waterbottle
What I'm trying to do first is get the ascii equivalent of the char.
for example, ' ' = 32, 'a' = 97, 'b' = 98, 'A' = 65, '1' = 49.
in that case all you need todo is use charCodeAt, like so

code:
function OnEvent_ChatWndSendMessage(ChatWnd,Message)
{
return '' + Message.charCodeAt(0);
}

And that will return the ascii code of the first char of the message
12-15-2006 11:37 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread


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