Skip to content
TORNLIFE More

Recent Mug Warning!

Started by TwistdTomato [2538497] on in Tools & Userscripts.

0 replies · 149 views · thread synced · 4 days ago · View on torn.com
About this thread

Posts archived: 1 / 1 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
1
Discussion span
→
People posting
1
Likes on archived posts
0
Authority score
34 / 100
Historical score
13 / 100
Story score
22 / 100
Engagement score
41 / 100
TwistdTomato [2538497]

https://greasyfork.org/en/scripts/551838-torn-recent-mug-warning

 

Made on request for another player, unlikely to develop or change further unless by their request. 

 

Adds an unmissable red warning box, centre screen. 

The box tells you if you have mugged someone within the last 24hrs. 

 

[image: i.postimg.cc]

 

You can either dismiss the box and continue, or click "set MugTarget" which will stop the warning from displaying on that specific player profile again. 

 

Now features a settings screen, acessible via the Items page.

 

 

 

 

Currently featuring a bug I cant seem to squash, gives you the warning on your own profile

---ADD YOURSELF TO MUGTARGET LIST TO AVOID THIS--- 

 

 

 

 

 

API NOTICE

Will prompt you to input an API key on first load or until it has one.

I just used a limited one, unsure if the others work. 

TornPDA users will need to input their API by tapping the icon in the bottom right, it may be overlaying your messaging area, the button will disspear once you give it the API key. 

 

This script uses your API (which it stores locally, on your device) to check your recent attacks, identify those that you have mugged, and when the attack happened.

Then it presents that information via the warning box. 

 

This is my first time creating a script that utlises the API keys (and only my second script) so if I need to include any further information, please let me know. 

Cheers!