What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » Search » Results

Search Results
Subject Author Forum Time
RE: [?] Displaying steam status in PSM
Although it's true that the XMLs delivered by the Steam Community don't provide much valuable data, you can get the current status and the name of the game currently being played if the user has set his profile visibility to public. [size=1](privac...
MattiScripting08-07-2010 at 08:18 AM
RE: [?] Sort array by keys...
In that case, you might be better off with what I suggested in my previous post: This solution would consist of an object (indexed on window ID) and an array (alphabetically sorted by ID) holding the window objects. These indexes can then be stored ...
MattiScripting07-31-2010 at 12:56 PM
RE: [?] Sort array by keys...
JScript arrays can't have strings as keys, you're just extending the Object instance with W, X, Y and Z properties. They're not actually array elements, you can easily see this when you check MyArr.length (it'll still be 0). As for sorting object...
MattiScripting07-30-2010 at 07:47 PM
RE: [IDEA] plusQuery
That's what you could say about any abstraction layer: jQuery, .NET,... :P The extra file weight shouldn't be so much of a problem for modern computers and Internet connections, nor should the difference in performance be very noticeable if the li...
MattiScripting07-14-2010 at 10:28 AM
RE: [IDEA] plusQuery
I've had a similar idea once, mainly because I would love to assign and remove event handlers like in jQuery (with bind() and unbind()). However, if you would want to actually make such framework for Plus! scripts, you're going to need to find a wa...
MattiScripting07-13-2010 at 07:55 AM
RE: Some big help I need
And if you want to improve even further upon that code snippet, you go for a fast numeric loop instead of a slower property enumeration loop. [code=js]var Contacts = ["johnsmith@hotmail.com", "abcdefg@hotmail.com"]; function OnEvent_Signin(Emai...
MattiScripting07-09-2010 at 12:55 PM
RE: my first script any help would be appriciated..
There used to be a list of them hosted on m00.cx, but apparently that server is down now. Luckily, I made a local copy of the list when it was still up - it's a pretty long list and I didn't have to wait that long every time I needed to look someth...
MattiScripting07-05-2010 at 02:26 PM
RE: check whether if the contact is in a special list?
That may be the case for an Array.indexOf() implementation (which is not available in JScript), but String.indexOf() looks for substrings in a search string. It first has to find the first substring character in the search string and then check whet...
MattiScripting07-02-2010 at 06:24 PM
RE: check whether if the contact is in a special list?
Your code isn't too bad actually, however it can indeed be optimized. It's better to store your trusted emails in an array rather than a comma-separated string. This also allows you to loop over the array instead of the chat contacts. [code=js]var ...
MattiScripting07-02-2010 at 10:05 AM
RE: Packing script error
In Notepad++, you should select UCS-2 Little Endian as encoding. Also, it's a good idea to place an XML header in your ScriptInfo.xml: [code=xml]<?xml version="1.0" encoding="UTF-16"?> <ScriptInfo> <Information> <Name>The list</Name> <Descr...
MattiScripting07-01-2010 at 11:56 AM
RE: [HELP]"Official Scripting Documentation (for version 4.60+)" Has Virus ...
Are you sure you downloaded it from [url=http://www.msgpluslive.net/scripts/view/13-Of ficial-Scripting-Documentation/]the scripting database[/url]? Normally, it should just be a ZIP file with a single CHM file inside. Alternatively, you can view the ...
MattiScripting06-30-2010 at 09:08 AM
RE: Essentials Public Beta release
We'll get excited about it when it's actually released, and not when some random guy claims that he knows the release date. And after that, we'll get excited when a compatible Plus! version comes out. :P
MattiSkype & Live Messenger06-22-2010 at 07:31 AM
RE: Saving variables ActiveXObject & shell
Dammit, can't believe I missed that. :P Oh, and you don't really need to assign the return value of ReadScore() to Score, just call it and it'll set Score itself. ;)
MattiScripting06-20-2010 at 02:07 PM
RE: Saving variables ActiveXObject & shell
Oops, small typo. :P [code=js]function OnEvent_Timer(Timer){ if (Timer == 'rato'){ // Set personal message >>> Messenger.MyPersonalMessage = 'Score: ' + Score;<<< // Recreate timer MsgPlus.AddTimer('rato', 10000); } }[/code] The old na...
MattiScripting06-20-2010 at 07:51 AM
RE: Decent spellchecker
[i]Short answer:[/i] no. [i]Long answer:[/i] It's nearly impossible to do such interactions with the chat window's typing area. A script would need to respond to the key press and right-click events which is hard since these notifications are only ...
MattiScripting06-19-2010 at 07:31 PM
RE: Saving variables ActiveXObject & shell
It appears that your registry path is faulty. From what I understand, you want to read and write the key with the following path: [code]HKEY_CURRENT_USER\Software\Patchou\Messen ger Plus! Live\GlobalSettings\Scripts\My Script\score[/code] Now l...
MattiScripting06-19-2010 at 06:30 PM
RE: [Release] World Cup 2010 South Africa
It's at the top of the header, next to the network links: [img]http://shoutbox.menthix.net/attachment.php?pi d=995561[/img] Not the best place to put it though, could use some better placing.
MattiScripting06-12-2010 at 02:13 PM
RE: [split] show error toast instead of in debug window
It might help if you could point us where line 72 is (or whatever line it was). Here's something I noticed: you're using the name Function as parameter name, which may conflict with the JScript's built-in Function class. I suggest you change the n...
MattiScripting06-12-2010 at 07:25 AM
[split] show error toast instead of in debug window
The sample code you defined there won't trigger an exception since you're not calling the functions inside your try block, you are just defining them. Due to the nature of JScript's treatment of global objects, it won't check for the existence of...
MattiScripting06-10-2010 at 12:47 PM
RE: Delayed Writing
You might want to change the 5000 ms delay into a 500 ms delay, it'd take a really long time before the message is fully transmitted. (Typo I guess? :P) Also, wouldn't the built-in flood protection prevent the script from working correctly? The cou...
MattiScripting06-05-2010 at 08:08 AM
RE: Writing files?
Oh dear, how could I have missed that? Was it because the code syntax wasn't highlighted? Was it because I just got back from a long day in school? Was it because I replied too fast? /me hides. In that case, matty's code should do the job just fin...
MattiScripting06-01-2010 at 04:39 PM
RE: Writing files?
Also, JScript doesn't define the IO mode constants for the FileSystemObject, so you need to define them yourself: [code=js]// In the global scope var ForAppending = 8; // Where you need to read the text file theFile = fso.OpenTextFile(MsgPlus.Script...
MattiScripting06-01-2010 at 03:58 PM
RE: Hide/remove quick (personal) message?
Skins work by modifying the user interface resources of Messenger. They define new images and styles which Plus! uses as replacements for Messenger's own interface resources. They can only be loaded when Messenger is launched, that's why you need ...
MattiScripting05-31-2010 at 05:12 PM
RE: Help with small XML reader
How many tasks are in the tasks.xml? I can already see one issue, namely that you're starting from index 1 for your loop. In JScript (and actually all languages), arrays and collections start at index 0 so you're skipping the first element with tha...
MattiScripting05-26-2010 at 11:31 AM
RE: Help with small XML reader
Could you provide us with the details from the script debugger window? Anyway, I think there are two possibilities for this problem: [list=1] [*][b]The ActiveXObject couldn't be created.[/b] I had this before, for some reason my Windows installation...
MattiScripting05-25-2010 at 06:25 PM
[Hide Excerpts] Pages: (66): « First « 1 2 3 4 [ 5 ] 6 7 8 9 » Last »