/TSC-Companion

The helper script for Torn Spies Central

Primary LanguageTypeScriptMIT LicenseMIT

TSC Helper Script

forthebadge forthebadge

Browser script is compatible with Tampermonkey, Greasemonkey and other similar extensions that adds Torn Attack Central-style stat estimates straight to the user's profile page.

Table of Contents

Installation
Usage
Links
API

Installation

  • Join the Discord server and follow the instructions in #how-to: Clicky
  • Install the Tampermonkey extension (or any userscript manager of your choice) for your browser: Clicky
  • Click here to install the script: Clicky.
  • A new tab will open with the script's source code which should look something like this: Clicky
  • Click the Install button on the mid-top-right corner of the page that is highlighted in the previous screenshot. The script will be installed and automatically updated when a new version is released.
  • Upon opening any profile page, you will be prompted to give access to the script to fetch data from our API. Click Always allow domain like so: Clicky
  • After that, you will also be asked for your API key. Please use the same API key you used while signing up for TSC on Discord and input it in the field shown on the top of your screen.
  • You can find your API keys here: Clicky

Usage

Now, whenever you go to a user's page, a small table should pop up under their buttons that looks something like this:

Stat Interval:
Stat Interval Only

Stat Estimate:
Stat Estimate Only

Links

Below are some links to various places where you can find more information about the script, get support for it, propose improvements or simply chat with the developer:

  1. Forum Link
  2. Discord Link
  3. Script Link

API

As of now, the API is not public and any attempts will result in you getting permanently banned from using the script. If you wish to use the API, please contact me on Discord at @mavri.dev or in the TSC Discord and we can discuss it further.