Advertisement
Blue_Tec

Untitled

May 20th, 2018
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.37 KB | None | 0 0
  1. on join:
  2. loop all players:
  3. if loop-player is an op:
  4. send "&cCheck: &f%player%(%uuid of player%) >> &f%ip of player%" to loop-player
  5.  
  6. command /setalertpoint:
  7. permission: skript.admin
  8. trigger:
  9. set {alertpoint} to location of player
  10. message "&a%{alertpoint}%に設定しました。"
  11.  
  12. command /alertuser [<offlineplayer>] [<text>]:
  13. permission: skript.admin
  14. trigger:
  15. if arg-1 is set:
  16. if arg-2 is set:
  17. if arg-1 is online:
  18. if {alertuser::%uuid of arg-1%} is true:
  19. message "&a%arg-1%の警告を解除しました。"
  20. send "&c⚠重要⚠ 警告は解除されました。" to arg-1
  21. teleport arg-1 to {alert2point::%uuid of arg-1%}
  22. set {alertuser::%uuid of arg-1%} to false
  23. stop
  24. else:
  25. set {alert2point::%uuid of arg-1%} to location of arg-1
  26. set {alertmessage::%uuid of arg-1%} to "%arg-2%"
  27. teleport arg-1 to {alertpoint}
  28. send "&c⚠重要⚠ 警告手配がつきました。運営に、連絡してください。" to arg-1
  29. send "&c⚠Warning⚠ Significant arrangements have been made. Please contact me for operation." to arg-1
  30. send "&c理由/Reason: &f%{alertmessage::%uuid of arg-1%}%"
  31. set {alertuser::%uuid of arg-1%} to true
  32. stop
  33. else:
  34. message "&cオフラインです。"
  35. if arg-2 is not set:
  36. message "&c/alertuser プレイヤー名 理由"
  37. if arg-1 is not set:
  38. message "/alertuser ユーザー名 理由"
  39.  
  40. on any movement:
  41. if {alertuser::%uuid of player%} is true:
  42. cancel event
  43. message "&c⚠重要⚠ 警告手配がつきました。運営に、連絡してください。"
  44. message "&c⚠Warning⚠ Significant arrangements have been made. Please contact me for operation."
  45. message "&c理由/Reason: &f%{alertmessage::%uuid of player%}%"
  46.  
  47. every 2 minutes:
  48. loop all players:
  49. execute loop-player command "/checkaccount 1hd8)7t3njkdsajohuwihnia"
  50. if loop-player is an op:
  51. send "&cCheck: &f定期チェックが入りました。" to loop-player
  52.  
  53. command /checkaccount [<text>]:
  54. trigger:
  55. if arg-1 is "1hd8)7t3njkdsajohuwihnia":
  56. loop all players:
  57. if loop-player is an op:
  58. send "&cCheck: &f%player%(%uuid of player%) >> &f%ip of player%" to loop-player
  59.  
  60. command /checkallacount:
  61. permission: skript.admin
  62. trigger:
  63. loop all players:
  64. execute loop-player command "/checkaccount 1hd8)7t3njkdsajohuwihnia"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement