Teleport Script to Player

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

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 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)