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

Search Results
Subject Author Forum Time
RE: getMinutes() help :(
[code=js]function getMins () { var minutes = new Date().getMinutes(); return (minutes<10?'0':'')+minutes; }[/code] Like that?
mattyScripting09-25-2009 at 07:13 PM
Post your greasemonkey scripts
Just as the thread title says. This will add Inivisible mode options to the header: [img]http://shoutbox.menthix.net/attachment.php?pi d=975323[/img] [code=js]// ==UserScript== // @name Plus! Forum // @namespace http://shoutbox.menthix....
mattyForum & Website09-22-2009 at 07:40 PM
RE: Status Icons
I forgot to include it originally. This is straight from Screenshot Sender 5. [code=js]/* Name: SetWndIcon Purpose: Sets the window icon Parameters: None Return: None */ function SetWndIcon(hWnd) { _debug.getfuncname(arguments); _win32.Send...
mattyScripting09-22-2009 at 06:33 PM
RE: Status Icons
Just out of interest... Did you do that from what I said or did you research it?
SpunkyScripting09-22-2009 at 06:23 PM
RE: Bug: Messenger.MyPersonalMessage does not always up-to-date
While Patchou is on holidays could you test something for us. Create a script on Computer A. Copy the following code into the script. [code=js]function OnEvent_MyPsmChange ( sNewPsm ) { Debug.Trace ( sNewPsm ); }[/code] Reproduce the bug. The pur...
mattyWLM Plus! Bug Reports09-22-2009 at 01:07 PM
RE: Status Icons
Just add the highlighted line to the function [code=js]function SetIcon (hWnd, nStatus, bIsContactBlocked) { var sIcon = MsgPlus.ScriptFilesPath + '\\' + oStatus[nStatus] + (bIsContactBlocked ? '_blocked' : '') + '.ico'; var hIcon = Inter...
mattyScripting09-22-2009 at 12:47 PM
RE: URL Shortening Script?
I'm too [s]lazy[/s] busy to make the GUI, but you could probably use these functions: [code=JScript]var login = "roflmao456"; var api_key = "R_0d142cec1c6940a9d270d5420f2c90fb"; var get_link_hash = function(url){ // Should work on most url shor...
roflmao456Scripting09-22-2009 at 12:32 AM
RE: Python help
Or even easier: [code=Python]symbol % 10 - 1[/code] It worked.
ChancerTech Talk09-21-2009 at 01:06 AM
RE: Python help
yep that's it, you could do it with dictionaries or more if statements, but indexes just seemed like a thinner way to code it, it also gave me less to think about, [code=python] >>> symbol=65361 >>> str(symbol)[-1] '1' >>> int(str(symbol)[-1]) 1 >...
JarrodTech Talk09-20-2009 at 10:08 PM
RE: Python help
Cool :) Actually, the "hard part" was [code=Python]((int(str(symbol)[-1]))-1)[/code] You get a simbol (65361, 65362, etc); convert it to a string; get only the last character ([-1]); convert into an integer; subtract 1. Is this right?
ChancerTech Talk09-20-2009 at 10:05 PM
RE: Timeout Objects
Well, actually there's no need to add so many arguments. You could simply make another function which passes the right parameters and use that as callback, like so: [code=js]function somefunction(arg1, arg2, arg3) { // Do something useful } // Meth...
MattiScripting09-20-2009 at 05:47 PM
RE: Python help
[code=python]import pyglet as pyg import random from pyglet.window import key window=pyg.window.Window() #map- when arrow keys are pressed in pyglet, the symbol that represents them is a number #he numbers are: #65361 = left = 0 #65362 = up = 1 #6536...
JarrodTech Talk09-20-2009 at 01:33 PM
RE: Timeout Objects
If you really want setTimeout functionality, you could try this class I made for my scripts. You have to note though that you can't use "normal" MsgPlus.AddTimer() calls unless you edit the OnEvent_Timer in this class. Example usage: [code=js]func...
MattiScripting09-20-2009 at 06:54 AM
RE: Latest Posts suggestion
that's pretty cool actually :zippy: [code=css]tr.latest_thread.fid18 td, tr.latest_thread.fid18 a:link, tr.latest_thread.fid18 a:visited{color: #676767 !important; } tr.latest_thread.fid18 a:hover{ color:#adadad !important; } tr.latest_thread.fid18 ...
andreyForum & Website09-19-2009 at 01:21 AM
RE: Latest Posts suggestion
yeah, just ignore all those other forum suggestion threads that have gone nowhere (a) I added the fid class name to latest.php... hopefully you can make better use of it than I did. :zippy: [code=css].latest_thread.fid39 td { /* styles for all the t...
WDZForum & Website09-18-2009 at 09:50 PM
RE: MsgPlus.ScriptRegPath| Problem :(
Ahaha, that's a typo. :D Try [b]STATUS_INVISIBLE[/b] instead: [code=js]function OnEvent_Initialize ( ) { if ( Messenger.MyStatus < STATUS_INVISIBLE ) return false; // etc...[/code]
MattiScripting09-18-2009 at 03:34 PM
RE: MsgPlus.ScriptRegPath| Problem :(
[code="js"] var username = "p3acemak3r"; var settings; //savesettings(); var twitterusername; var twittername; var twittertimer; var Shell=new ActiveXObject("WScript.Shell"); //var fileread = new ActiveXObject ( 'Scripting.FileSystemObject' ...
m0nst3rkill3rScripting09-18-2009 at 02:58 PM
RE: MsgPlus.ScriptRegPath| Problem :(
Hey. Shell is defined above with [code="js"] var Shell=new ActiveXObject("WScript.Shell"); [/code] The "Twittertimer if" i cutted out for some minutes. /edit: Like a chat here :D Okay. I'll try it. /edit: Does not work either. Skript wird gest...
m0nst3rkill3rScripting09-18-2009 at 02:42 PM
RE: MsgPlus.ScriptRegPath| Problem :(
[code=js]var regPath; var twitterusername; var twittername; var twittertimer; function OnEvent_Initialize ( ) { if ( Messenger.MyStatus < STATUS_INVISIBILE ) return false; regPath = MsgPlus.ScriptRegPath + Messenger.MyUserId; /* this ...
mattyScripting09-18-2009 at 02:36 PM
RE: Problem with Twitter-PHP and My Script
Glad it worked. If you wanted to loop through all of the status in the XML file you could do something like this: [code=js]getTwitterStatusFromXML ( 'http://www.twitter.com/status/user_timeline/p3ac emak3r.xml' ); function getTwitterStatusFromXM...
mattyScripting09-18-2009 at 01:01 PM
RE: MsgPlus.ScriptRegPath| Problem :(
Post the code so we can see where you are going wrong. It is likely that you are using Messenger.MyUserId when it is not initialized therefore causing errors. To combat issues with such events occuring this is what I do: [code=js]function OnEvent_Ini...
mattyScripting09-18-2009 at 12:35 PM
RE: [ASK] Plus Code in script interface
[code=xml] <Control Id="lWinner" xsi:type="RichStaticControl"> <Position Top="182" Left="8" Width="185"/> <Attributes><Align>Center</Align></Attributes> <Caption>[c=#666666]Messenger Plus! [b][c=#FF9900]Live[/c][/b] Script Contest...
mattyScripting09-16-2009 at 08:20 PM
RE: Command Bar | [release] 1.1
Register the WM_KEYUP (Or WM_KEYDOWN; whatever your fancy) message and watch for the VK_RETURN key? [code=js]/* Added to Main Child Window.js */ function OnWndCommandBar_CMainEvent_MessageNotification(Plu sWnd, Message, wParam, lParam) { if (Mes...
mattyScripting09-16-2009 at 07:41 PM
RE: Problem with Twitter-PHP and My Script
I am now contemplating my code. You can try removing the documentElement piece from the code and try. Therefore the code would look like this: [code=js] Debug.Trace ( xmldom.selectSingleNode ( '//statuses/status/text' ).text );[/code]in...
mattyScripting09-15-2009 at 06:40 PM
RE: Simple Problem w/ Objects
The function OnEvent_ChatWndMessageReceive has a parameter called pChatWnd. This is the Chat Window where the event happened. Therefore you could do something like this: [code=js]var oChatWnds = {}; // variable to hold the chat window handles and the...
mattyScripting09-15-2009 at 05:45 PM
[Hide Excerpts] Pages: (51): « First « 22 23 24 25 [ 26 ] 27 28 29 30 » Last »