bw

Download Raw Clone


  1. command /bedwars [<text>] [<number>]:
  2. permission:sk.bw
  3. permission message "&fUnknown command. Type "/help" for help."
  4. trigger:
  5. if arg-1 is not set:
  6. send "&bBedWars&d>>>&f引数1を入力してください"
  7. else if arg-2 is not set:
  8. send "&bBedWars&d>>>&f数字を入力してください"
  9. else if arg-2 is "1":
  10. set {bw.%arg-1%-1} to location of player
  11. else if arg-2 is "2":
  12. set {bw.%arg-1%-2} to location of player
  13. else if arg-2 is "3":
  14. set {bw.%arg-1%-3} to location of player
  15. else if arg-2 is "4":
  16. set {bw.%arg-1%-4} to location of player
  17. else if arg-2 is "5":
  18. set {bw.%arg-1%-5} to location of player
  19. else if arg-1 is "green":
  20. set {bw.green-%number%} to location of player
  21. else if arg-1 is "red":
  22. set {bw.red-%number%} to location of player
  23. else if arg-1 is "blue":
  24. set {bw.blue-%number%} to location of player
  25. else if arg-1 is "yellow":
  26. set {bw.yellow-%number%} to location of player
  27. command /bedwars start:
  28. permission:sk.bw
  29. permission message "&fUnknown command. Type "/help" for help."
  30. trigger:
  31. if number of all players is "4":
  32. loop all players:
  33. chance 25%:
  34. add player to {bwt-green}
  35. else:
  36. add player to {bwt-red}
  37. else:
  38. add player to {bwt-blue}
  39. else:
  40. add player to {bwt-yellow}

Raw paste data: