Jump to content


Photo

node steam-user status


  • Please log in to reply
4 replies to this topic

#1 Naleksuh

Naleksuh

    Newbie

  • Member
  • Pip
  • 6 posts

Posted 08 August 2019 - 11:20 PM

how can i check the status of my friends with node steam-user? it's not listed in documentation :(



#2 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 2,166 posts

Posted 09 August 2019 - 01:52 AM

Get your friends list from myFriends and check each of their statuses in users.



#3 Naleksuh

Naleksuh

    Newbie

  • Member
  • Pip
  • 6 posts

Posted 09 August 2019 - 01:54 AM

so there's no *event* for it? more specifically i'm trying to make something that sends me a message everytime one of the bot's freinds come online



#4 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 2,166 posts

Posted 09 August 2019 - 02:12 AM

The user event will be emitted anytime Steam sends a persona state notification, which happens automatically for all your friends whenever their states change, provided you're marked as online.



#5 Naleksuh

Naleksuh

    Newbie

  • Member
  • Pip
  • 6 posts

Posted 09 August 2019 - 03:07 AM

good there is an event for it, was probably bad of me to ask "how can i check".

 

and good to have multiple ways of doing something , you a step above sourcepawn






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users