Greasy Fork

Lostworld.io Extra Controls

Type the commands in the Info tab in the Lostworld.io chat for results.

目前为 2021-03-27 提交的版本。查看 最新版本

// ==UserScript==
// @name         Lostworld.io Extra Controls
// @namespace    http://tampermonkey.net/
// @version      0.5
// @description  Type the commands in the Info tab in the Lostworld.io chat for results.
// @author       Deadly Dotio
// @match        http://*lostworld.io/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        none
// ==/UserScript==

(function() {
    "use strict"
var img = new Image();
img.src = 'path/to/image.jpg';
var holder = document.getElementById('holder');
holder.appendChild(img);
})();
 
function addImg()
{
   var maker = document.getElementById('maker');
    var image = document.createElement('img');
    image.src = '/image/path/with/extension.jpg';
    maker.appendChild(image);
}

(function() {
    "use strict";
    alert("Check the Info Tab on Greasy Fork for the simple commands. Here is the special command: /bg ../entity/dragon, you can add basically anything you want at the end. It could be cow, wolfie, spike, etc...");
})();