Shoutbox

[Release] MSN Names and Tools 1.04 - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [Release] MSN Names and Tools 1.04 (/showthread.php?tid=69718)

[Release] MSN Names and Tools 1.04 by bladeswords on 12-20-2006 at 08:32 AM

MSN Names and Tools

This script brings many new features to messenger enabling advanced name featrues through the use of variables which change dynamically with events that occur from messenger. This allows for a highly customizable and personalized messenger name, futher enhancing your messenger plus experince. There is also a few messenger commands that I find very useful which I have also included. They are listed below.

/lockws - locks workstation
/blockall - blocks all contacts
/unblockall - unblocks all contacts
/shutdown [delay] - shuts down the computer. Delay in seconds
/logoff - logs off the computer
/restart [delay] - restarts the computer. Delay in seconds
/notepad - runs notepad
/enablenames - enables the advanced name features
/disablenames - disables the advanced name features
/cmd [command line args] - use like you would the command line
/notify [e-mail address] - will notify of signins if that contacts window is open
/setname [string] - sets the current users name
/setpm [string] - sets the current users personal message


Get it from here!http://www.msgpluslive.net/scripts/view/220-MSN-Names-and-Tools/


RE: [Release] MSN Names and Tools 1.04 by markee on 12-20-2006 at 09:00 AM

quote:
Originally posted by bladeswords
/setname [string] - sets the current users name
/setpm [string] - sets the current users personal message
These features are already included in the MP!L commands (/nick and /psm respectively), but apart from that it doesn't look too bad. Oh and /cmd is also included in Plus! with the /run command (and you can do notepad by /run notepad) ;)
RE: [Release] MSN Names and Tools 1.04 by Wally on 12-20-2006 at 09:31 AM

this is a good script even though it does hav some features MP!L nice work man :p


RE: [Release] MSN Names and Tools 1.04 by bladeswords on 12-20-2006 at 09:46 AM

Sorry about the doubled up features!:(

I am still using Messenger Plus! 3 on MSN Messenger 7.5 as my primary MSN account.  (Due to crappy old computer:$) so they seemed like valid features to me.

I have been trying to get up to date with the new features of Plus! 4 and WLM. 

quote:
/setname [string] - sets the current users name
/setpm [string] - sets the current users personal message

Although both of these simply set the name they also call another function to parse the strings and replace the variables found in that string.  I should also catch the name and PM change events and all the same function there again.

Thanks for that!

P.S.  markee I am a Canberra guy, what about yourself? Australian pride!
RE: [Release] MSN Names and Tools 1.04 by markee on 12-20-2006 at 10:14 AM

A couple of things with your code that I noticed:

  • function OnEvent_Initialize... should be function OnEvent_SigninReady... so as to not get an error with Messenger.MyEmail for example. Also it is better to use SigninReady rather than Signin as to not slow down your computer further when it is trying to load the contact list
  • instead of writing the likes of "item = e.item()" just use e.item() instead of item as there is not more than 2 times after that it is used.  Also when defining variables in a function and only going to be using it in that function then prefix them with "var " eg. "var item = e.item()" (without the quotes) and only use the var prefix on the first instance of using the variable.
  • you might also want to get rid of the Debug.Trace's in future to increase performance as it won't require as much processing time to run a command (only marginal but it all helps)

Just a couple suggestions for future reference.  I hope you don't feel that I'm nit picking, I just want to see people have the best possible coding with the most useful features possible.

Btw, I'm from Brisbane :P
RE: [Release] MSN Names and Tools 1.04 by bladeswords on 12-20-2006 at 10:24 AM

No, it is great that you tell me (and everyone else) this stuff!

The first posts I have had are today (I have been a member for years) but I have never read anything, just thought that it might eb cool to write a script so I did.  I plan to upgrade and update so I need to know as much of these tips as possiable!

Thanks so much! :)

Brissy!  Schoolies? Coast:)  Exellent!

Canberra too much politics...