BlackBeltPanda

tpa

Jul 17th, 2014
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. Command /tpa <player>:
  2. Description: Request a teleport to a player
  3. Usage: /tpa <player>
  4. Executable by: players
  5. Permission: essentials.tpa
  6. Trigger:
  7. If {vanish.%player-argument%} is "true":
  8. Send "<red>There is no player online whose name starts with '%player-argument%'" to player
  9. Send "<white>Correct usage: /tpa <player>" to player
  10. Stop
  11. Send "<light green>Requesting teleport to %player-argument%." to player
  12. Send "<gold>%player% would like to teleport to your location. Type /tpaccept to accept the request." to player-argument
  13. Set {tpafrom::%player-argument%} to player
  14. Set {tpato::%player-argument%} to player-argument
  15. Set {tpatime::%player-argument%} to now
  16. Add 30 minutes to {tpatime::%player-argument%}
Advertisement
Add Comment
Please, Sign In to add comment