3D OWOT script

From Our World of Text Wiki
(Redirected from 3D OWoT script)
Jump to navigation Jump to search
menu.addEntry("<input id='3d' type='range' min='-10' max='10'></input>");
document.getElementById("3d").style.width = "100%";
document.getElementById("3d").onchange = function () {
	let z = Number(document.getElementById("3d").value);
	if (z) {
		w.chat.send("/warp " + "dimension3dz" + z);
	} else {
		w.chat.send("/warp");
	}
};


/* [[Category:Scripts]] */