Advertisement
Guest User

Untitled

a guest
Mar 19th, 2019
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.26 KB | None | 0 0
  1. on load:
  2. broadcast "&6&lEX &8» &eCustom plugin for SparksSB & SparksFM"
  3.  
  4. command /ex [<text>] [<text>] [<text>]:
  5. permission: ex.*
  6. permission message: "&6&LEX &8» &eNo permissions."
  7. trigger:
  8. if arg-1 is "reload":
  9. execute console command "sk reload Exceqtion's Skripts/Ex Plugin.sk"
  10. broadcast "&6&lEX &8» &ev1.1 reloaded"
  11. else if arg-1 is "prefix":
  12. set {_player} to arg-2 parsed as a offline player
  13. if {_player} is set:
  14. if arg-3 is set:
  15. set {_player}'s prefix to "%arg-3%"
  16. send "&7Successfully gave the player a prefix."
  17. else:
  18. send "&eWhat prefix are you giving them?"
  19. else:
  20. send "&eWhat player are you giving a prefix?"
  21. else if arg-1 is "suffix":
  22. set {_player} to arg-2 parsed as a offline player
  23. if {_player} is set:
  24. if arg-3 is set:
  25. set {_player}'s suffix to "%arg-3%"
  26. send "&7Successfully gave the player a suffix."
  27. else:
  28. send "&eWhat suffix are you giving them?"
  29. else:
  30. send "&eWhat player are you giving a suffix?"
  31. else if arg-1 is "help":
  32. send "&8-------------------"
  33. send "&6&LEX"
  34. send "&8-------------------"
  35. send "&e/ex help - The command you see right now."
  36. send "&e/ex reload - Reload the plugin's config."
  37. send "&e/ex suffix - Set a suffix."
  38. send "&e/ex prefix - Set a prefix."
  39. send "&e/ex rank - Set a rank. &6(Requires Pex)"
  40. send "&8-------------------"
  41. else if arg-1 is "rank":
  42. set {_player} to arg-2 parsed as a offline player
  43. if {_player} is set:
  44. if arg-3 is set:
  45. execute console command "pex user %{_player}% group set %arg-3%"
  46. send "" to {_player}
  47. send "&7Your rank has been set by &e%player%&7." to {_player}
  48. send "" to {_player}
  49. else:
  50. send "&7Usage: &e/ex (reload|prefix|suffix|help|rank) (player) (prefix|rank|suffix)"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement