sora200507

Untitled

Feb 11th, 2018
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. command /punish [<player>] [<text>] [<text>]:
  2. permission:rpg.admin
  3. permission message:&4[処罰システム]&cあなたにこのコマンドを使用する権限はありません
  4. trigger:
  5. if arg 1 is set:
  6. if arg 2 is set:
  7. if arg 3 is set:
  8. if arg 2 is "jail":
  9. broadcast "&4[処罰]&c%player%によって%arg 1%が理由[%arg 3%]で牢屋に送られました"
  10. message "&4[処罰システム]&c処罰に成功しました"
  11. send "&4[処罰システム]&cあなたは理由%arg 3%で牢屋に送られました" to arg 1
  12. execute console command "/mv tp %arg 1% world"
  13. wait a 10 seconds
  14. execute console command "/tp %argument 1% 242 5 1454"
  15. execute console command "/gamemode 2 %argument 1%"
  16. stop
  17. if arg 2 is "warn":
  18. message "&4[処罰システム]%argument 1%を警告しました 理由[%arg 3%]"
  19. send "&4[処罰システム]&cあなたは%player%に警告されました 理由[%arg 3%]" to arg 1
  20. stop
Advertisement
Add Comment
Please, Sign In to add comment