Shoutbox

[IDEA] PM Sender - 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: [IDEA] PM Sender (/showthread.php?tid=64727)

[IDEA] PM Sender by craig2k5 on 08-10-2006 at 01:32 AM

this is a private messenger sender sort of thing :P
say in a group conversation you typed /privatemessage
a window could appear with every1s email in a list box
then you can type the message in a text box and press send.. and it would then open the conversation send the text then possibly  close the newly open conversation straight away :D

Any1 think this is a good idea?


RE: [IDEA] PM Sender by RaceProUK on 08-10-2006 at 08:44 AM

Just make it :P I'm sure people will find it useful.


RE: [IDEA] PM Sender by problem-solver-wlm on 08-10-2006 at 12:36 PM

well isnt a im message no one else i gonna see them apart from the person ur speaking to


RE: [IDEA] PM Sender by craig2k5 on 08-10-2006 at 12:39 PM

yeah but i mean instead of having to go through your contact list looking for the person.. and also it so you can send it to people that dont have you on there list


RE: [IDEA] PM Sender by problem-solver-wlm on 08-10-2006 at 12:43 PM

well get contact look up


RE: [IDEA] PM Sender by lrac522 on 08-10-2006 at 01:39 PM

quote:
Originally posted by craig2k5
this is a private messenger sender sort of thing :P
say in a group conversation you typed /privatemessage
a window could appear with every1s email in a list box
then you can type the message in a text box and press send.. and it would then open the conversation send the text then possibly  close the newly open conversation straight away :D

Any1 think this is a good idea?
When I first saw this thread I totally misunderstood the purpose. I would love to see a script done that would allow you to send a PM to a contact in a conference chat. Would that be possible? Hi all.
[Image: banana_cool.gif]
RE: [IDEA] PM Sender by Oxy on 08-10-2006 at 01:46 PM

OOhhh thats what it means!:P like you i had no idea what he ment but now it makes sense!! and u could use it to send IM's to people you don't even have on their contact list!!!! great idea!!![Image: banana_confusion.gif][Image: banana_confusion.gif]


RE: [IDEA] PM Sender by problem-solver-wlm on 08-10-2006 at 02:20 PM

oooooooo cool idea accutall mate nice


RE: [IDEA] PM Sender by Spunky on 08-10-2006 at 04:52 PM

It would be nice if you could send the PM without anything visually happening for the user. I've got a feeling that any scripts for this would "flash" really quickly... =/ Doesn't matter if it does, just would be a nice thing to have.


RE: [IDEA] PM Sender by Touch on 08-10-2006 at 05:03 PM

Yeah, that would be cool!


RE: [IDEA] PM Sender by Chancer on 08-10-2006 at 07:40 PM

awesome! go ahead


RE: [IDEA] PM Sender by Spunky on 08-10-2006 at 07:41 PM

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?
RE: [IDEA] PM Sender by 4penguino on 08-11-2006 at 02:06 PM

i think he ment to people you dont have on your contact list and he ment pm's not im's


RE: [IDEA] PM Sender by Felu on 08-11-2006 at 02:10 PM

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.
RE: RE: [IDEA] PM Sender by Mike on 08-11-2006 at 02:28 PM

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
RE: [IDEA] PM Sender by leachy08 on 08-11-2006 at 02:44 PM

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.
RE: [IDEA] PM Sender by RaceProUK on 08-11-2006 at 03:26 PM

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?
RE: [IDEA] PM Sender by matty on 08-11-2006 at 04:01 PM

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.