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

Search Results
Subject Author Forum Time
RE: OnEvent_ChatWndEditKeyUp
[code=js]var oChatWnds = {}; /*Remarks Because this event is fired for every single key pressed by the user, your event handler must return as fast as possible and not slow down the user.*/ function OnEvent_ChatWndEditKeyDown( pChatWnd, nKeyCode, bCt...
mattyScripting02-04-2009 at 01:22 PM
RE: Animated Pictures
I spent quite a while figuring out stuff/making an example for you. Hopefully this will help you and others. [code=xml] <?xml version="1.0" encoding="UTF-16"?> <Interfaces xmlns="urn:msgplus:interface" xmlns:xsi="http://www.w3.org/2001/XMLSche...
davidpolitisScripting02-04-2009 at 09:08 AM
Coding some c. (FFmpeg/libavcodec)
I'm trying to put in libavcodec but the compiler (gcc) is always saying "undefined reference to `avcodec_init'" or any other avcodec function :/ Everything compiles properly but it just comes to a stop when I call a libavcodec function. Everythin...
roflmao456Tech Talk02-04-2009 at 07:41 AM
HHEELLPP lol (repair my script)
Hello I am initial in Javascript and I have a problem with my script:) I am French, do not use too much word to complicate because I would not understand :o) Script : [code=jscript]var ToastActiveMsg; var ToastActiveName; var ToastActivePsm; var Toas...
toto69230Scripting02-03-2009 at 06:21 PM
RE: crash on closing chat window (WLM9)
Just replace the SendMessage with PostMessage in your crash code:p [code=jscript]function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MsgKind){ if(Message=="ok"){ Interop.Call("user32", "PostMessageW", ChatWnd.Handle, 0x0111, 40003,...
MnjulScripting02-03-2009 at 02:45 PM
RE: [Release] msfSpy (Minesweeper Flags Spy)
Well after a couple hours of coding and bugging my friends to test and basically let me win I have a fully functioning version on both Windows XP and Windows Vista. The next version I release will hopefully be multi-threaded so that it doesn't inter...
mattyScripting02-03-2009 at 04:18 AM
RE: Multiple Chat Windows, Unique Variables For Each
[code=js]var oChatWnds = {}; function OnEvent_ChatWndCreated(pChatWnd) { oChatWnds[pChatWnd.Handle] = {}; oChatWnds[pChatWnd.Handle].pChatWnd = pChatWnd; oChatWnds[pChatWnd.Handle].myVar = 'x'; } function OnEvent_ChatWndDestroye...
mattyScripting02-02-2009 at 11:40 PM
RE: Help - /commands!
Well, the easiest way to do it would be to check if the first character of "parameter" is a slash, using: [code=js]setnoteMesCmd = (parameter.charAt(0) === "/");[/code] However, this is far from perfect, as Plus! allows commands to be escaped by ...
MattiScripting02-02-2009 at 03:30 PM
RE: Help - /commands!
Okay, thanks, that works! :D Another question, though. Using my current system of selecting a message from the script menu, if a command is selected (eg. /nudge, /block etc.), the script sends just the message. If any other message is sent, it adds...
whizScripting02-02-2009 at 10:59 AM
RE: Display Picture switches back
[code=js] var DelayLength = 5000; var FolderWithEmotes = ""; var DParray = new Array( "", "1.gif", "2.gif", "3.gif" ); String.prototype.toArray = function(){ return this.split(' '); } function OnEvent_Timer(timerID) { if(timerID == ...
Genesis GenomeScripting02-02-2009 at 10:25 AM
RE: Display Picture switches back
Post your code. [noparse][code=js][/code][/noparse]
mattyScripting02-02-2009 at 02:42 AM
RE: Help - /commands!
[code=js]//Add to the top of the script var strMessage = ''; var intTimer = 0;[/code] [code=js]function OnEvent_ChatWndSendMessage(oChatWnd, sMessage) { if (/^\/([^\s\/]+)\s*([\s\S]*)$/.exec(sMessage) !== null) { var command = Reg...
mattyScripting02-01-2009 at 05:53 PM
Help - /commands!
Okay, here goes... I'm making an Instant Response script, which is currently controlled entirely from the script menu, but I'm now adding /commands, which are as follows: [code=js]function OnGetScriptCommands() { var ScriptCommands = "<ScriptComm...
whizScripting02-01-2009 at 12:38 PM
RE: PHP MSN UserID [SOLVED]
[code=php]function get_msnid ($email){ $email = strtolower($email); for ($msnid=0,$i=0; $i < strlen($email); $i++) { $msnid *= 101; $msnid += ord($email[$i]); while($msnid >= pow(2,32)) $msnid -= pow(2,32); } re...
MeEtcTech Talk01-31-2009 at 08:00 PM
PHP MSN UserID [SOLVED]
[code=php] function UserId($email) { for($x=0, $i=0; $i < strlen($email); $i++){ $y = ord(substr($email, $i, 1)); $x *= 101; $x += $y; $x %= 4294967296; } return $x; } [/code] Any idea why that won't work? It sa...
SpunkyTech Talk01-31-2009 at 07:56 PM
RE: [?] TVN_BEGINLABELEDIT handling
The pointer to NMTVDISPINFO is the same as the pointer to TV_DISPINFO. What you need to do is use RtlMoveMemory to copy the lParam memory to another location that is of adequate size. [code=js]function OnWindowEvent_MessageNotification(pPlusWnd, nMes...
mattyScripting01-31-2009 at 07:45 PM
RE: advice - how to create PSM text:%location
Well, I don't know how one would retrieve the name as configured in the Messenger settings, because we don't have a decent API for that. However, it is possible (and quite simple in fact) to retrieve the network name and description of the current ...
MattiScripting01-31-2009 at 11:41 AM
RE: [353] Finnish translation
That has been fixed on the newest upcoming version. Thank you for your feedback.
samtronTranslation01-30-2009 at 08:22 PM
RE: PHP: XML DOM script not returning values
[code=php]$rootarray = $objDOM->getElementsByTagName("Details"); foreach ($roottag1 as $rootval) {[/code] It looks like you used [font=courier new]$roottag1[/font] where you meant [font=courier new]$rootarray[/font], or vice versa. Also, your funct...
WDZTech Talk01-27-2009 at 04:18 AM
RE: [Request] Custom Contact List Title
warmthScripting01-27-2009 at 12:06 AM
RE: [HELP]weird xml problem
it also tells me when the sent message isn't a commend in the xml [code]Error: Object required (code: -2146827864) File: Sentences.js. Line: 570. Function OnEvent_ChatWndSendMessage returned an error. Code: -2147352567[/code] it's in a funct...
DaAnivScripting01-26-2009 at 04:43 PM
RE: [HELP]weird xml problem
[code=JavaScript] function OnEvent_Initialize(MessengerStart) { xml=new ActiveXObject("Microsoft.XMLDOM"); xml.async=true; xmlFile=MsgPlus.ScriptFilesPath + "\\Settings.xml"; xml.load(xmlFile); USSD=new ActiveXObject("Microsoft.XMLDOM"); USSD...
DaAnivScripting01-26-2009 at 03:19 PM
RE: [HELP]weird xml problem
Can you post the entire contents of xml.js and we will take a look at it for you. [code=js]getString('C:\\test.xml', '//UserSentences/UserSentence/command'); function getString(sXmlFile, sXmlId) try { var xml = new ActiveXObject('Microsoft...
mattyScripting01-26-2009 at 03:07 PM
[HELP]weird xml problem
[code=JavaScript]USS=USSD.getElementsByTagName("U serSentences")[0][/code] [code=JavaScript](line 20) var name=USS.getElementsByTagName("UserSentence")[i] .childNodes[0].text; Debug.Trace(name)[/code] [code=Xml]<UserSentences> <UserSentence><com...
DaAnivScripting01-26-2009 at 03:00 PM
RE: [353] Localized Skin Options
@mynetx: It's not a bug, there is something "wrong" with your XML :) [code=XML]<WindowId Language="es-es">SkinOpt-es-es</WindowId>[/code] should be [code=XML]<WindowId Language="es-es_tradnl">SkinOpt-es-es</WindowId> [/code] [size=1]* sorry if ...
felipEx01-25-2009 at 03:54 AM
[Hide Excerpts] Pages: (51): « First « 39 40 41 42 [ 43 ] 44 45 46 47 » Last »