K2Rk1o

Untitled

Dec 3rd, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. command /whitelistplus [<text>] [<offline player>]:
  2. aliases: wls
  3. permission: wlp.skript
  4. trigger:
  5. if arg-1 is not set:
  6. send "&a&l----------&f&lWhite&6&lList&e&lPlus&a&l----------"
  7. send "&f "
  8. send "&e &f&lWhite&6&lList&e&lPlus "
  9. send " "
  10. send " "
  11. send " "
  12. send " "
  13. send " "
  14. send " "
  15. send " "
  16. send " "
  17. send " "
  18. send " "
  19. send " "
  20. send " "
  21. send "&a&l----------&f&lWhite&6&lList&e&lPlus&a&l----------"
  22.  
  23. if arg-1 is "on":
  24. set {whitelistplus} to true
  25. loop all players:
  26. if {wlp::%loop-player%} is not "true":
  27. kick the loop-player due to "&f&lWhitelistPlus-&a&lNow"
  28. if arg-1 is "off":
  29. set {whitelistplus} to false
  30. send "&f&lWhiteListPlus-&5false"
  31. if arg-1 is "add":
  32. if arg-2 is set:
  33. set {wlp::%arg-2%} to "true"
  34. send "&7&l[&fWhite&aList&ePlus&7&l]&f&l%arg-2%さんをWhiteListPlusに追加しました"
  35. if arg-1 is "remove":
  36. if arg-2 is set:
  37. set {wlp::%arg-2%} to "false"
  38. send "&7&l[&fWhite&aList&ePlus&7&l]&f&l%arg-2%さんをWhiteListPlusから削除しました"
  39. if arg-1 is "list":
  40. loop all players:
  41. {wlp::%loop-player%} is true
  42. set {_whitelist} to loop-player
  43. send "LIST:&f%{_whitelist}%"
Add Comment
Please, Sign In to add comment