SHARE
TWEET

Untitled

a guest Feb 27th, 2020 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. javascript:var win=(window.main||self),$=win.$;var coords=[];var outputID='villageList';var encodeID='cbBBEncode';var isEncoded=true;function fnRefresh(){$('#'+outputID).val(coords.map(function(e){return isEncoded?''+e+'':e;}).join(isEncoded?'\n':' '));}$(win.document).ready(function(){if($('#'+outputID).length<=0){if(win.game_data.screen=='map'){var srcHTML= '<div id="coord_picker">'+ '<span style="color:blue;text-decoration:underline;">dalesmckay\'s co-ordinate picker v7.3:</span><br/><br/>'+ '<input type="checkbox" id="cbBBEncode" onClick="isEncoded=this.checked;fnRefresh();"'+(isEncoded?'checked':'')+'/>BB-Codes<br/>'+'<textarea id="'+outputID+'" cols="40" rows="10" value="" onFocus="this.select();"/>'+'</div>';ele=$('body').append($(srcHTML));win.TWMap.map._handleClick=function(e){var pos=this.coordByEvent(e);var coord=pos.join('|');var ii=coords.indexOf(coord);if(ii>=0){coords.splice(ii,1);}else{coords.push(coord);}fnRefresh();return false;};}else{alert('Run this script from the Map.\nRedirecting now...');self.location=win.game_data.link_base_pure.replace(/screen\=\w*/i,'screen=map');}}});void(0);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top