Jump to content
Sign in to follow this  
spyrorocks

MSN UDF

Recommended Posts

OK, after a few hours of work, i have came up with a MSN UDF. I searched the board and found someone was supossibly working on one, but it was never realesed yet.

MSN.au3

It is in its early stages and i plan to add more features.

It currently supports the following functions:

_msncreate()

_msngetname()

_msngetemailaddress()

_msnsetstate()

_msnlogoff()

_msngetstate()

_msnlogin()

_msnopenchatwindow()

_msnclosechatwindow()

_msnsendtext()

_msnwindowmembers()

_msngetchattext()

Im sorry, but the code isent documentated. Im just releasing it to see if there is any interest. If there is, i will documentate it. you should be able to figure it out.

To capture incomming text, use the following code:

#include<MSN.au3>
$msn = _msncreate()

while 1
sleep(100)
wend

Func _msn_OnTextReceived($IMSession, $IMUser, $MsgHeader, $MsgText, $Something)
if $msgtext = "hello" then
msgbox(0, "", "Someone said 'Hello' To you")
endif
if $msgtext = "logout" then
_msnlogoff($msn)
endif
EndFunc

So, what do you guys think?

Share this post


Link to post
Share on other sites

If you mean something to get the authencation cookie for a user's Live ID, password and challenge string from the Nexus, yes, that is possible. I believe it's in the _msncreate() function.

(I have not looked at the source code yet)

#)

Share this post


Link to post
Share on other sites

Same here...


--------------------------------------------------------------------------------------------------------------------------------Scripts : _Encrypt UDF_UniquePCCode UDF MS like calculatorInstall programm *UPDATED* --------------------------------------------------------------------------------------------------------------------------------[quote name='Helge' post='213117' date='Jul 26 2006, 10:22 AM']Have you ever tried surfing the internet with a milk-carton ?This is similar to what you're trying to do.[/quote]

Share this post


Link to post
Share on other sites

I'll attempt ripping apart spyrorocks' source code to identify the problem.

I started on something similar but still have not bothered to finish it... Another project was more attractive. :D

#)

Share this post


Link to post
Share on other sites

I get this error with some of the functions...

C:\Program Files\AutoIt3\Include\MSN.au3 (69) : ==> Subscript used with non-Array variable.:

if not IsObj($object[1]) then return 0

if not IsObj($object^ ERROR

How can I fix this?

Share this post


Link to post
Share on other sites

I get this error with some of the functions...

C:\Program Files\AutoIt3\Include\MSN.au3 (69) : ==> Subscript used with non-Array variable.:

if not IsObj($object[1]) then return 0

if not IsObj($object^ ERROR

How can I fix this?

You use AutoIT BETA?


Console Browse: Navigate on the WEB in a textual consoleMultiPing!: Show computer on the lan and/or show the local/remote task, ALL animated!KillaWin: Event executingCryptPage: Crypt your webpage and show only with key

Share this post


Link to post
Share on other sites

#include <MSN.au3>
$msn = _msncreate()

while 1
sleep(100)
wend

Func _msn_OnTextReceived($IMSession, $IMUser, $MsgHeader, $MsgText, $Something)
MsgBox (0, "", "IMSession: "&$IMSession&@CRLF&"IMUser: "&$IMUser&@CRLF&"MsgHeader: "&$MsgHeader&@CRLF&"MsgText: "&$MsgText&@CRLF&"Something: "&$Something)
EndFunc

IMSession and IMUser both just come up as squares. I don't care about IMSession, but I need to see who it is sending me the message. Can I do that?

edit: nvm, i got it.

Edited by theguy0000

The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...