Jump to content
McKay Development

cob

Member
  • Posts

    3
  • Joined

  • Last visited

cob's Achievements

  1. That was a mistake.This is my current code: friends.on("friendMsg", function(user, msg, type, details){ if(type == Steam.EChatEntryType.ChatMsg){ if(msg == "invite"){ function getSteamLevels(steamids, callback){ getSteamLevels("config.steamid", results) if(results = 11){ client.inviteToGroup(user, "config.groupid") console.log("done"); } } } }}); Nevermind!Everything is good now.
  2. friends.on("friendMsg", function(user, msg, type, details){ if(type == Steam.EChatEntryType.ChatMsg){ if(msg == "invite"){ client.on("getSteamLevels", function(user, callback){ client.getSteamLevels(user, callback) callback(results); if(results >= 10){ client.inviteUserToGroup(user, "steamgroupidhere") } }); } } }); Thats my code.Whats wrong it with?
  3. Basicly the tittle says it all.Would it be possible to add this?If yes could the developer please add this? Thanks.
×
×
  • Create New...