maozou

NewsSK

Feb 27th, 2019
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. options:
  2. logo: &e[&aNews&e]
  3. command /news:
  4. trigger:
  5. send "&a-------====&b&lServer-News&a====--------"
  6. send "%{news1}%"
  7. send "%{news2}%"
  8. send "%{news3}%"
  9. send "%{news4}%"
  10. send "%{news5}%"
  11. send "&7https://pastebin.com/u/maozou"
  12. command /setnews <text> <text>:
  13. permission: sk.admin
  14. trigger:
  15. if arg-1 is "1":
  16. set {news1} to colored arg-2
  17. send "{@logo} &eニュース1を%arg-2%に設定しました。"
  18. if arg-1 is "2":
  19. set {news2} to colored arg-2
  20. send "{@logo} &eニュース2を%arg-2%に設定しました。"
  21. if arg-1 is "3":
  22. set {news3} to colored arg-2
  23. send "{@logo} &eニュース3を%arg-2%に設定しました。"
  24. if arg-1 is "4":
  25. set {news4} to colored arg-2
  26. send "{@logo} &eニュース4を%arg-2%に設定しました。"
  27. if arg-1 is "5":
  28. set {news5} to colored arg-2
  29. send "{@logo} &eニュース5を%arg-2%に設定しました。"
  30. command /annews:
  31. permission: sk.admin
  32. trigger:
  33. broadcast "{@logo} &a新しいニュースが届いています。/newsで確認できます。"
Add Comment
Please, Sign In to add comment