Search Results |
Subject |
Author |
Forum |
Time |
RE: [help] Windows widths and heights... This is where bitwise operations come in handy. To get the low-order word, you need to get the first word from the number. A word is an unsigned number of 2 bytes or 16 bits. The maximum word value is thus 1111 1111 1111 1111 in binary or 65,535 in ... | Matti | Scripting | 01-06-2010 at 06:51 PM |
RE: [help] Windows widths and heights... Correct. I'm making a window designer that uses a blank window, with a title text box, minimize/maximize/close checkboxes and so on, as well as two text boxes that reflect the current size of the window. [code=js]var WndTest = MsgPlus.CreateWnd("... | whiz | Scripting | 01-06-2010 at 06:33 PM |
RE: How can I ?? please enter [code=js]var oChatWnd; function OnEvent_MenuClicked(sMenuId, nLocation, pOirgin) { if (sMenuId === 'MyMenu') { if (nLocation === MENULOC_CHATWND) { oChatWnd = pOrigin; // this gives you access to the chat window so you can u... | matty | Scripting | 01-05-2010 at 07:21 PM |
TranslationAdjust tag Just wondering if anybody knows how to use the TranslationAdjust tag, I've trying to make it work without success, here's the code: [code=xml]<Control xsi:type="StaticControl" Id="LVersion"> <Position Left="5" Top="15" Width="50"/> <Att... | robert_dll | Scripting | 01-02-2010 at 04:00 AM |
RE: Only display certain CSS div elements in specific browsers [code=css]#footer{ position: fixed; _position: absolute; bottom: 0; _top:expression(document.body.scrollTop+document. body.clientHeight-this.clientHeight); _text-align:left; text-align:center; border: 1px solid #b2ceff; background-color: #d1d... | matty | Tech Talk | 12-31-2009 at 09:14 PM |
RE: Tips Click the Script icon on the main contact list window. Then click Show Script Debugging Or in code by using: [code=js]Debug.DebuggingWindowVisible = true;[/code] | matty | Scripting | 12-30-2009 at 04:20 PM |
RE: Scripting Error. I love you. It works now! Hope you had a good Christmas! Thanks! | Jeremey | Scripting | 12-26-2009 at 07:26 PM |
RE: Scripting Error. Append (newstatus) after "Change" so it looks like: [code=jscript] function OnEvent_MyStatusChange(newstatus) { [/code] | Mnjul | Scripting | 12-26-2009 at 07:05 PM |
RE: new and need some help You can't do that directly, as there is no "Email" parameter in OnEvent_ChatWndReceiveMessage(); This is where [i]loops[/i] come in: [code=JScript]function OnEvent_ChatWndReceiveMessage(ChatWnd,Origin,Messa ge,MessageKind) { if(Origin !== Messenge... | SmokingCookie | Scripting | 12-22-2009 at 09:52 AM |
RE: new and need some help That sounds like a Contact object. No Contact object is passed to the OnEvent_ChatWndReceiveMessage(); function. Name is a [i]property[/i] of a Contact object. Like a method, a property belongs to a certain object. I'll set an example: [code=JScript... | SmokingCookie | Scripting | 12-21-2009 at 06:02 PM |
RE: new and need some help i want naam to be the name of the person i send to... i read the helpfile and it says name; returns the other's name... | debeste95 | Scripting | 12-21-2009 at 05:55 PM |
RE: new and need some help Because the variable "name" does not exist. I think you mean [code=JScript]naam = Origin;[/code] This'll do. The sending part: "SendMessage" is not a global function like you are using it. It is a [i]method[/i]: a function that belongs to some o... | SmokingCookie | Scripting | 12-21-2009 at 05:49 PM |
RE: new and need some help i think i got it now... so for every function in that help-file thingy you put 'function' instead of 'if'? i'm gonna try some little things to learn more about it, thank you guys! :) | debeste95 | Scripting | 12-21-2009 at 01:31 PM |
RE: new and need some help You put the "function" keyword in front of the name, simply because it is a function. JScript does support events, but in a very different way. Patchou has programmed Plus! try and to call these functions (if they exist in the JScript code) when th... | SmokingCookie | Scripting | 12-21-2009 at 01:25 PM |
RE: new and need some help
| debeste95 | Scripting | 12-21-2009 at 01:20 PM |
RE: new and need some help Hello debeste95 (Cool name! :P ) Event handlers, as these are called, are just functions with a specific name that Plus! recognises: [code=JScript]function OnEvent_ChatWndReceiveMessage(ChatWnd,Origin,Messa ge,MessageKind) { if(Origin !== Messenger.M... | SmokingCookie | Scripting | 12-21-2009 at 01:15 PM |
RE: How to mute MSN Webcam Mic with a KEYBIND ? Someone correct me if i am wrong but doesn't this mute the microphone [code=jscript]Interop.Call( 'user32', 'SendMessageW', oChatWnd.Handle, 0x0111 /* WM_COMMAND */, 11046, 0 );[/code] | SourSpud | Scripting | 12-17-2009 at 03:42 AM |
Prank Script UPDATED [ Request people to add to it ] [ 70+ views and nobody? :( ] Someone requested a script to change sombodys MSN Name, This script will allow you to change somebodys MSN Name, PSM and change there current display picture to yours, it also has a command to check if the script is imported. [color=green][b]Update:[... | SourSpud | Scripting | 12-17-2009 at 01:27 AM |
RE: Searching through the status message This is a temporary solution until I can put an interface around it. [code=js]var oContacts = {}; function OnEvent_ChatWndSendMessage(oChatWnd, sMessage) { var m = /^\/([^\s\/]+)\s*([\s\S]*)$/.exec(sMessage); if (m) { var Command = m[1].to... | matty | Scripting | 12-16-2009 at 03:51 PM |
RE: anyone know how to make a script that can change contact's name? Like Th3rmal said, you would need to send them a script with this 'extra' code inside it, so when you send a command to them through the chat window. [code=jscript]function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MsgKind) { if (Ori... | SourSpud | Scripting | 12-15-2009 at 07:53 AM |
RE: [code][/code] suggestion errr? [code=xml] <LexerType name="php" desc="php" ext=""> <WordsStyle name="QUESTION MARK" styleID="18" fgColor="FF0000" bgColor="FDF8E3" fontName="" fontStyle="0" fontSize="" /> <WordsStyle name="DEFAULT... | prashker | Forum & Website | 12-15-2009 at 04:01 AM |
RE: Scripting Error Change line 100 from this: [code=js]s = MapCodesToEmoticonNames[ControlId];[/code] To this: [code=js]s = MapCodesToEmoticonNames(ControlId);[/code] | matty | Scripting | 12-13-2009 at 02:54 AM |
RE: Reading a data file [code=js]function loadXML(fileName) { // Create the XML object var XML = new ActiveXObject ('MSXML.DOMDocument') ; XML.async = false; XML.load(fileName); var playerName = XML.selectSingleNode('//root/player/name').text; }[/code] | matty | Scripting | 12-12-2009 at 04:23 PM |
RE: Scripting Error Ok sorry I have never used this before but when you select PSM from the drop down it should populate the edit box with your current PSM to edit it? Try changing/updating the function to this: [code=js]function OnEvent_MenuClicked(MenuItemId, Location... | matty | Scripting | 12-09-2009 at 06:13 PM |
RE: Script to parse user input you are also able to define a command in the script itself... most of the major script developers prefer this method (atleast i think they do =p) the way to do it is to return the XML that you would normally place in the scriptinfo.xml when the func... | NanaFreak | Scripting | 12-06-2009 at 12:45 PM |