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

Pages: (2): « First [ 1 ] 2 » Last »
# key and = key
Author: Message:
Jimbo
Veteran Member
*****

Avatar

Posts: 1650
Reputation: 18
31 / Male / Flag
Joined: Jul 2006
O.P. # key and = key
is it possible to create a script so that whenever i push the "#" key, it sends a message like eg. "lol" to whatever convo is up.
or when i push the "=" key, it sends "hi"

thanks

134jimbodude
08-23-2006 12:43 PM
Profile E-Mail PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: # key and = key
Yes, it's possible...

but to make it, some additional info is needed:

When you press the keys, do you want the "lol" and "hi" text to appear in de text in the typing area (so you still need to press enter to send the message you were typing; thus this is just like inserting emoticons)?

Or do you want the message "lol" and "hi" to be send strait away (thus without changing the possible existing text in the typing area; thus much like a hotkey)? And in this case, do you want these "lol" and "hi" messages to be send to only the currently active convo, or to all open convos?

This post was edited on 08-23-2006 at 12:58 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
08-23-2006 12:50 PM
Profile PM Find Quote Report
Jimbo
Veteran Member
*****

Avatar

Posts: 1650
Reputation: 18
31 / Male / Flag
Joined: Jul 2006
O.P. RE: # key and = key
i want it to be sent sraight away if possible please
08-23-2006 12:52 PM
Profile E-Mail PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: # key and = key
In that case, do you want these "lol" and "hi" messages to be send to only the currently active convo, or to all open convos?


PS: I can't make the script atm as I don't have Plus! here at work, but with the info provided I'm sure somebody will make it (and if not, I'll provide the script tonight).

This post was edited on 08-23-2006 at 12:59 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
08-23-2006 12:58 PM
Profile PM Find Quote Report
Jimbo
Veteran Member
*****

Avatar

Posts: 1650
Reputation: 18
31 / Male / Flag
Joined: Jul 2006
O.P. RE: # key and = key
only the current active convo please

also can you make the messages "hi" and "lol" variables so i can change them please

thanks
08-23-2006 12:59 PM
Profile E-Mail PM Find Quote Report
Huhu_Manix
Full Member
***

Avatar
Upload me again... *salivate*

Posts: 106
– / Male / –
Joined: Jul 2006
RE: # key and = key
Like this :

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

?
08-23-2006 02:59 PM
Profile E-Mail PM Web Find Quote Report
Jimbo
Veteran Member
*****

Avatar

Posts: 1650
Reputation: 18
31 / Male / Flag
Joined: Jul 2006
O.P. RE: # key and = key
erm..

i want it so when i push the "#" i dont have to push enter.

it justs sends "lol" to the active open convo
08-23-2006 03:01 PM
Profile E-Mail PM Find Quote Report
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: # key and = key
code:
function OnEvent_ChatWndEditKeyDown(ChatWnd, KeyCode){
  switch(KeyCode){
    case 187:
      ChatWnd.SendMessage("hi");
      return true;
    case 222:
      ChatWnd.SendMessage("lol");
      return true;
  }
}
08-23-2006 03:10 PM
Profile PM Find Quote Report
Jimbo
Veteran Member
*****

Avatar

Posts: 1650
Reputation: 18
31 / Male / Flag
Joined: Jul 2006
O.P. RE: # key and = key
kool thanks

wot do the case 187 and the case 222 do?

r they the "#" and the "="?

i want to know this so i can add more to the script

thanks



08-23-2006 03:14 PM
Profile E-Mail PM Find Quote Report
Huhu_Manix
Full Member
***

Avatar
Upload me again... *salivate*

Posts: 106
– / Male / –
Joined: Jul 2006
RE: # key and = key
But for the # you need the ALT GR... ^o)

Maybe it's different with QWERTY.
08-23-2006 03:37 PM
Profile E-Mail PM Web Find Quote Report
Pages: (2): « First [ 1 ] 2 » 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