[Script] Pickpocket Helper | Tools & Userscripts | TORN

[Script] Pickpocket Helper

​

    • Elaine [2047176]
    • Role: Civilian
    • Level: 100
    • Posts: 985
    • Karma: 503
    • Last Action: 3 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Thread created on 21:48:09 - 21/04/25 (1 year ago)
    |
    Last replied 15:09:04 - 26/01/26 (8 months ago)

    This Script helps you with the following:

     

    • Filters Targets: Adds a box to check/uncheck target types. Unchecked targets are dimmed and disabled. (Filters are saved).
    • Highlights Targets: Selected targets get a colored highlight (Green -> Orange -> Red) based on remaining time.
    • Audio Alerts: Plays a sound for selected targets when they appear. Requires enabling a master "Enable Audio" switch each session. Specific target alerts and a "6x Audio" option can be configured and are saved.

     

    This is how it looks like:

     

    fd08b490-c359-4c4d-9501-da6281eb4564-2047176.png

     

    Detailed explanation of how this script works:

     

    Main Goal:

    This script runs on the Torn City pickpocketing page and helps you more easily identify and manage the targets you want to pickpocket.

    Key Features:

    1. Target Filtering:

      • It adds a box labeled "Filter Targets" above the list of potential victims.
      • Inside this box, you can check or uncheck different types of targets (like 'Businessman', 'Jogger', 'Student', etc.).
      • Any target type you uncheck will appear greyed out and slightly faded in the main list, and their "Pickpocket" button will be disabled. This helps you ignore targets you're not interested in.
      • Your filter choices are automatically saved, so they'll be remembered the next time you visit the page.
      • This box can be collapsed by clicking its header to save space, and whether it's collapsed or expanded is also saved.
    2. Time-Based Highlighting:

      • Targets that match your filter selections (and aren't already gone) will be visually highlighted with a colored background and border.
      • The highlight color changes based on how much time is left for that target:
        • Green: More than 10 seconds remaining.
        • Orange-to-Red Gradient: 10 seconds or less remaining (getting redder as time runs out). This helps you quickly see which targets are about to disappear.
    3. Audio Alerts:

      • Master "Enable Audio" Box: A small box with a single checkbox labeled "Enable Audio" appears next to the filter box. You must check this box once per session if you want any sound alerts to work. This is needed because browsers block automatic sound otherwise. This setting is not saved and resets when you reload.
      • "Audio Alert" Box: This box lists only the target types you currently have checked in the "Filter Targets" box. You can check/uncheck specific targets here to decide which ones should trigger a sound alert. Your choices here are saved. This box is also collapsible.
      • "6x Audio" Box: Another small box with a checkbox labeled "6x Audio". If you check this (and master audio is enabled), the sound alert will play 6 times quickly instead of just once. This setting is saved.
      • How Sound Works: A sound alert will only play if ALL of these conditions are met:
        • The target appears on the list.
        • The target matches your selections in the "Filter Targets" box.
        • The target has its specific checkbox checked in the "Audio Alert" box.
        • The master "Enable Audio" checkbox is checked.
    4. Layout:

      • All the control boxes (Filter Targets, Audio Alert, Enable Audio, 6x Audio) appear in a row above the actual list of pickpocketing targets.
      • They are designed to fit side-by-side on most screens.

     

    UPDATE: Now only works if the pickpocketing window is focused. You actually have to view the page to get audio alerts now.

    Last edited by Elaine on 15:08:30 - 26/01/26 (8 months ago)
    • Theriddler42 [2294918]
    • Role: Civilian
    • Level: 85
    • Posts: 875
    • Karma: 2,062
    • Last Action: 1 hour
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 00:46:30 - 23/04/25 (1 year ago)
    Post link copied to clipboard Copy post link

    This is great! super intuitive controls and works perfectly. 



    • Apothe [3463955]
    • Role: Civilian
    • Level: 83
    • Posts: 347
    • Karma: 824
    • Last Action: 14 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 09:02:52 - 23/04/25 (1 year ago)
    Post link copied to clipboard Copy post link

    This was incredibly helpful!! Honestly I had so many crit fails before using this

     

    Is there any chance there's a shoplifting or burglary version?

    • Elip [2503469]
    • Role: Civilian
    • Level: 41
    • Posts: 32
    • Karma: 7
    • Last Action: 11 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 19:21:29 - 24/04/25 (1 year ago)
    Post link copied to clipboard Copy post link

    This is exactly what I was looking for! Thank you for the script. Making pickpocketing that much easier. 

    • Elaine [2047176]
    • Role: Civilian
    • Level: 100
    • Posts: 985
    • Karma: 503
    • Last Action: 3 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 13:59:52 - 12/06/25 (1 year ago)
    Post link copied to clipboard Copy post link

    up

    • Ceb [68232]
    • Role: Committee
    • Level: 100
    • Posts: 9,777
    • Karma: 8,919
    • Last Action: 3 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 00:04:32 - 13/06/25 (1 year ago)
    Post link copied to clipboard Copy post link

    Here's the English link:

    https://greasyfork.org/en/scripts/533555-torn-pickpocketing-target-filter 

     

     

    Looking forward to checking this out! I have a cobbled together version from an earlier script some hero posted and my own changes that Frankenstein'd it, and this looks like a cleaner version of that.

    • Sinkhan [253041]
    • Role: Civilian
    • Level: 100
    • Posts: 171
    • Karma: 53
    • Last Action: 6 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 14:20:45 - 04/01/26 (8 months ago)
    Post link copied to clipboard Copy post link

    Been using the this script for months and it's great. Just one bit of feedback. A lot of times after I pickpocket someone that has a short duration like a cyclist, the audio plays again even after I've pickpocked them. I think it might be worth adding an additional check when firing playAlertSound to check if the highlighted item has been picked or not.

    • Elaine [2047176]
    • Role: Civilian
    • Level: 100
    • Posts: 985
    • Karma: 503
    • Last Action: 3 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 15:09:04 - 26/01/26 (8 months ago)
    Post link copied to clipboard Copy post link

    UPDATE: Now only works if the pickpocketing window is focused. You actually have to view the page to get audio alerts now.

Reply
Thread Title: