Jump to content


Photo
Question

can someone help me to finish a bot ?

node.js node-steamcommunity

  • Please log in to reply
1 reply to this topic

#1 agasking

agasking

    Newbie

  • Member
  • Pip
  • 2 posts

Posted 28 August 2018 - 08:51 AM

firstClient.on("friendMessage", function(steamID, message) {
  if (message == "!comment") {
    firstClient.chatMessage(steamID, "ok i comment you profile !")
    firstCommunity.postUserComment(steamID, "+REP"))
    nr2Community.postUserComment(steamID, "+rep ")
  }
});
 
 
does anyone know how I can make both boots respond to the command when one of them gets the command?


#2 Royalgamer06

Royalgamer06

    Advanced Member

  • Member
  • PipPipPip
  • 87 posts

Posted 30 August 2018 - 05:01 PM

Just keep track on which profile you already left a comment on, if you want to avoid doing it more than once.







Also tagged with one or more of these keywords: Question, node.js, node-steamcommunity

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users