Teleport Script to Player

Try pressing Control + O to open Teleport Menu. Working on Http and Https

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==UserScript==
// @name         Teleport Script to  Player
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Try pressing Control + O to open Teleport Menu. Working on Http and Https
// @author       DragonFrostIce, Togekiss(or just King Tortle)
// @match        *://manyland.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=manyland.com
// @grant        none
// @license MIT
// ==/UserScript==

async function main() {
    await $.getScript("https://cdn.jsdelivr.net/gh/parseml/many-deobf@latest/deobf.js");

    ig.game.alertDialog.open(`
    <style>
    body {
        margin-top: 0px;
    }
    </style>
    <b>Manyland Documentation Example</b>
    <p class="miftThankYouMessage">Enter a player's name to teleport to: </p>
    <input type="text" id="pName"></input>
    `,
    true,
    () => {
        playerName = document.getElementById("pName").value
        updatePlayers();
        let player = ig.game.players.filter(p => p.screenName == playerName);
        ig.game.player.pos = player[0].pos;
    },
    "Tele", null, null, null, null, null, null, null, true);
}
setInterval(()=>{if(ig.input.state("ctrl")&&ig.input.state("o")&&!ig.game.alertDialog.isOpen){main()}}, 0)