Joined: 05 Apr 2004 Posts: 290 Location: Bookham, Surrey, UK
Posted: Mon Apr 11, 2005 1:26 pm Post subject:
i no there is a way to check to see if a use is online, but i was wondering if there is way for a perl program to check a user name for a status, and if the status is set to away, busy, offline, then do something...
i know how to do the last bit but, i want to know how to check the status and add the result to to a variabul.. can any one help. i dont want you to just give me the code,cos i am trying to move away from ny noobie status, but if you could sergest ways, and give hits, tnks..
you can create a bot that every now and again opens a convo with the user of your choice, grab their status and take it from there. People that have the option "Only people in my allow list can see my status and send me messages" checked will allways appear as offline though, making this method unstable.
Joined: 05 Apr 2004 Posts: 290 Location: Bookham, Surrey, UK
Posted: Mon Apr 11, 2005 4:06 pm Post subject:
well i only need it for one person, i need a program to open when there msn signs off, or they set to Busy..... can i have something outside of bot checking status, or would i have to have a bot built in the always cheks status.. and then takes over when they are offline?
if it is just for one person. you can make a vb plugin for msn that could run in the background, and run a certain program when the user either changes status to a certain one (dont ask me how to do this, i dont know much vb), if the user types a certain message (like in plus) or presses a button (less code)
cool, but i was more after way to ask the msn server for a status or someone? dose anyone know of any? [right][snapback]47654[/snapback][/right]
The reason that MSN status indicators aren't full proof is because people can set "Only allow people on my contact list to see my status", so bots (which are used primarily in these status indicators) try and call users to see whether or not they're online. If the user's MSN is saying "You can't contact me, you're not on my list" then the bot will always get a "User is offline" type of message.
And that applies to everything. If a user doesn't allow off-list users to see their status, you can't see if they're online. You also can't see if they're away, busy, idle, etc. they'll always appear offline because they don't allow the status bots to contact them.
So if the one user you're trying to get info from either has the "bot" on their list or allows the bot to see their status, you can do it. But other than that, you'll have the same problem you'd get trying to just do an online/offline indicator.
Also, if you're using this to make an away bot that will take over your name and chat with your buds while you're away.... then just be careful. A lot of us botmasters don't enjoy bots talking to eachother, and I for example will permanently ban people who *used to be* human but are talking to my bots as bots themselves. _________________ Current Site (2008) http://www.cuvou.com/
That will print out all the keys and their values in $info, so you'll see what they are. If it prints nothing, then $info isn't being given a value correctly. _________________ Current Site (2008) http://www.cuvou.com/