What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Release] Status Interceptor (Updated v1.2)

[Release] Status Interceptor (Updated v1.2)
Author: Message:
phalanxii
Full Member
***


Posts: 146
Reputation: 5
32 / Male / Flag
Joined: Aug 2006
Status: Away
O.P. [Release] Status Interceptor (Updated v1.2)
Based on mlevit's Auto status change script and edited with his permission. :)


16AUG2006
- Status Interceptor -
Version 1.2

... continuing from Auto Status Change v1.1


Status Interceptor will automatically change your status and personal message when you send a message containing specific keywords.

Features:
  • Toggable status keywords for each email
  • Status automatically changes to "Busy" when a message contains "busy"
  • Status automatically changes to "Be Right Back" when a message contains "brb"
  • Status automatically changes to "Away" when a message contains "bbl" or "bbs"
  • Status automatically changes to "Out To Lunch" when a message contains "lunch" or "dinner"
  • Status automatically reverts to original status when a message contains "back" or "bak"
  • Status will not change if user's status is set to "Appear Offline"
  • Personal message automatically changes to custom text when a message contains "brb", "bbl" or "bbs"
  • Personal message may be changed to full message sent
  • Personal message may be customised with a mask
  • Personal message may trim excess spaces before, within and after
  • Personal message automatically reverts to original personal message when a message contains "back" or "bak"
  • Messages containing "busy", "brb", "bbl", "bbs", "lunch" or "dinner" may be sent to all open conversations (toggable for each email) :o
Example Usage:
quote:
User says:
   brb               Status changes to "Be Right Back"
User says:
   back             Status changes to "Online"
quote:
User (Busy) says:
   bbl               Status changes to "Away"
User says:
   bak              Status changes to "Busy"
quote:
User says:
   BRB toilet      Status changes to "Be Right Back"
                      PSM changes to "toilet"
User says:
   bak              Status changes to "Online"
                      PSM reverts to previous
quote:
User says:
   I'll bbs going SHOPPING     Status changes to "Away"
                                       PSM changes to "going SHOPPING"
User says:
   I'm back        Status changes to "Online"
                      PSM reverts to previous
Change Log:

16th of August 2006 - v1.2
  • Added a settings interface, containing all previous (and new) settings
  • Different status keywords can be toggled for each email (for those who don't want "busy", "lunch" and "dinner")
  • Custom mask for personal message
14th of August 2006 - v1.1
  • Status automatically changes to "Busy" when a message contains "busy"
  • Status automatically changes to "Out To Lunch" when a message contains "lunch" or "dinner"
  • Custom personal message more customizable
    • - Custom personal message may be the full message sent
      - Spaces before, within and after the custom message may be trimmed
  • Cleaner and more efficient code
Settings (v1.0 and v1.1 only):

The "Send to All Open Conversations" option can be toggled in the menu ("Plus! > Status Interceptor > [  ] Send to All Open Conversations"). If the box is crossed ("[x]"), messages with "brb", "bbl", "bbs", "back" and "bak" will be sent to all conversations that are open. ;)

To customize the personal message with space trimming or full message setting, you will need to edit the script. To turn an option "on", you will need to set it to "1" (no quotations marks). To turn an option "off", you will need to set it to "0" (no quotations marks). The options are found at the bottom of the list of "var ...". Until I make a configuration box, this will be the only way to change these settings. The default setting is as follows:
code:
var FullMessagePsm = 0; //Sets the custom personal message to the full message sent
var TrimSpacesBefore = 1; //Trims additional spaces before the custom personal message
var TrimSpacesWithin = 0; //Trims additional spaces within the custom personal message
var TrimSpacesAfter = 1; //Trims additional spaces after the custom personal message
This script was previously found in my reply to mlevit's Auto status change script thread. However, because not everyone read through the entire thread, it was not getting seen properly. Therefore, I've decided to make this new thread for my script. Version 1.0 of Status Interceptor is equivalent to my version 1.2 of Auto Status Change. I will try to add in any suggestions that are not overly complicated. :D

Status Interceptor v1.2 will probably be my final release, unless I need to fix some bugs. I may decide later to add more statuses, a custom wordbank and possibly translations. At this point in time, you can edit the script to adjust to your own preferences. If you want to have this script in your language, just tell me the translation of the words (exact) and the shortcuts that should be detected.

NOTE: I am not taking credit for mlevit's work. I will remove this script if required by mlevit or others. *-)



Previous Versions:

Status Interceptor v1.1
Status Interceptor v1.0

.plsc File Attachment: Status Interceptor v1.2.plsc (4.28 KB)
This file has been downloaded 398 time(s).

This post was edited on 08-16-2006 at 07:08 AM by phalanxii.
08-13-2006 04:09 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Release] Status Interceptor (Updated v1.2) - by phalanxii on 08-13-2006 at 04:09 AM
RE: [Release] Status Interceptor - by Sypher on 08-13-2006 at 08:35 AM
RE: [Release] Status Interceptor - by phalanxii on 08-13-2006 at 09:10 AM
RE: [Release] Status Interceptor (Updated v1.1) - by phalanxii on 08-14-2006 at 08:27 AM
RE: [Release] Status Interceptor (Updated v1.1) - by Sypher on 08-14-2006 at 08:41 AM
RE: [Release] Status Interceptor (Updated v1.1) - by Intosia on 08-14-2006 at 10:55 AM
RE: [Release] Status Interceptor (Updated v1.1) - by Firehalk on 08-14-2006 at 04:04 PM
RE: [Release] Status Interceptor (Updated v1.1) - by Vimto on 08-14-2006 at 07:16 PM
RE: [Release] Status Interceptor (Updated v1.1) - by qgroessl on 08-14-2006 at 07:18 PM
RE: RE: [Release] Status Interceptor (Updated v1.1) - by phalanxii on 08-15-2006 at 06:36 AM
RE: [Release] Status Interceptor (Updated v1.1) - by Dave on 08-15-2006 at 09:34 PM
RE: [Release] Status Interceptor (Updated v1.1) - by M73A on 08-15-2006 at 09:42 PM
RE: [Release] Status Interceptor (Updated v1.1) - by cloudhunter on 08-15-2006 at 10:24 PM
RE: [Release] Status Interceptor (Updated v1.2) - by phalanxii on 08-16-2006 at 07:12 AM
RE: [Release] Status Interceptor (Updated v1.2) - by Dave on 08-16-2006 at 09:45 AM
RE: RE: [Release] Status Interceptor (Updated v1.2) - by phalanxii on 08-16-2006 at 10:13 AM
RE: [Release] Status Interceptor (Updated v1.2) - by lrac522 on 08-16-2006 at 08:25 PM
RE: [Release] Status Interceptor (Updated v1.2) - by PAT.riot73 on 10-01-2006 at 06:09 AM


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