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:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: [request] Hotkey /all
Well, in fact that's not hard at all and since we know Jimbodude I'll give you a not-tested-but-should-work-if-I-didn't-forgot-anything (=NTBSHIIDFA :P) script:
code:
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;
}

Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
01-09-2007 05:34 PM
Profile E-Mail PM Web 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