PandaTxT

Untitled

Apr 18th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.71 KB | None | 0 0
  1. command /tp [<text>] [<text>] [<text>]:
  2. permission: mineplex.mod
  3. permission message: &7Coeback &0» &7This requires Permission Rank &6&lMOD.
  4. trigger:
  5. if arg-1 is not set:
  6. send "&9Teleport> &7Commands List:"
  7. send "&6/tp <target> &7Teleport to Player &6Mod"
  8. send "&4/tp here <player> &7Teleports Player to Self &4lAdmin"
  9. send "&4/tp <player> <target> &7Teleports Player to Player &4lAdmin"
  10. send "&4/tp all &7Teleports All to Self &4&lADMIN"
  11. else:
  12. if arg-2 is not set:
  13. if arg-1 is set:
  14. if arg-1 is not "all":
  15. if arg-1 is not "here":
  16. if arg-1 parsed as player is online:
  17. teleport player to arg-1 parsed as player's location
  18. set {_t} to arg-1 parsed as player
  19. send "&9Teleport &0» &7Teleported to &e%{_t}%&7."
  20. stop
  21. else:
  22. send "&9Teleport &0» &7Locating &e%arg-1%&7..."
  23. wait 5 seconds
  24. send "&9Teleport &0» &7Could not locate &e%arg-1%&7."
  25. stop
  26. if arg-1 is "all":
  27. if player has permission "mineplex.owner":
  28. teleport all players to player
  29. send "&9Teleport&0 » &7You teleported &e%amount of players% Players &7to yourself."
  30. broadcast "&9Teleport&0 » &7You teleported to &e%player%&7."
  31. stop
  32. else:
  33. send "&7Comeback &0» &7This requires Permission Rank &4&lADMIN."
  34. stop
  35. if arg-1 is "here":
  36. if player has permission "mineplex.admin":
  37. if arg-3 is not set:
  38. if arg-2 is set:
  39. if arg-2 parsed as player is online:
  40. teleport arg-2 parsed as player to player's location
  41. send "&7Comeback &0» &7%player% teleported you to self." to arg-2 parsed as player
  42. set {_t} to arg-2 parsed as player
  43. send "&7Comeback &0» &7Teleported &e%arg-2% &7to self."
  44. stop
  45. else:
  46. send "&7Comeback &0» &7Locating &e%arg-2%&7..."
  47. wait 5 seconds
  48. send "&7Comeback &0» &7Could not locate &e%arg-2%&7."
  49. stop
  50. else:
  51. send "&7Comeback &0» &7This requires Permission Rank &4&lADMIN."
  52. stop
  53. if arg-2 is not set:
  54. send "&9Teleport> &7Commands List:"
  55. send "&6/tp <target> &7Teleport to Player &6Mod"
  56. send "&4/tp here <player> &7Teleports Player to Self &4Admin"
  57. send "&4/tp <player> <target> &7Teleports Player to Player &4Admin"
  58. send "&4/tp all &7Teleports All to Self &4Owner"
  59. if arg-3 is not set:
  60. if arg-2 is set:
  61. if player has permission "mineplex.admin":
  62. if arg-2 parsed as player is online:
  63. if arg-1 parsed as player is online:
  64. teleport arg-1 parsed as player to arg-2 parsed as player
  65. set {_t1} to arg-1 parsed as player
  66. set {_t} to arg-2 parsed as player
  67. send "&9Teleport> &e%{_t1}% &7was teleported to you." to arg-2 parsed as player
  68. send "&9Teleport> &7You were teleported to &e%{_t}%&7." to arg-1 parsed as player
  69. stop
  70. else:
  71. send "&9Teleport> &7Locating &e%arg-1%&7..."
  72. wait 5 seconds
  73. send "&9Teleport> &7Could not locate &e%arg-1%&7."
  74. stop
  75. else:
  76. send "&9Teleport> &7Locating &e%arg-2%&7..."
  77. wait 5 seconds
  78. send "&9Teleport> &7Could not locate &e%arg-2%&7."
  79. stop
  80. else:
  81. send "&7Comeback &0» &7This requires Permission Rank &4&lADMIN."
  82. stop
Advertisement
Add Comment
Please, Sign In to add comment