Is this possible to make? - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: Scripting (/forumdisplay.php?fid=39) +----- Thread: Is this possible to make? (/showthread.php?tid=93980) Is this possible to make? by Barathrum on 02-28-2010 at 04:53 PM
Is it possible to make a Messenger Script that everytime any contact on my friend list would sign into messenger, it would open a chat window and say "Hello " and if possible then close that chat window, but this part doesn't matter. RE: Is this possible to make? by Felu on 02-28-2010 at 04:56 PM Yes, I believe it would be fairly easy to do. RE: Is this possible to make? by billyy on 02-28-2010 at 05:45 PM
Yeah it's possible and fairly easy jscript code: Actually it is as simple as that! RE: Is this possible to make? by roflmao456 on 02-28-2010 at 05:55 PM
JScript code: damn it billy RE: Is this possible to make? by billyy on 02-28-2010 at 05:57 PM
Ah but you close the window so it's better anyway RE: Is this possible to make? by CookieRevised on 02-28-2010 at 06:37 PM
Mind you that such scripts are extremely annoying! RE: Is this possible to make? by Felu on 02-28-2010 at 06:39 PM Not to mention that if somebody has a connection problem, and signs-in and out often, would keep on getting the message again and again. RE: Is this possible to make? by billyy on 02-28-2010 at 06:47 PM
Yeah i know felu :/ jscript code: Off-Topic: But w/e i'm off repping people Edit: Banned from repping people... ahw **** RE: Is this possible to make? by foaly on 02-28-2010 at 08:09 PM
quote: Something tells me you'll never have to eat... RE: Is this possible to make? by billyy on 02-28-2010 at 08:34 PM LOL thanks for that xD RE: Is this possible to make? by whiz on 02-28-2010 at 09:23 PM
Also, rather than using loads of else if statements, try using switch: js code: RE: Is this possible to make? by billyy on 02-28-2010 at 09:26 PM
I noticed it was possible, i just don't see the difference... RE: Is this possible to make? by CookieRevised on 03-01-2010 at 12:50 AM
quote:Using Switch is shorter code and it is much faster code in execution. Each time you do Else If Messenger.MyStatus, the interpreter needs to look up Messenger.MyStatus. This is of course useless because that variable isn't going to change between the If Then Else's. Using a Switch statement makes that Messenger.MyStatus only needs to be looked up once. RE: Is this possible to make? by djdannyp on 03-01-2010 at 11:21 AM
A lot of those statuses are depreciated though, your only choices now are "Available, Away, Busy and Offline" RE: Is this possible to make? by Barathrum on 03-01-2010 at 03:19 PM Thank you all, yes I know it could be annoying so I added some code that it will check if this user should get the msg or not. RE: Is this possible to make? by Spunky on 03-01-2010 at 03:45 PM
quote: Various clients still show the old statuses IIRC and they are still sent correctly through the protocol, so some people will still see it correctly. RE: Is this possible to make? by billyy on 03-01-2010 at 04:59 PM
But it's about the status of the user of the script O_o RE: Is this possible to make? by CookieRevised on 03-01-2010 at 09:05 PM
quote:Since they are still supported by Windows Live Messenger (eventhough, on screen, you don't see a visible difference between the various busy/online statusses), it is still possible that the user will have such a specific status. eg: by using another script which sets those statusses for example. Hence they should still be supported in the script (and in any other script for that matter). RE: Is this possible to make? by billyy on 03-02-2010 at 06:30 AM
Oh yeh >_< RE: Is this possible to make? by matty on 03-02-2010 at 02:10 PM
Plus! still supports assigning these status through the conversation. |