on rightclick on sign:
if line 2 is "&3&lRandomTP":
set {RandomTP.server} to a random integer between 1 and 10
if {RandomTP.server is 1:
teleport player to {random.teleport.location.1}
if {RandomTP.server} is 2:
teleport player to {random.teleport.location.2}
if {RandomTP.server} is 3:
teleport player to {random.teleport.location.3}
if {RandomTP.server} is 4:
teleport player to {random.teleport.location.4}
if {RandomTP.server} is 5:
teleport player to {random.teleport.location.5}
if {RandomTP.server} is 6:
teleport player to {random.teleport.location.6}
if {RandomTP.server} is 7:
teleport player to {random.teleport.location.7}
if {RandomTP.server} is 8:
teleport player to {random.teleport.location.8}
if {RandomTP.server} is 9:
teleport player to {random.teleport.location.9}
if {RandomTP.server} is 10:
teleport player to {random.teleport.location.10}
command /setrtp1:
permission: *
trigger:
set {random.teleport.location.1} to location of player
command /setrtp2:
permission: *
trigger:
set {random.teleport.location.2} to location of player
command /setrtp3:
permission: *
trigger:
set {random.teleport.location.3} to location of player
command /setrtp4:
permission: *
trigger:
set {random.teleport.location.4} to location of player
command /setrtp5:
permission: *
trigger:
set {random.teleport.location.5} to location of player
command /setrtp6:
permission: *
trigger:
set {random.teleport.location.6} to location of player
command /setrtp7:
permission: *
trigger:
set {random.teleport.location.7} to location of player
command /setrtp8:
permission: *
trigger:
set {random.teleport.location.8} to location of player
command /setrtp9:
permission: *
trigger:
set {random.teleport.location.9} to location of player
command /setrtp10:
permission: *
trigger:
set {random.teleport.location.10} to location of player
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}