
roughnecks
-
Posts
70 -
Joined
-
Last visited
Reputation Activity
-
roughnecks reacted to Dr. McKay in Getting highlights in Group CHAT
As far as I'm aware, that's the only bbcode that works in chat. Everything else is a /command or an :emoji:.
-
roughnecks reacted to Dr. McKay in How to add only 1 item type to offer
You are still getting an array. tags: [ [Object], [Object], [Object], [Object] ] is just how console.log represents an array containing 4 objects.
-
roughnecks reacted to Dr. McKay in How to add only 1 item type to offer
CEconItem has a getTag method. Filter your inventory to only items with the tag you're looking for.
-
roughnecks reacted to Dr. McKay in EconItems: distinguish between Trading Card, Booster, Gems, Emote and Background
That looks correct enough, though you should probably also check the tag's category.
-
roughnecks reacted to Dr. McKay in Adding a small delay
I really don't mind necroing on this forum.
You definitely need to put the confirmation acceptance inside the callback to accept, but within that callback it's not a bad idea to add a short delay. Use setTimeout for this.
-
roughnecks reacted to PonyExpress in Accept friend request sent in offline
client.on("webSession", (sessionID, cookies) => {
for (let i = 0; i < Object.keys(client.myFriends).length; i++) {
if (client.myFriends[Object.keys(client.myFriends)[i]] == 2) {
client.addFriend(Object.keys(client.myFriends)[i]);
}
}
});
-
roughnecks got a reaction from Dr. McKay in Bot's Account User Data
Thanks, I searched but didn't find it by myself.