What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Tryin to do i simple script but failing. Need some help

Pages: (3): « First [ 1 ] 2 3 » Last »
Tryin to do i simple script but failing. Need some help
Author: Message:
Zeh
Full Member
***

Avatar
DC 4 EVER!

Posts: 136
Reputation: 1
35 / Male / –
Joined: Aug 2006
O.P. Sad  Tryin to do i simple script but failing. Need some help
Ok so I've been trying to do a script that should be easy and just a few strings of code. I want a script that when you recieve a nudge from a contact it sends a nudge back at the contact. I've been trying but I can't seem to get it right! Can someone post the code for that here please?
[Image: Zeh.png][Image: x copy.jpg]
| Windows Live Messenger Beta Tester | Windows Live Mail Beta Tester |
08-26-2006 06:14 PM
Profile E-Mail PM Find Quote Report
Squelettor
Junior Member
**

Avatar

Posts: 49
Joined: Jul 2006
RE: Tryin to do i simple script but failing. Need some help
quote:
[string] OnEvent_ChatWndReceiveMessage(
    [object] ChatWnd,
    [string] Origin,
    [string] Message,
    [enum] MessageKind
);

quote:
MessageKind
[enum] Number specifying the kind of message received. It can be one of the following identifiers:

0 - Unknown.
1 - Text message typed by the user.
2 - A wink being sent.
3 - A voice clip being sent.
4 - A search made with the "Search" button.
5 - The result of a search made with the "Search" button.
6 - A text message sent while the current user was offline.


No nudge...You can't make this easy....
08-26-2006 06:22 PM
Profile PM Find Quote Report
Zeh
Full Member
***

Avatar
DC 4 EVER!

Posts: 136
Reputation: 1
35 / Male / –
Joined: Aug 2006
O.P. RE: Tryin to do i simple script but failing. Need some help
And is it too hard to do?
[Image: Zeh.png][Image: x copy.jpg]
| Windows Live Messenger Beta Tester | Windows Live Mail Beta Tester |
08-26-2006 06:27 PM
Profile E-Mail PM Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: Tryin to do i simple script but failing. Need some help
Maybe you can use that sniffer script made and sniff for this:

Xniff: http://shoutbox.menthix.net/showthre...

quote:
Originally posted by afelipE_scripts
sniffer:  detect nudge:

MSG 115 N 69
MIME-Version: 1.0
Content-Type: text/x-msnmsgr-datacast

ID: 1

This post was edited on 08-26-2006 at 10:01 PM by Ezra.
[Image: 1-0.png]
             
08-26-2006 09:55 PM
Profile PM Web Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
35 / Male / Flag
Joined: Aug 2006
RE: Tryin to do i simple script but failing. Need some help
Hmm... When you're sent a nudge, it displays a message in the chat window... Is there no way to detect that or detect if a message came from neither you or any other contacts in the chat (meaning it must be from WLM)?
<Eljay> "Problems encountered: shit blew up" :zippy:
08-26-2006 10:19 PM
Profile PM Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: Tryin to do i simple script but failing. Need some help
quote:
Originally posted by SpunkyLoveMuff
Hmm... When you're sent a nudge, it displays a message in the chat window... Is there no way to detect that or detect if a message came from neither you or any other contacts in the chat (meaning it must be from WLM)?

No when you receive a nudge OnEvent_ChatWndReceiveMessage isn't called.

Try the sniffing I suggested ;-)
[Image: 1-0.png]
             
08-26-2006 10:22 PM
Profile PM Web Find Quote Report
Zeh
Full Member
***

Avatar
DC 4 EVER!

Posts: 136
Reputation: 1
35 / Male / –
Joined: Aug 2006
O.P. RE: Tryin to do i simple script but failing. Need some help
ok so anyone that understands how that sniffing thing work could make the script i was talking about?
[Image: Zeh.png][Image: x copy.jpg]
| Windows Live Messenger Beta Tester | Windows Live Mail Beta Tester |
08-27-2006 07:30 PM
Profile E-Mail PM Find Quote Report
riahc4
Veteran Member
*****


Posts: 1073
Reputation: -18
– / Male / Flag
Joined: Aug 2004
Status: Away
RE: Tryin to do i simple script but failing. Need some help
quote:
Originally posted by Zeh
ok so anyone that understands how that sniffing thing work could make the script i was talking about?
Well there is a Answering Machine script

When a " /nudge " is recieve, send a " /nudge " .
08-27-2006 11:11 PM
Profile PM Find Quote Report
Zeh
Full Member
***

Avatar
DC 4 EVER!

Posts: 136
Reputation: 1
35 / Male / –
Joined: Aug 2006
O.P. RE: Tryin to do i simple script but failing. Need some help
I don't know if messenger recognizes a nudge has /nudge. I think it's only a writen shortcut...
[Image: Zeh.png][Image: x copy.jpg]
| Windows Live Messenger Beta Tester | Windows Live Mail Beta Tester |
08-27-2006 11:13 PM
Profile E-Mail PM Find Quote Report
Jesus
Scripting Contest Winner
****

Avatar
Koffie, my cat ;)

Posts: 623
Reputation: 15
37 / Male / Flag
Joined: Jul 2005
RE: Tryin to do i simple script but failing. Need some help
if messenger recognised a nudge as "/nudge", it would also show up like that in OnEvent_ChatWndReceiveMessage, and the script would be easy, but unfortunately it doesn't.
08-28-2006 12:50 AM
Profile PM Find Quote Report
Pages: (3): « First [ 1 ] 2 3 » 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