SpiTik Posted April 11, 2018 Report Posted April 11, 2018 How to create script for auto remove friend after week :/ Thanks Quote
TomYoki Posted April 11, 2018 Report Posted April 11, 2018 You could create an object which holds SteamID64 -> Current time + 604800000 // 604800000 Being 1 week in ms Then just iterate the object every few hours to see if current time is >= than specified time, if so - remove the user. Quote
Revadike Posted May 9, 2018 Report Posted May 9, 2018 (edited) I'd simply just use `setTimeout` for removing a friend after a week. But that assumes your script/bot keeps running. You can also use the API endpoint https://api.steampowered.com/ISteamUser/GetFriendList/v1/ and remove friends based on `friend_since` property. Edited May 9, 2018 by Royalgamer06 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.