on click:
if name of player's held item is "&7Magical Compass":
set {player} to position of event-block
send "%{player}%" to player
on right click:
if name of player's held item is "&7Magical Compass":
send "%{player}%" to player
teleport the player to {player}
command /mc:
trigger:
give a compass named "&7Magical Compass" to player
This was a learning experience for me, im not the best at skript so i had to research to find answers