// ==UserScript== // @name TWLeoTools // @namespace TomRobert // @author Leotas (updated by Tom Robert) // @description Useful tools for The West! // @include https://*.the-west.*/game.php* // @include https://*.the-west.*/index.php?page=logout // @version 1.27.2 // @grant none // @downloadURL none // ==/UserScript== // translation: Tom Robert(German & English), Darius II/Wojcieszy(Polish), pepe100(Spanish), ruud99(Dutch) if (location.href.indexOf('index.php?page=logout') != - 1) { location.href = '/'; } if (location.href.indexOf('game.php') != - 1) { (function (fn) { var script = document.createElement('script'); script.setAttribute('type', 'application/javascript'); script.textContent = '(' + fn.toString() + ')();'; document.body.appendChild(script); document.body.removeChild(script); }) (function () { TWLTstart = { version: '1.27.2', name: 'TWLeoTools', author: 'Leotas (updated by Tom Robert)', minGame: '2.04', maxGame: Game.version.toString(), website: 'https://greasyfork.org/scripts/7238', updateUrl: 'https://raw.githack.com/TomRobert/tw/master/sU.js', updateAd: 'http://adf.ly/1OMM8P', }; langs = { en_US: { language: 'None (English)', ApiGui1: 'This script contains many features to simplify your everyday life in The West: