cob
-
Posts
3 -
Joined
-
Last visited
Posts posted by cob
-
-
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?
-
Basicly the tittle says it all.Would it be possible to add this?If yes could the developer please add this?Thanks.
I want my bot to check the user level and then invite him to a group if he is over level 10 but my code doest seem to work
in node-steam-user
Posted · Edited by cob
That was a mistake.This is my current code: