kjfalkeiae

SAOSystem

Aug 6th, 2018
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.64 KB | None | 0 0
  1. on damage of player:
  2. attacker is player
  3. if {c.%attacker%} is "&6orange" or "&cred":
  4. if {c.%victim%} is "&6orange" or "&cred":
  5. execute console command "/nte player %attacker% prefix &6"
  6. execute console command "/pex user %attacker% prefix &6"
  7. broadcast "&7[&6CursorSystem&7]&e%attacker%さんのカーソルが&6オレンジ&eになりました。"
  8. set {c.%attacker%} to "&6orange"
  9.  
  10. on death of player:
  11. attacker is player
  12. if {c.%attacker%} is "&cred":
  13. if {c.%victim%} is "&cred":
  14. execute console command "/nte player %attacker% prefix &c"
  15. execute console command "/pex user %attacker% prefix &c"
  16. broadcast "&7[&6CursorSystem&7]&e%attacker%さんのカーソルが&cレッドeになりました。"
  17. set {c.%attacker%} to "&cred"
  18.  
  19. command /cursor <offline player> [<text>]:
  20. permission: cursorset
  21. trigger:
  22. if arg 1 is not set:
  23. send "&7[&6CursorSystem&7]&c使用法:/cursor <プレイヤー> [green|orange|red]"
  24. stop
  25. if arg 2 is not set:
  26. send "&7[&6CursorSystem&7]&b%arg 1%さんのカーソル:%{c.%arg 1%}%"
  27. stop
  28. if arg 2 is "green" or "orange" or "red":
  29. if arg 2 is "green":
  30. execute console command "/nte player %arg 1% prefix &a"
  31. execute console command "/pex user %arg 1% prefix &a"
  32. broadcast "&7[&6CursorSystem&7]&e%arg 1%さんのカーソルが&aグリーン&eになりました。"
  33. set {c.%arg 1%} to "&agreen"
  34. stop
  35. if arg 2 is "orange":
  36. execute console command "/nte player %arg 1% prefix &6"
  37. execute console command "/pex user %arg 1% prefix &6"
  38. broadcast "&7[&6CursorSystem&7]&e%arg 1%さんのカーソルが&6オレンジ&eになりました。"
  39. set {c.%arg 1%} to "&6orange"
  40. stop
  41. if arg 2 is "red":
  42. execute console command "/nte player %arg 1% prefix &c"
  43. execute console command "/pex user %arg 1% prefix &c"
  44. broadcast "&7[&6CursorSystem&7]&e%arg 1%さんのカーソルが&cレッド&eになりました。"
  45. set {c.%arg 1%} to "&cred"
  46. stop
  47. send "&7[&6CursorSystem&7]&c使用法:/cursor <プレイヤー> [green|orange|red]"
  48.  
  49. on join:
  50. add 1 to {l.%player%}
  51. if {l.%player%} is 1:
  52. broadcast "&7[&6CursorSystem&7]&a%player%さんが初ログインしました!"
  53. send "&7[&6CursorSystem&7]&dようこそ。このサーバーでは「カーソル」という概念が存在します。"
  54. send "&7[&6CursorSystem&7]&dカーソルは「&aグリーン&d」「&6オレンジ&d」「&cレッド&d」の3種類が存在します。"
  55. send "&7[&6CursorSystem&7]&d通常のプレイヤーは&aグリーン&dです。"
  56. send "&7[&6CursorSystem&7]&dしかし、プレイヤーに危害を加えると&6オレンジ&dになります。"
  57. send "&7[&6CursorSystem&7]&dまた、プレイヤーを殺すと&cレッド&dになります。"
  58. send "&7[&6CursorSystem&7]&dしかし、オレンジカーソルのプレイヤーを攻撃してもオレンジにはなりません。"
  59. send "&7[&6CursorSystem&7]&d同様に、レッドカーソルのプレイヤーを殺害してもレッドにはならず、オレンジにもなりません。"
  60. send "&7[&6CursorSystem&7]&dただし、オレンジカーソルのプレイヤーを殺害するとレッドになるので、注意してください。"
  61. send "&7[&6CursorSystem&7]&d以上で説明は終了です。では、楽しく遊んで下さい。"
  62. execute console command "/cursor %player% green"
  63. stop
  64. broadcast "&7[&6CursorSystem&7]&a%player%さんがログインしました!"
  65. broadcast "&7[&6CursorSystem&7]&a%player%さんのログイン回数:%{l.%player%}%
  66. broadcast "&7[&6CursorSystem&7]&a%player%さんのカーソルは%{c.%player%}%&aです。
Advertisement
Add Comment
Please, Sign In to add comment