What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [IDEA] PM Sender

Pages: (2): « First « 1 [ 2 ] Last »
[IDEA] PM Sender
Author: Message:
Chancer
Senior Member
****

Avatar

Posts: 648
Reputation: 7
34 / Male / Flag
Joined: May 2005
Status: Away
RE: [IDEA] PM Sender
awesome! go ahead
08-10-2006 07:40 PM
Profile E-Mail PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
35 / Male / Flag
Joined: Aug 2006
RE: [IDEA] PM Sender
quote:
Originally posted by luke-fish
u could use it to send IM's to people you don't even have on their contact list!!!!

I don't think it's possible to EVER do that is it?
<Eljay> "Problems encountered: shit blew up" :zippy:
08-10-2006 07:41 PM
Profile PM Find Quote Report
4penguino
Banned


Posts: 85
Reputation: -13
Joined: Jul 2006
RE: [IDEA] PM Sender
i think he ment to people you dont have on your contact list and he ment pm's not im's
08-11-2006 02:06 PM
Profile E-Mail PM Find Quote Report
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
29 / Male / Flag
Joined: Apr 2006
Status: Away
RE: [IDEA] PM Sender
quote:
Originally posted by 4penguino
i think he ment to people you dont have on your contact list.
Not possible [Image: dodgy.gif]. I think SpunkyLoveMuff got it right.
quote:
Originally posted by 4penguino
he ment pm's not im's
Well in this script the PM is nothing but in IM [Image: xso_undecided.gif].



You :spam: a lot. Please dont.

This post was edited on 08-11-2006 at 02:11 PM by Felu.
08-11-2006 02:10 PM
Profile E-Mail PM Web Find Quote Report
Mike
Elite Member
*****

Avatar
Meet the Spam Family!

Posts: 2795
Reputation: 48
31 / Male / Flag
Joined: Mar 2003
Status: Online
RE: RE: [IDEA] PM Sender
quote:
Originally posted by SpunkyLoveMuff
quote:
Originally posted by luke-fish
u could use it to send IM's to people you don't even have on their contact list!!!!

I don't think it's possible to EVER do that is it?

Ummm ... it is possible...
Actions -> Send an instant message -> Other
YouTube closed-captions ripper (also allows you to download videos!)
08-11-2006 02:28 PM
Profile E-Mail PM Web Find Quote Report
leachy08
Junior Member
**


Posts: 35
Joined: Jul 2006
RE: [IDEA] PM Sender
I believe it is very simple

code:
function OnEvent_ChatWndSendMessage (ChatWnd, Message) {
    Msg = Message.split(" ")
    if (Msg[0] == "/sendpm") {
        if (Msg[1].length != 0 && Msg[2].length != 0) {
            Messenger.OpenChat(Msg[1]);
            var Windows = Messenger.CurrentChats;
            for(e = new Enumerator(Windows); !e.atEnd(); e.moveNext()) {
                var ChatWindow = e.item().Contacts;
                if (ChatWindow.Contacts.Count == 1) {
                    for(f = new Enumerator(ChatWindow.Contacts); !f.atEnd(); f.moveNext()) {
                        var Contact = f.item();
                        if (Contact.Email == Msg[1]) {
                            for (i=2; i < Msg.length; i++) {
                                MessageToSend = MessageToSend + Msg[i];
                            }
                            e.item().SendMessage(MessageToSend);
                        }
                    }
                }
            }
        }
    }
}

I believe this is probally broke somewhere but its on the write lines. I will fix it when i get time prob 2nite. I will also look into writing some sort of window where you can select a contact in the the current chat and send him a message with a more user friendly mannor.

Edit:
Sorry for the format. I did tab it of course but the post format has taken it out.

This post was edited on 08-11-2006 at 02:44 PM by leachy08.
08-11-2006 02:44 PM
Profile E-Mail PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: [IDEA] PM Sender
quote:
Originally posted by leachy08
Sorry for the format. I did tab it of course but the post format has taken it out.
* RaceProUK clicks the 'jscript' option on -dt-'s GreaseMonkey Syntax Highlighter script
Ahh, blue keywords...

Edit: That convo checking's a bit involved isn't it? Doesn't Messenger.OpenChat() return the window into a var?

This post was edited on 08-11-2006 at 03:28 PM by RaceProUK.
[Image: spartaafk.png]
08-11-2006 03:26 PM
Profile PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [IDEA] PM Sender
quote:
Originally posted by RaceProUK
Edit: That convo checking's a bit involved isn't it? Doesn't Messenger.OpenChat() return the window into a var?
That it does. I have this code in ss4 when trying to use a send command in a convo with multiple people.
08-11-2006 04:01 PM
Profile E-Mail PM Find Quote Report
Pages: (2): « First « 1 [ 2 ] Last »
« 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