// ==UserScript== // @name Tundra Advanced Example // @version 1.4 // @description Advanced UserScript Example for Tundea // @author Goodra // @match http://*.moomoo.io/* // @match https://*.moomoo.io/* // @grant none // @namespace https://greasyfork.org/users/216897 // @downloadURL https://update.greasyfork.icu/scripts/372905/Tundra%20Advanced%20Example.user.js // @updateURL https://update.greasyfork.icu/scripts/372905/Tundra%20Advanced%20Example.meta.js // ==/UserScript== //TO RUN THIS SCRIPT YOU MUST HAVE TUNDRA INSTALLED //YOU CAN GET TUNDRA FROM https://discord.gg/NdQzvtE //I made this really fast. It probably has bugs and can be improved. This is just an example its not perfect (function() { 'use strict'; setTimeout(function(){ var ret = !1; if(typeof(Storage) == "undefined")return console.error('There was an unexpected issue loading Tundra Advanced Example'); //if no storage returns an error console.log('Tundra advanced example loaded'); var p = { ver: 1, //version number qSpike: {//mods a: !1,//a is my enable/disable varable. if you change this here change it everywhere else desc: 'Click "v" to place 4 spikes' }, aChat: { a: !1, desc: 'Automaticly chats' } }; var itemCount = $('.settingsItem').length;//amount of default tundra mods var pKeys = Object.keys(p);//names of mods pKeys.shift();//delets version from the names list window.itemCount = itemCount; if(localStorage.advancedExample){//tests if you have this mod localStorage.advancedExample.ver