sweetgum83/scripts/map/onUserEnter/540010100.js
2024-01-19 03:56:28 -05:00

12 lines
284 B
JavaScript

var eventName = "AirPlane";
var toMap = 540010101;
function start(ms) {
var em = ms.getClient().getEventManager(eventName);
//is the player late to start the travel?
if (em.getProperty("docked") == "false") {
ms.getClient().getPlayer().warpAhead(toMap);
}
}