Skip to content
TORNLIFE More

[userscript] Chat Pin & Archive

Started by Oarsprong [3494028] on in Tools & Userscripts.

2 replies · 42 views · thread synced · 3 days ago · View on torn.com
About this thread

Posts archived: 3 / 3 posts (100%) · the total is Torn's reply count + the opening post at the last fetch

Counted by TornLife from the archived posts.

Archived posts
3
Discussion span
→
People posting
2
Likes on archived posts
3
Authority score
34 / 100
Historical score
17 / 100
Story score
27 / 100
Engagement score
45 / 100
Oarsprong [3494028]

The other day I posted a suggestion called "Ideas for Chats (Pinning and Archiving)" in the Suggestions forum. After thinking about it a bit more, I decided to see if I could make it myself with a userscript, so I thought I'd share it here in case anyone else finds it useful.

 

Greasy Fork:
https://greasyfork.org/en/scripts/586077-torn-chat-pin-archive

 

If you didn't see the original suggestion, the idea was pretty simple. Wars, trades, and other temporary conversations can quickly flood your chat list, making it annoying to find the chats for players you actually talk to regularly without having to search for them.

 

This script adds two features:

  • Pin chats – Keep your most important conversations near the top of your chat list. Pinned chats are highlighted with a gold border/background to make them easy to spot.

  • Archive chats – Hide chats you don't currently need. If that player sends you a new message, the chat automatically reappears in the list.

 

How to use

  1. Open a private chat.

  2. Click the drop-down menu.

  3. Select Pin chat or Archive chat.

  4. Click the option again to remove the pin or unarchive the chat.

 

One thing to note is that Torn only loads the chats that are currently within the scroll window. Because of this, pinned chats that are outside of the currently loaded window won't move to the top until they become loaded again, either by you scrolling to them or because a new message brings them back into the current window.

 

If you find any bugs or have ideas for improvements, let me know. I'm happy to keep improving it if people find it useful.

Mentions: Ideas for Chats (Pinning and Archiving)

shaul [3908280]

Love it ! Would there be a way to add an auto-archive feature ? I don't know how low you'd be comfortable going but 48hours seems decent enough.

Oarsprong [3494028]

Thank you! I can add that, yes. I'll make it a setting so players can choose the duration instead of having it fixed at 48 hours.

 

I've also found a few small bugs and issues that I'll be fixing in a new update soon.

 

If you have any more ideas, let me know and I'll look into them.