{request}Fake MSG box |
Author: |
Message: |
Jimbo
Veteran Member
Posts: 1650 Reputation: 18
32 / /
Joined: Jul 2006
|
O.P. {request}Fake MSG box
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
|
|
10-23-2006 06:43 PM |
|
|
Spunky
Former Super Mod
Posts: 3658 Reputation: 61
36 / /
Joined: Aug 2006
|
RE: {request}Fake MSG box
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
<Eljay> "Problems encountered: shit blew up"
|
|
10-23-2006 06:56 PM |
|
|
Jimbo
Veteran Member
Posts: 1650 Reputation: 18
32 / /
Joined: Jul 2006
|
O.P. RE: {request}Fake MSG box
cool thanks
very fast reply.
[offtopic]
howz msn block countdown going?
[/offtopic]
This post was edited on 10-23-2006 at 06:58 PM by Jimbo.
|
|
10-23-2006 06:57 PM |
|
|
Plik
Veteran Member
Posts: 1489 Reputation: 46
35 / / –
Joined: Jun 2004
|
RE: {request}Fake MSG box
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 .
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
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
This post was edited on 10-23-2006 at 07:13 PM by Plik.
|
|
10-23-2006 07:10 PM |
|
|
Spunky
Former Super Mod
Posts: 3658 Reputation: 61
36 / /
Joined: Aug 2006
|
RE: {request}Fake MSG box
quote: Originally posted by MicroWay
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.
<Eljay> "Problems encountered: shit blew up"
|
|
10-23-2006 09:04 PM |
|
|
CookieRevised
Elite Member
Posts: 15517 Reputation: 173
– / /
Joined: Jul 2003
Status: Away
|
RE: {request}Fake MSG box
quote: Originally posted by MicroWay
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...
This post was edited on 10-23-2006 at 09:08 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
|
|
10-23-2006 09:06 PM |
|
|
jmccarroll
Full Member
Posts: 141
40 / / –
Joined: Jun 2003
|
RE: {request}Fake MSG box
JimboDude, for the sake of all the scripters here, create your sister an account and change the password on yours. Seems easy enough, huh?
|
|
10-23-2006 11:19 PM |
|
|
MicroWay
Senior Member
Do you want me? Try to get me!
Posts: 571 Reputation: 16
37 / /
Joined: Jul 2006
Status: Away
|
RE: {request}Fake MSG box
Ohhh... now I understand!!!
heheheheheh....
|
|
10-24-2006 01:10 AM |
|
|
markee
Veteran Member
Posts: 1622 Reputation: 50
36 / /
Joined: Jan 2006
|
RE: {request}Fake MSG box
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.
|
|
10-24-2006 03:20 AM |
|
|
Jimbo
Veteran Member
Posts: 1650 Reputation: 18
32 / /
Joined: Jul 2006
|
O.P. RE: {request}Fake MSG box
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.
|
|
10-24-2006 11:04 AM |
|
|
Pages: (2):
« First
[ 1 ]
2
»
Last »
|
|