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.
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 )
Joined: 03 May 2006 Posts: 2292 Location: Colorado
Posted: Wed Nov 05, 2003 9:34 pm Post subject:
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. _________________ Eric256
Proud previous owner and current admin of Bot-depot.com
I'm really glad i decided to release the updated msn.pm, it even has gotten someone who hates msn developing msn stuff now which im really glad to see B) im sure someone else would have released one if i didnt tho