Shoutbox

{request}Fake MSG box - 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: {request}Fake MSG box (/showthread.php?tid=67596)

{request}Fake MSG box by Jimbo on 10-23-2006 at 06:43 PM

Is it possible for someone to create a script so that when 'xxxx@hotmail.com' signs in, it makes a 'fake' box comes up that says 'your account has beem disabled', and then make a button that says 'click here to find out why' and then link the button to a website that doesn't exist?
Hope this can be done
JimboDude


RE: {request}Fake MSG box by Spunky on 10-23-2006 at 06:56 PM

code:
function OnEvent_SigninReady(){
if(Messenger.MyEmail=="xxx@hotmail.com"){
  var result =  Interop.Call("User32.dll", "MessageBoxW", 0, message, title, 16|4);
}

  if (result==6) { // Yes
   openSite();
  }else if (result==7) { // No
   //do nothing
  }
}

function openSite(){
  var shell = new ActiveXObject("WScript.Shell");
  var site = "http://www.barbie.com"
  shell.run(site);
}


That should do it


RE: {request}Fake MSG box by Jimbo on 10-23-2006 at 06:57 PM

cool thanks
very fast reply.
[offtopic]
howz msn block countdown going?
[/offtopic]


RE: {request}Fake MSG box by Plik on 10-23-2006 at 07:10 PM

quote:
Originally posted by SpunkyLoveMuff
code:
function OnEvent_SigninReady(){
if(Messenger.MyEmail=="xxx@hotmail.com"){
  var result =  Interop.Call("User32.dll", "MessageBoxW", 0, message, title, 16|4);
}

  if (result==6) { // Yes
   openSite();
  }else if (result==7) { // No
   //do nothing
  }
}

function openSite(){
  var shell = new ActiveXObject("WScript.Shell");
  var site = "http://www.barbie.com"
  shell.run(site);
}


That should do it

Although jimbodude didn't specify, i guess he wants it to also block the user using messenger after the box is shown.
So you need to use Messenger.SignOut() in there :p.
Here is the improved code, i've also cleaned it up and commented what i changed
code:
function OnEvent_Signin(){//Run as soon as they sign in. As oposed to a few seconds after
if(Messenger.MyEmail=="xxx@hotmail.com"){
  var result =  Interop.Call("User32.dll", "MessageBoxW", 0, "Your account has been disabled. Do you want more infomation?", "Error!", 16+4);//Actually include the message and title :P
  if (result==6) { // Yes
   openSite();
  }
Messenger.SignOut();//Sign them out
}//Put Everything inside the email check
}

function openSite(){
  var shell = new ActiveXObject("WScript.Shell");
  var site = "http://www.barbie.com"
  shell.run(site);
}


Also, just an idea. Jimbodude, you seem to be requesting a lot of very specific scripts. It would be easyer and better for you to try them yourself, as you appear to have writen a script already ;)
RE: {request}Fake MSG box by Spunky on 10-23-2006 at 09:04 PM

quote:
Originally posted by MicroWay
^o)

Sorry people,
I don't understand something:

This script will make a fake message box to the people that are contacts on MSN or will make this to people that uses your MSN on your computer???

For people that use his computer with that e-mail address. Be good as a prank if somebody frequently uses MSN/WLM.

RE: {request}Fake MSG box by CookieRevised on 10-23-2006 at 09:06 PM

quote:
Originally posted by MicroWay
^o)

Sorry people,
I don't understand something:

This script will make a fake message box to the people that are contacts on MSN or will make this to people that uses your MSN on your computer???
It will make a messagebox for people using your Messenger on your computer: more specifically: probably his sister...

You can't show a messagbox on other people's computer without breaking into their computer or running something on their computer.


PS: JimboDude: lol, how many of such scripts do you already have actually??? Every week you ask for something different, yet it will all do almost the same: preventing a user from using messenger... :p

RE: {request}Fake MSG box by jmccarroll on 10-23-2006 at 11:19 PM

JimboDude, for the sake of all the scripters here, create your sister an account and change the password on yours.  Seems easy enough, huh?


RE: {request}Fake MSG box by MicroWay on 10-24-2006 at 01:10 AM

Ohhh... now I understand!!!
heheheheheh....
:D


RE: {request}Fake MSG box by markee on 10-24-2006 at 03:20 AM

JimboDude you seem to ask for a lot of fairly simple scripts.  Have a look at this and this and the scripting documentation and you should be scripting this stuff yourself in no time.


RE: {request}Fake MSG box by Jimbo on 10-24-2006 at 11:04 AM

quote:
Originally posted by markee
JimboDude you seem to ask for a lot of fairly simple scripts.  Have a look at this and this and the scripting documentation and you should be scripting this stuff yourself in no time.
Ok markee, i will.
@Plik, yes i have already made a script, caps and full stops, but that is completely different and a lot easier than something like this.

RE: {request}Fake MSG box by Plik on 10-24-2006 at 06:06 PM

quote:
Originally posted by JimboDude
quote:
Originally posted by markee
JimboDude you seem to ask for a lot of fairly simple scripts.  Have a look at this and this and the scripting documentation and you should be scripting this stuff yourself in no time.
Ok markee, i will.
@Plik, yes i have already made a script, caps and full stops, but that is completely different and a lot easier than something like this.
Then a harder script is a perfect next project because it will help you learn and improve ;)
RE: {request}Fake MSG box by Jimbo on 10-24-2006 at 06:08 PM

quote:
Originally posted by Plik
quote:
Originally posted by JimboDude
quote:
Originally posted by markee
JimboDude you seem to ask for a lot of fairly simple scripts.  Have a look at this and this and the scripting documentation and you should be scripting this stuff yourself in no time.
Ok markee, i will.
@Plik, yes i have already made a script, caps and full stops, but that is completely different and a lot easier than something like this.
Then a harder script is a perfect next project because it will help you learn and improve ;)
Ok, i wil try myself next time, and if i am really struggling, i will ask for help.
RE: {request}Fake MSG box by MoonGoose on 10-24-2006 at 06:28 PM

Buy yourself an computer which your sister don't use...


RE: {request}Fake MSG box by Jimbo on 10-24-2006 at 06:35 PM

quote:
Originally posted by MoonGoose
Buy yourself an computer which your sister don't use...
lol i am soon, in the middle of november. and then i might 'accidently' leave all the scripts that limit her msn on the old comp