User Control Panel
Advertisements

HELP US, HELP YOU!

Msn Buddy Status

 
Post new topic   Reply to topic    Bot Depot Forum Index -> MSN Protocol
View unanswered posts
Author Message
Mojave
Almost An Agent
Almost An Agent


Joined: 01 Nov 2003
Posts: 1434

Reputation: 66.4

PostPosted: Wed Nov 05, 2003 7:27 pm    Post subject: Reply with quote

I tried out the new MSN.pm (and the required SSL support) and it works great. The demo bot works fine. But I was wondering how you do the following things:

1) How can my bot "accept" a user that has added them to their buddy list? Do you know what I mean?

2) How can I get the buddy status of someone on my list? How can I be notified when a buddy signs on and off? I tried setting a "Status" handler, but that didn't work.

Thanks
Back to top
Keenie
Almost An Agent
Almost An Agent


Joined: 31 Oct 2003
Posts: 1071

Reputation: 52.4

PostPosted: Wed Nov 05, 2003 9:30 pm    Post subject: Reply with quote

when someone signs on whos on your list you recieve a NLN i believe, and if they sign of you recieve FLN both followed by some other paramaters (email ect..), Im not sure if the msn.pm has a handler for that at all..

For adding users, if your bot is online you recieve the ADD command, the msn.pm is set up to add them to your allow list (they can see you as online, and talk to you) but not your actual contact list (as the contact list has a limit of 150 people, allow list is unlimited), if your bots offline, the person might not be added, since the original msn.pm which was upgraded to work now never had a handler to add people, and wiredbots did a half assed job at adding one..
but to check if someone new added you, you have to look at the list command.. it should come in the format of
LST AL then some numbers, then the email
LST BL .......
LST RL .......
So to add new people you save the AL somewhere (allow list) and BL (block list) and then for each person in the RL (reverse list, people who have added you) you see if they are in either the AL or BL (which meens youve done something with them already) and if they arnt in either of those lists, it meens you havnt added them or blocked them, which meens you should add them to your allow list..

hope this gives you a better idea.. and sorry its long, just wanted to help clear things up (hopefully Smile)
Back to top
eric256
The Keymaker
The Keymaker


Joined: 03 May 2006
Posts: 2292
Location: Colorado
Reputation: 47Reputation: 47Reputation: 47Reputation: 47Reputation: 47

PostPosted: Wed Nov 05, 2003 9:34 pm    Post subject: Reply with quote

Thanks keenie, i had no idea where to look for people who had added me but i hadn't added yet. That will definitly be in the next version, looks like the next version is focusing on buddy/conversation handling. Smile
_________________
Eric256
Proud previous owner and current admin of Bot-depot.com
Back to top
Keenie
Almost An Agent
Almost An Agent


Joined: 31 Oct 2003
Posts: 1071

Reputation: 52.4

PostPosted: Thu Nov 06, 2003 2:18 am    Post subject: Reply with quote

np, im full of useful msn knoledge Smile

I'm really glad i decided to release the updated msn.pm, it even has gotten someone who hates msn developing msn stuff now Wink which im really glad to see B) im sure someone else would have released one if i didnt tho Razz
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> MSN Protocol All times are GMT
Page 1 of 1

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group