[release] My MsgPlus!Live Script - 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] My MsgPlus!Live Script (/showthread.php?tid=61814) [release] My MsgPlus!Live Script by JonnyT on 06-27-2006 at 09:30 PM
I've been playing aroud a bit with the new scripts feature of messenger plus live, its nothing special its jsut very basic and was just me playing around basicly but try it out anyway and let me kno what ya think, and any errors, or perhaps what i could add/change. RE: [release] My MsgPlus!Live Script by Chris4 on 06-27-2006 at 09:57 PM Nice basic script RE: [release] My MsgPlus!Live Script by JonnyT on 06-27-2006 at 09:59 PM
thanks RE: [release] My MsgPlus!Live Script by CookieRevised on 06-27-2006 at 10:09 PM
looks good for your first script... Though you have some things you might want to correct: code:You have 1 "return;" too many here... delete the one after the sendmessage line. code:What is shown here can also be shown with the (!VER) tag. Same with the part which handles the "#info" command. code:You already have "var ValRegPathIAm" defined before the if then else statement, no need to do it again in the "if" and again in the "else". Those lines can be deleted. The same goes for "case 'MnuBath'" , "case 'MnuSleeping'", "case 'MnuEating'". And same goes for the parts of the equivalent commands. -- And in general: you can make that script really extremely shorter. (ps: and with this I don't mean the things I've said above. This is an additional thing you can do to the stuff listed above) -- EDIT: quote:before you do that, find the ways to make your script shorter. It would be far more easier to add stuff to the shorter version than to the existing version. RE: [release] My MsgPlus!Live Script by JonnyT on 06-27-2006 at 10:14 PM
thanks for the tips Cookie, I will definatly be making the script shorter, and fixing a few small errors before i even atempt to add custom commands. RE: [release] My MsgPlus!Live Script by deAd on 06-27-2006 at 10:29 PM The registry is the best way. RE: [release] My MsgPlus!Live Script by Lou on 06-28-2006 at 12:20 AM
quote:Not necessarily. If the user that installed the script does not have access to the registry, then the script won't even run. RE: RE: [release] My MsgPlus!Live Script by alexp2_ad on 06-28-2006 at 12:26 AM
quote:http://mpwiki.h-master.net/Text_Files Posted on mess.be too, but just in case ya miss it. RE: [release] My MsgPlus!Live Script by CookieRevised on 06-28-2006 at 12:50 AM
quote:which would be very rare seeing the location (HKCU and not HKLM) where script settings are stored. I also doubt that someone without access to that location would even be able to properly run Plus!Live for that matter (can be, but very unlikely). Also, if someone does not have access to the registry, I'm certain you can't even run scripts (unless you enable them again each and every time you start up Messenger as HKCU is also the location where Plus! stores if a script is enabled or not). And for some simple settings like this I think using XML is a bit over the top (IMHO). All in all, there is absolutely no reason why you shouldn't be using the registry for such small settings. RE: [release] My MsgPlus!Live Script by JonnyT on 06-29-2006 at 04:28 PM
I've made alot of improvements to the code, and changed a couple of things, the "Im going to sleep" etc mssages are now sent to all open chat windows, and a new little feature which saves the last message your sent simply type #s1 to use it. RE: [release] My MsgPlus!Live Script by Reload2 on 06-29-2006 at 04:29 PM
quote:Fix your link buddy ^^ RE: [release] My MsgPlus!Live Script by JonnyT on 06-29-2006 at 04:39 PM
sorry went for some strewberrys fixed the link hmm after some research i'v figured out hwo to do it, now I just need to create a window to add them from. is there an example anywhere tht shows how to get information entered in a window? RE: [release] My MsgPlus!Live Script by JonnyT on 06-29-2006 at 11:56 PM
well i've done it, leaving for newcastle in 3 hours (yup im leaving at 4am), but I have added custom commands. Using a very simple window you can add your own "Im going to the toilet" etc commands to the script. I would release a version now but theres some little bits I would like to sort first. |