What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [request] Hotkey /all

[request] Hotkey /all
Author: Message:
Jimbo
Veteran Member
*****

Avatar

Posts: 1650
Reputation: 18
32 / Male / Flag
Joined: Jul 2006
O.P. RE: [request] Hotkey /all
quote:
Originally posted by Mattike
var Active = false;
//This will toggle the script when you press F6 (keycode 0x75) in a chat window
function OnEvent_ChatWndEditKeydown(ChatWnd, KeyCode, CtrlKeyDown, ShiftKeyDown) {
   if(KeyCode == 0x75 && !CtrlKeyDown && !ShiftKeyDown) {
      Active = !Active;
   }
}
//This will add '/all' in front of a message when the script is active and the message is not a command
function OnEvent_ChatWndSendMessage(ChatWnd, Message) {
   if(Active && !/^\/[^\/\s\n\t]+([\/\s\n\t]|$)/.test(Message)) return "/all "+Message;
}
Sorry but that code doesn't work :(
i press f6, then type a message, then it doesn't send  oall chat winodws:(
01-09-2007 07:19 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[request] Hotkey /all - by Jimbo on 01-09-2007 at 08:05 AM
RE: [request] Hotkey /all - by Spunky on 01-09-2007 at 04:02 PM
RE: [request] Hotkey /all - by Matti on 01-09-2007 at 05:34 PM
RE: [request] Hotkey /all - by Jimbo on 01-09-2007 at 07:19 PM
RE: [request] Hotkey /all - by vaccination on 01-09-2007 at 07:28 PM
RE: [request] Hotkey /all - by matty on 01-09-2007 at 07:37 PM
RE: [request] Hotkey /all - by Jimbo on 01-09-2007 at 07:53 PM
RE: [request] Hotkey /all - by matty on 01-09-2007 at 08:17 PM
RE: [request] Hotkey /all - by Jimbo on 01-09-2007 at 08:21 PM
RE: [request] Hotkey /all - by matty on 01-09-2007 at 09:23 PM
RE: [request] Hotkey /all - by Jimbo on 01-10-2007 at 04:36 PM
RE: [request] Hotkey /all - by foaly on 01-10-2007 at 04:47 PM
RE: [request] Hotkey /all - by Jimbo on 01-10-2007 at 04:58 PM
RE: [request] Hotkey /all - by matty on 01-10-2007 at 05:09 PM
RE: [request] Hotkey /all - by Jimbo on 01-10-2007 at 05:17 PM
RE: [request] Hotkey /all - by foaly on 01-10-2007 at 05:23 PM
RE: [request] Hotkey /all - by Jimbo on 01-10-2007 at 05:24 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