What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » # key and = key

# key and = key
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: # key and = key
quote:
Originally posted by Huhu_Manix
Like this :

code:
function OnEvent_ChatWndSendMessage(ChatWnd,Message){
    Message = Message.replace(/#/gi, "lol");
    Message= Message.replace(/=/gi, "hi");
    return Message;
}

?
I especially took the time and asked the questions I asked so people would exactly know what he wanted... please read posts... :dodgy:

quote:
Originally posted by Huhu_Manix
But for the # you need the ALT GR... ^o)

Maybe it's different with QWERTY.
Keycodes, like ascii codes, are always the same. Scancodes depend on keyboard layout.

Ascii codes define the character value (eg: on each and every keyboard you use "A" will always have ascii code 65).

Keycodes define the key value (eg: ctrl is a key, but isn't a character, on each and every keyboard you use the ctrl key will always produce the same keycode).

Scancodes define the position of the key on the keyboard (eg: on every keyboard the second key from the second row will always have the same scancode, but the ascii and keycode for that key can be different depending on keyboard layout)

This post was edited on 08-23-2006 at 08:59 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
08-23-2006 08:42 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
# key and = key - by Jimbo on 08-23-2006 at 12:43 PM
RE: # key and = key - by CookieRevised on 08-23-2006 at 12:50 PM
RE: # key and = key - by Jimbo on 08-23-2006 at 12:52 PM
RE: # key and = key - by CookieRevised on 08-23-2006 at 12:58 PM
RE: # key and = key - by Jimbo on 08-23-2006 at 12:59 PM
RE: # key and = key - by Huhu_Manix on 08-23-2006 at 02:59 PM
RE: # key and = key - by Jimbo on 08-23-2006 at 03:01 PM
RE: # key and = key - by Eljay on 08-23-2006 at 03:10 PM
RE: # key and = key - by Jimbo on 08-23-2006 at 03:14 PM
RE: # key and = key - by Huhu_Manix on 08-23-2006 at 03:37 PM
RE: # key and = key - by Felu on 08-23-2006 at 03:42 PM
RE: # key and = key - by saralk on 08-23-2006 at 03:44 PM
RE: # key and = key - by Jimbo on 08-23-2006 at 03:56 PM
RE: # key and = key - by CookieRevised on 08-23-2006 at 08:42 PM
RE: # key and = key - by MicroWay on 09-04-2006 at 02:19 PM
RE: # key and = key - by markee on 09-04-2006 at 02:22 PM
RE: # key and = key - by Felu on 09-04-2006 at 02:23 PM
RE: # key and = key - by Huhu_Manix on 09-04-2006 at 07:03 PM
RE: # key and = key - by CookieRevised on 09-04-2006 at 07:18 PM
RE: # key and = key - by MicroWay on 09-06-2006 at 07:10 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