12 lines
282 B
JavaScript
12 lines
282 B
JavaScript
var eventName = "Subway";
|
|
var toMap = 600010005;
|
|
|
|
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);
|
|
}
|
|
}
|