Search Results |
Subject |
Author |
Forum |
Time |
RE: Snarl aah cheers.. i've had a go with it.. however, when it comes to "OnEvent_ChatWndReceiveMessage", it seems to send all messages through, i read the scripting documentation, where it says that they are using the "Origin" argument to check whether t... | superaktieboy | Scripting | 06-21-2010 at 08:29 PM |
RE: a GUI for this So far, you have your ChatWnd function: [code=js]function OnEvent_ChatWndSendMessage(ChatWnd, Message) { return "< " + Message + " >"; }[/code] Firstly, we need a variable to store whether the script is enabled or not. [code=js]var Enabled = ... | whiz | Scripting | 06-20-2010 at 12:39 PM |
RE: a GUI for this I would have linked to the scripting documentation page, but the site seems to be down for maintenance. [quote][b]Source: [i]Scripting Documentation > Events Reference > Messenger Plus! Events > OnGetScriptMenu[/i][/b] [hr] The OnGetScriptMenu event ... | whiz | Scripting | 06-20-2010 at 10:11 AM |
RE: Saving variables ActiveXObject & shell The reason for this is because when you sign in to Messenger, the score variable is defined as 0, but it isn't actually set from the registry each time, so it will just continue from the beginning each time. Change the sign-in function to this: [cod... | whiz | Scripting | 06-20-2010 at 10:00 AM |
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... | Matti | Scripting | 06-20-2010 at 07:51 AM |
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... | Matti | Scripting | 06-19-2010 at 06:30 PM |
RE: [split] show error toast instead of in debug window Line 72 is the call to [u]Debugger::Catch[/u]. [code=js]Debugger.Catch("Initialize", error);[/code] FSO is defined globally, in a file called "VarGlobals.js". [code=js]var FSO = new ActiveXObject("Scripting.FileSystemObject");[/co de] I've chan... | whiz | Scripting | 06-12-2010 at 11:30 AM |
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... | Matti | Scripting | 06-12-2010 at 07:25 AM |
RE: [split] show error toast instead of in debug window Still returns the same error. New code: [spoiler][code=js]var Debugger = { "Start" : new Date(), "Data" : [], "Trace" : function(Text) { if (Messenger.MyStatus > 1) { try { if (Registry.Read("Options\\ChkDebug")) { ... | whiz | Scripting | 06-11-2010 at 07:19 PM |
RE: [split] show error toast instead of in debug window It might also work as expected if you specify the Debugger object as follows: [code=JScript]var Debugger = { "Start": new Date, "Data": new Array(), [...] }[/code] Note that you must separate each member with a comma, except for... | SmokingCookie | Scripting | 06-11-2010 at 04:35 PM |
RE: NEED HELP MESSENGER PLUS SKINN (CHOULD NOT FIND CLOUD.JPG) PLEASE CLICK HERE AND HELP worng one here: | preben | Skinning | 06-11-2010 at 03:29 PM |
[split] show error toast instead of in debug window Yes. Here's the full Debugger object: [spoiler][code=js]var Debugger = {}; Debugger.Start = new Date(); Debugger.Data = []; Debugger.Trace = function(Text) { if (Messenger.MyStatus > 1) { try { if (Registry.Read("Options\\ChkDebug")) ... | whiz | Scripting | 06-10-2010 at 06:58 PM |
[split] show error toast instead of in debug window Can someone split it from my first post, please?[/size] | whiz | Scripting | 06-10-2010 at 06:36 PM |
[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... | Matti | Scripting | 06-10-2010 at 12:47 PM |
[split] show error toast instead of in debug window I thought about that, but then I'd have to put one into every function... Can it go across all functions in a file, like this? [code=js]try { function Test1() { // invalid function foo.bar(); } function Test2() { ... | whiz | Scripting | 06-10-2010 at 11:30 AM |
RE: Help required with Bead Draw Script You could make custom emotions for each, with IDs like [color=red][i]%bd:r%[/i][/color], [color=grey][i]%bd:w%[/i][/color], [color=blue][i]%bd:b%[/i][/color] and [color=orange][i]%bd:y%[/i][/color], and then make a script that sends [i]%bd:[b]?[/b]%[... | whiz | Scripting | 06-07-2010 at 06:08 PM |
RE: Multiple Sign-In locations question! One would assume that by subclassing the Chat Window and ignoring the WM_CLOSE message unless you were to type /close then that should work. Obviously someone would need to write a DLL to subclass the windows but in theory the aforementioned pseudo s... | matty | Skype & Live Messenger | 06-07-2010 at 01:40 PM |
RE: [Release] World Cup 2010 South Africa After looking over your script you will want to use OnEvent_SigninReady not OnEvent_Signin. The reason for this is while OnEvent_SignIn is being called it is still in the process of downloading the contact list and (although you don't neccessarily n... | matty | Scripting | 06-07-2010 at 01:07 PM |
RE: NEED HELP MESSENGER PLUS SKINN (CHOULD NOT FIND CLOUD.JPG) PLEASE CLICK HERE AND HELP Here, try using this instead: [code=xml] <SkinInfo> <Information> <Name>test skin</Name> </Information> <MessengerSkin> <ResGroup> <Restrictions> <MsgVersions> <Version Major... | blessedguy | Skinning | 06-07-2010 at 02:31 AM |
RE: NEED HELP MESSENGER PLUS SKINN (CHOULD NOT FIND CLOUD.JPG) PLEASE CLICK HERE AND HELP i changed it but it didnt work:( or it did work a little, where it supose to say remember me it says hello world! | preben | Skinning | 06-06-2010 at 11:11 PM |
RE: NEED HELP MESSENGER PLUS SKINN (CHOULD NOT FIND CLOUD.JPG) PLEASE CLICK HERE AND HELP Yes, you have. Here, change [code=xml]<MsgVersions> <Version Major="8" Minor="5"/> </MsgVersions>[/code] to [code=xml]<MsgVersions> <Version Major="14" Minor="0"/> </Ms... | blessedguy | Skinning | 06-06-2010 at 11:07 PM |
RE: JIT - Debug popups The problem with your script is, that the window must have been created, before you can destroy it. You should be able to overcome this problem by replacing the faulty line with this: [code=JScript] if(typeof Wnd === "object" && Wnd !== null) Wn... | SmokingCookie | Scripting | 06-06-2010 at 05:18 PM |
RE: Delayed Writing Change the function for the timer to the following: [code=js]function OnEvent_Timer(sTimerId) { var oChat = oChatWnds[sTimerId]; var Message = oChatWnds[sTimerId].Message.charAt(oChatWnds[sTime rId].i); if (Message === '/') Message = '/... | matty | Scripting | 06-06-2010 at 02:12 AM |
RE: Delayed Writing Oops! Replace this: [code=js] Wnd : pChatWnd;[/code] ...with this: [code=js] Wnd : pChatWnd[/code] (in other words, remove the semi-colon from the end) | whiz | Scripting | 06-05-2010 at 03:08 PM |
RE: Delayed Writing The oChat isn't actually a chat window, but just an object with [b]Message[/b] and [b]i[/b] properties. Would this work? [code=js]var oChatWnds = {}; function OnEvent_ChatWndSendMessage(pChatWnd, sMessage) { if (sMessage.charAt(0) !== '/' && typ... | whiz | Scripting | 06-05-2010 at 01:36 PM |