ArtzifyHD

FrostChat

Jul 20th, 2017
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. options:
  2. prefix: &7[&bFrostCHAT&7]
  3.  
  4. command /frostchat [<text>]:
  5. aliases: /fchat, /frostc
  6. trigger:
  7. if arg 1 is "reload":
  8. send "{@prefix} &aSkript has been reloaded&8!"
  9. console command "/skript reload FrostChat.sk"
  10. if arg 1 is not set:
  11. send "{@prefix} &6&lCommands&8:"
  12. send "&8- &7/frostchat reload"
  13. send "&8- &7/frostchat help"
  14. if arg 1 is "help":
  15. send "{@prefix} &6&lHelp&8:"
  16. send "&8- &7FrostChat Skript By &aFrostedWeFall"
  17. send "&8- &7Version&8: &e1.0"
  18. send "&8- &7Youtube&8: &dArtzifyHD"
  19. command /chat [<text>]:
  20. permission: frostchat.chat
  21. permission message: &cYou don't have permission!
  22. trigger:
  23. if arg 1 is not set:
  24. send "&b&lFrostChat Commands&8:"
  25. send "&8- &7/chat clear"
  26. send "&8- &7/chat disable"
  27. send "&8- &7/chat enable"
  28. if arg 1 is "clear":
  29. loop 300 times:
  30. broadcast ""
  31. broadcast ""
  32. broadcast "{@prefix} &2Chat has been cleaned by &a%player%"
  33. if arg 1 is "disable":
  34. set {chat} to false
  35. broadcast "{@prefix} &cChat has been disabled by an administrator&8."
  36. if arg 1 is "enable":
  37. set {chat} to true
  38. broadcast "{@prefix} &aChat has been enabled by an administrator."
  39.  
  40. on chat:
  41. if {chat} is false:
  42. if player has permission "frostchat.chat":
  43. cancel event
  44. broadcast "&9%player's displayname%&8: &f%message%"
  45. else:
  46. cancel event
  47. send "{@prefix} &cChat has been disabled by an administrator&8!"
  48. else:
  49. cancel event
  50. broadcast "&9%player's displayname%&8: &f%message%"
Advertisement
Add Comment
Please, Sign In to add comment