Advertisement
TE1TO9_

Untitled

Mar 27th, 2019
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 18.24 KB | None | 0 0
  1. created by hiro_m
  2. #teamA is green
  3. #teamB is yellow
  4. options:
  5.     prefix: &7[&bTDM&7]&r
  6.     worlds: "Thanatos"
  7.     cmd: &b/tdm
  8.     minplayer: 4
  9.     time: 240
  10. #-
  11. on skript load:
  12.     execute console command "/tdm game start"
  13.     wait a second
  14.     execute console command "/tdm game stop"
  15.     message "{@prefix} バグ回避のためゲームを開始→停止します" to players
  16. #-
  17. on drop:
  18.     event-item is Leather helmet
  19.     cancel event
  20.     wait a tick
  21.     remove a Leather helmet from player
  22.     set player's helm to Leather helmet
  23. #-
  24. on mor.inventory click:
  25.     player is
  26.     player's gamemode is not creative
  27.     name of event-item is "green" or "yellow"
  28.     cancel event
  29. #-
  30.  
  31. #teamA = green
  32. #teamB = yellow
  33. on damage of player:
  34.     victim is
  35.     repair victim's helmet
  36.     name of victim's helmet is "%name of attacker's helmet%"
  37.     cancel event
  38. #
  39. on death of player:
  40.     victim is
  41.     wait 2 ticks
  42.     force respawn victim
  43.     heal victim
  44.     wait 3 ticks
  45.     execute console command "/menu.class %victim%"
  46.     if name of victim's helm is "green":
  47.         subtract 1 from {tdm.teamA.rb}
  48.         teleport victim to {tdm.spawng::%{tdm.map}%}
  49.         set victim's helmet to leather helmet named "green"
  50.         dye victim's helmet green
  51.         if {tdm.teamA.rb} is less than 1:
  52.             set {tdm.win} to "yellow"
  53.             execute console command "/tdm game stop"
  54.             stop
  55.     else if name of victim's helm is "yellow":
  56.         subtract 1 from {tdm.teamB.rb}
  57.         teleport victim to {tdm.spawny::%{tdm.map}%}
  58.         set victim's helmet to leather helmet named "yellow"
  59.         dye victim's helmet yellow
  60.         if {tdm.teamB.rb} is less than 1:
  61.             set {tdm.win} to "green"
  62.             execute console command "/tdm game stop"
  63.             stop
  64. #
  65. on quit:
  66.     subtract 1 from {tdm.p.cnt}
  67.     clear {tdm.%player%}
  68.     set player's helmet to air
  69.     execute console command "/nick %player% off"
  70.     execute console command "/ct leave %player%"
  71. #       remove player's helmet
  72. #-
  73. command /TeamDeathMatch [<text>] [<text>] [<text>] [<text>] [<number>]:
  74.     usage: &b/tdm <Orange>...
  75.     aliases: /tdm
  76.     permission: tdm.sk.*
  77.     permission message: <light red>Nope, you can't use this!
  78.     trigger:
  79.         arg 1 is not set:
  80.             send "{@cmd} game start <name of map>  <Orange>- start tdm in selected map"
  81.             send "{@cmd} game start random  <Orange>- start tdm in ramdom map"
  82.             send "{@cmd} game stop  <Orange>- stop(end) tdm"
  83.             send "{@cmd} setspawng <name of spawnpoint>  <Orange>- set Green spawnpoint"
  84.             send "{@cmd} setspawny <name of spawnpoint>  <Orange>- set Yellow spawnpoint"
  85.             send "{@cmd} spawnlist  <Orange>- show list of maps(spawnpoints)"
  86.             send "{@cmd} spawnlist detail  <Orange>- show list of maps(spawnpoints) with details"
  87.             send "{@cmd} tp (green/yellow) <name of spawnpoint>  <Orange>- teleport green's/yellow's spawnpoint"
  88.             send "{@cmd} spawndel (green/yellow) <name of spawnpoint>  <Orange>- delete green's/yellow's spawnpoint"
  89.  
  90.         if arg 4 is "test":
  91.             player is "hiro_m"
  92.             message "{@prefix} test mode" to the player
  93.  
  94. #-----------------------------------#
  95.  
  96.         if arg 1 is "game":
  97.  
  98.             if arg 2 is "start":
  99.                 if {tdm} is true:
  100.                     message "{@prefix} <Red>TDM has been <Lime>started!"
  101.                     stop
  102.  
  103.                 set {tdm.map} to "none"
  104.                 if arg 3 is not set:
  105.                     message "MAPを選択してください。"
  106.                     message "MAPリストを表示するには/tdm spawnlistと入力してください"
  107.                     stop
  108.                 else if arg 3 is "random":
  109.                     while {tdm.map} is "none":
  110.                         loop {tdm.spawng::*}:
  111.                             chance of 10%:
  112.                                 set {tdm.map} to "%loop-index%"
  113.                             if {tdm.spawny::%{tdm.map}%} is not set:
  114.                                 {tdm.map} is not "none"
  115.                                 message "%{tdm.map}%は緑のみ設定されているので、黄色にも設定してください!" to ops
  116.                                 set {tdm.map} to "none"
  117.                 else:
  118.                     if {tdm.spawng::%arg 3%} is not set:
  119.                         if {tdm.spawny::%arg 3%} is not set:
  120.                             message "%arg 3%というMAPはありません"
  121.                         else:
  122.                             message "%arg 3%でgreenのスポーン位置が設定されていません"
  123.                         stop
  124.                     else:
  125.                         if {tdm.spawny::%arg 3%} is not set:
  126.                             message "%arg 3%でyellowのスポーン位置が設定されていません"
  127.                             stop
  128.                     set {tdm.map} to "%arg 3%"
  129.  
  130.                 loop {tdm.team::*}:
  131.                     clear {tdm.team::%loop-index%}
  132.                     clear {tdm.%loop-index%}
  133.  
  134.                 loop players in "GunFight":
  135.                     loop-player's gamemode is not creative
  136.                     add 1 to {tdm.p.cnt}
  137. #                   "%region at loop-player%" contains "Timepvp"
  138.  
  139.                 if arg 4 is "test":
  140.                     message "{@prefix} testmode 人数制限解除"
  141.                 else:
  142.                     if {tdm.p.cnt} is less than {@minplayer}:
  143.                         message "{@prefix} <Red>ゲームを始めるには{@minplayer}人以上参加者が必要です"
  144.                         set {tdm.p.cnt} to 0
  145.                         execute console command "/tdm game stop"
  146.                         stop
  147.  
  148.                 set {tdm} to true
  149.  
  150.                 message "{@prefix} 20秒後にTDMが開始されます!" to all players
  151.                 message "{@prefix} 参加する場合一番右のスロットには何も入れないでください" to players
  152.  
  153.                 wait a second
  154.  
  155.                 loop 20 times:
  156.                     if {tdm} is false:
  157.                         stop
  158.                     if loop-number is 5 or 10:
  159.                         message "{@prefix} %20 - loop-number%秒後にTDMが開始されます!" to players
  160. #                       message "{@prefix}参加する場合一番右のスロットには何も入れないでください" to players
  161.                     if loop-number is more than 14:
  162.                         message "{@prefix} %20 - loop-number%秒後にTDMが開始されます!" to players
  163. #                   if loop-number is 15:
  164. #                       message "{@prefix}参加する場合一番右のスロットには何も入れないでください" to players
  165.  
  166.                 set {tdm.p.cnt} to 0
  167.  
  168.                 clear {tdm::*}
  169.                 clear {tdm.team::*}
  170.  
  171.                 loop players in "Thanatos":
  172.                     loop-player's gamemode is not creative
  173.                     add 1 to {tdm.p.cnt}
  174.                     clear {tdm.%loop-player%}
  175.  
  176.                 if arg 4 is "test":
  177.                     message "{@prefix} testmode 人数制限解除"
  178.                 else:
  179.                     if {tdm.p.cnt} is less than {@minplayer}:
  180.                         message "{@prefix} <Red>ゲームを始めるには{@minplayer}人以上参加者が必要です"
  181.                         set {tdm.p.cnt} to 0
  182.                         execute console command "/tdm game stop"
  183.                         stop
  184.  
  185. #--初回感染専用
  186.                 if {tdm.p.cnt} is more than 5:
  187.                     {a} is not true
  188.                     execute console command "/tdm game stop"
  189.                     wait a second
  190.                     loop players:
  191.                         player's tool is air
  192.                         execute console command "/mvtp %loop-player% infect"
  193.                     execute console command "/inf game start"
  194.                     set {a} to true
  195. #--初回感染専用
  196.  
  197. #               set {tdm.teamA.rb} to {tdm.p.cnt} * 2
  198. #               set {tdm.teamB.rb} to {tdm.teamA.rb}
  199.                 set {tdm.teamA.rb} to 0
  200.                 set {tdm.teamB.rb} to 0
  201.                 set {tdm.win} to "null"
  202.  
  203.                 message "all %{tdm.p.cnt}%"
  204.  
  205.                 message "{@prefix} TDM is §astarted<White>!"
  206.  
  207.                 message "{@prefix} §aTDMが始まりました!" to all players
  208.  
  209.                 wait a tick
  210.  
  211.                 loop players in "Thanatos":
  212.                     loop-player's gamemode is not creative
  213.                     set {_c} to "white"
  214.                     if {tdm.teamA.rb} is {tdm.teamB.rb}:
  215.                         execute console command "/ct add green %loop-player%"
  216.                         set {_c} to "green"
  217.                     else if {tdm.teamB.rb} is less than {tdm.teamA.rb}:
  218.                         execute console command "/ct add yellow %loop-player%"
  219.                         set {_c} to "yellow"
  220.                     else if {tdm.teamA.rb} is less than {tdm.teamB.rb}:
  221.                         execute console command "/ct add green %loop-player%"
  222.                         set {_c} to "green"
  223.                     if {_c} is "white":
  224.                         chance of 50%:
  225.                             execute console command "/ct add green %loop-player%"
  226.                             set {_c} to "green"
  227.                     if {_c} is "white":
  228.                         execute console command "/ct add yellow %loop-player%"
  229.                         set {_c} to "yellow"
  230.                     set loop-player's helmet to leather helmet named "%{_c}%"
  231.                     if {_c} is "green":
  232.                         dye loop-player's helmet green
  233.                         teleport loop-player to {tdm.spawng::%{tdm.map}%}
  234.                         execute console command "/nick %loop-player% &a%name of loop-player%"
  235.                         add 1 to {tdm.teamA.rb}
  236.                     else if {_c} is "yellow":
  237.                         dye loop-player's helmet yellow
  238.                         teleport loop-player to {tdm.spawny::%{tdm.map}%}
  239.                         execute console command "/nick %loop-player% &e%name of loop-player%"
  240.                         add 1 to {tdm.teamB.rb}
  241.                     send "%{tdm.teamA.rb}% %{tdm.teamB.rb}% %loop-player% > %{_c}%"
  242.  
  243.                 wait a tick
  244.  
  245.                 loop players in "Thanatos":
  246.                     loop-player's gamemode is not creative
  247.                     set loop-player's gamemode to survival
  248.                     message "{@prefix} 残機、残り時間の確認→/tdmi" to loop-player
  249.                     message "{@prefix} ゲーム中の放置は厳禁です!落ちてもらったほうがありがたいです!" to loop-player
  250.                     set maximum health of  loop-player to 20
  251.                     heal loop-player
  252.  
  253.                 set {tdm.teamA.rb} to {tdm.teamA.rb} * 2
  254.                 set {tdm.teamB.rb} to {tdm.teamA.rb}
  255.  
  256.                 execute console command "/cspawn switch %{tdm.map}%"
  257.                 execute console command "/tdm time start a a {@time}"
  258.  
  259. #>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  260. #>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  261. #>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  262. #>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  263. #>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  264.  
  265.             if arg 2 is "stop":
  266.                 if {tdm} is false:
  267.                     message "{@prefix} <Red>TDM has been §cstopped!"
  268.                     stop
  269.  
  270.                 set {tdm} to false
  271.  
  272.                 message "{@prefix} TDM is §cstopped<White>!"
  273.  
  274.                 message "{@prefix} <Pink>TDMが終わりました!" to players
  275.                 if {tdm.win} is "null":
  276.                     message "{@prefix} 結果: <Bold>引き分け" to players
  277.                 else:
  278.                     message "{@prefix} <Bold>%{tdm.win}%の勝利!" to players
  279.                 message "{@prefix} <White>残り時間: <Orange>%{tdm.time}%<White>秒" to players
  280.                 message "{@prefix} <Green>緑<White>残機:<Orange>%{tdm.teamA.rb}%" to players
  281.                 message "{@prefix} <Yellow>黄<White>残機:<Orange>%{tdm.teamB.rb}%" to players
  282.                 heal players in "Thanatos"
  283.  
  284.                 wait a tick
  285.                 execute console command "/ct remove green"
  286.                 execute console command "/ct remove yellow"
  287.  
  288.                 if {tdm.win} is "green":
  289.                     loop players:
  290.                         execute console command "/ct add silver %loop-player%"
  291.                         if name of loop-player's helmet is "green":
  292.                             add 200 to loop-player's account
  293.                             message "{@prefix} 報酬:200円授与" to loop-player
  294.                             set loop-player's helmet to air
  295.                             remove leather helmet from loop-player
  296.                         else if name of loop-player's helmet is "yellow":
  297.                             message "<???> 今回は負けたが、次はがんばれよ" to loop-player
  298.                             message "50円獲得!" to loop-player
  299.                             add 50 to loop-player's account
  300.                 else if {tdm.win} is "yellow":
  301.                     loop players in "GunFight":
  302.                         execute console command "/ct add silver %loop-player%"
  303.                         if name of loop-player's helmet is "yellow":
  304.                             add 200 to loop-player's account
  305.                             message "{@prefix} 報酬:200円授与" to loop-player
  306.                             set loop-player's helmet to air
  307.                             remove leather helmet from loop-player
  308.                         else if name of loop-player's helmet is "green":
  309.                             message "<???> 今回は負けたが、次はがんばれよ" to loop-player
  310.                             message "50円獲得!" to loop-player
  311.                             add 50 to loop-player's account
  312.                 clear {tdm.team::*}
  313.                 set {tdm.p.cnt} to 0
  314.                 set {tdm.timer} to false
  315.                 set {tdm.time} to 0
  316.                 set {tdm.win} to "null"
  317.  
  318.                 message "3秒後に帰還" to players
  319.                 loop 3 times:
  320.                     wait a second
  321.                 execute console command "/ct remove silver"
  322.                 loop players:
  323.                     loop-player's gamemode is not creative
  324.                     remove all leather helmets from loop-player
  325.                     set loop-player's helmet to air
  326.                     execute console command "/nick %loop-player% off"
  327.                     run loop-player command "/tdmspawn" as op
  328.                     set maximum health of loop-player to 20
  329.                     heal loop-player
  330.  
  331.                 message "{@prefix} ステージに取り残された方は<Light Aqua>/tdmspawn<White>とコマンドを打ってください" to players in "GunFight"
  332.  
  333.  
  334. #>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  335. #>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  336. #>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  337. #>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  338. #>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  339.  
  340.         if arg 1 is "time":
  341.             command sender is the console
  342.             if arg 2 is "start":
  343.                 if {tdm} is false:
  344.                     message "{@prefix} <Red>TDM has been §cstopped!"
  345.                     stop
  346.                 else if {tdm.timer} is true:
  347.                     message "{@prefix} <Red>TDM timer has been §astarted!"
  348.                     stop
  349.  
  350.             set {tdm.timer} to true
  351.             set {tdm.time} to arg 5
  352.  
  353.             while {tdm.time} is more than 0:#loop arg 5 times:
  354.                 subtract 1 from {tdm.time}
  355.                 {tdm.timer} is true
  356.                 if {tdm.timer} is false:
  357.                     clear {tdm.timer}
  358.                     execute console command "/tdm game stop"
  359.                     stop
  360.                 if {tdm.time} is 120:
  361.                     message "{@prefix} あと%{tdm.time}%秒です!" to all players
  362.                 if {tdm.time} is less than 11:
  363.                     message "{@prefix} あと%{tdm.time}%秒です!" to all players
  364.                 wait a second
  365.  
  366.             clear {tdm.timer}
  367. #           set {tdm.time} to 0
  368.             if {tdm.teamA.rb} is more than {tdm.teamB.rb}:
  369.                 set {tdm.win} to "green"
  370.             else if {tdm.teamB.rb} is more than {tdm.teamA.rb}:
  371.                 set {tdm.win} to "yellow"
  372.             else if {tdm.teamA.rb} is {tdm.teamB.rb}:
  373.                 set {tdm.win} to "null"
  374.  
  375.             execute console command "/tdm game stop"
  376.  
  377. #-----------------------------------#
  378.  
  379.         if arg 1 is "setspawng":
  380.             arg 2 is set
  381.  
  382.             set {tdm.spawng::%arg 2%} to player's location
  383.             message "{@prefix} set spawng::%arg 2% to your location"
  384.         else if arg 1 is "setspawny":
  385.             set {tdm.spawny::%arg 2%} to player's location
  386.             message "{@prefix} set spawny::%arg 2% to your location"
  387.  
  388. #-----------------------------------#
  389.         if arg 1 is "spawnlist":
  390.  
  391.             if arg 2 is "detail":
  392.                 message "---green---"
  393.                 loop {tdm.spawng::*}:
  394.                     add 1 to {_cnt}
  395.                     message "%loop-index% ||%loop-value%"
  396.                 message "合計:%{_cnt}%"
  397.                 message ""
  398.                 message "---yellow---"
  399.                 loop {tdm.spawny::*}:
  400.                     message "%loop-index% ||%loop-value%"
  401.                 message "合計:%{_cnt}%"
  402.                 message ""
  403.                 stop
  404.  
  405.             message "---maps---"
  406.             clear {pvpgame.spawng::*}
  407.             clear {pvpgame.spawny::*}
  408.             loop {tdm.spawng::*}:
  409.                 {tdm.spawny::%loop-index%} is set
  410.                 message "%loop-index%"
  411.             message ""
  412.             loop {tdm.spawng::*}:
  413.                 {tdm.spawny::%loop-index%} is not set
  414.                 message "%loop-index%はgreenのみ設定されています"
  415.             loop {tdm.spawny::*}:
  416.                 {tdm.spawng::%loop-index%} is not set
  417.                 message "%loop-index%はyellowのみ設定されています"
  418. #-----------------------------------#
  419.         if arg 1 is "tp":
  420.             if arg 2 is "green":
  421.                 if {tdm.spawng::%arg 3%} is not set:
  422.                     message "%arg 3%はありません"
  423.                 teleport player to {tdm.spawng::%arg 3%}
  424.             if arg 2 is "yellow":
  425.                 if {tdm.spawny::%arg 3%} is not set:
  426.                     message "%arg 3%はありません"
  427.                 teleport player to {tdm.spawny::%arg 3%}
  428. #-----------------------------------#
  429.         if arg 1 is "spawndel":
  430.             if arg 2 is "green":
  431.                 clear {tdm.spawng::%arg 3%}
  432.                 message "deleted %arg 3%"
  433.             if arg 2 is "yellow":
  434.                 clear {tdm.spawny::%arg 3%}
  435.                 message "deleted %arg 3%"
  436. #-----------------------------------#
  437.         if arg 1 is "clearP":
  438.             if {tdm.%arg 2%} is not set:
  439.                 message "{tdm.%arg 2%} is not set"
  440.             else:
  441.                 clear {tdm.%arg 2%}
  442.                 message " cleared {tdm.%arg 2%}"
  443.             if {tdm.team::%arg 2%} is not set:
  444.                 message "{tdm.team::%arg 2%} is not set"
  445.             else:
  446.                 clear {tdm.team::%arg 2%}
  447.                 message " cleared {tdm.team::%arg 2%}"
  448. #-----------------------------------#
  449.  
  450. command /tdmtotyu [<text>]:
  451.     permission: tdm.sk*
  452.     trigger:
  453.         {tdm} is true
  454.         player is
  455.         if arg 1 is set:
  456.             player is op
  457.             set maximum health of player to 20
  458.             heal player
  459.             if arg 1 is "yellow":
  460.                 set player's helmet to leather helmet named "yellow"
  461.                 execute console command "/nick %player% &e%name of player%"
  462.                 execute console command "/ct add yellow %player%"
  463.                 dye player's helmet yellow
  464.                 teleport player to {tdm.spawny::%{tdm.map}%}
  465.                 message "green:%{_cntg}%"
  466.                 message "yellow:%{_cnty}%"
  467.                 message "{@prefix} %player%が§e黄チーム§fへ参加しました!" to players
  468.                 add 1 to {tdm.teamA.rb}
  469.                 add 1 to {tdm.teamB.rb}
  470.                 stop
  471.             if arg 1 is "green":
  472.                 set player's helmet to leather helmet named "green"
  473.                 execute console command "/nick %player% &a%name of player%"
  474.                 execute console command "/ct add green %player%"
  475.                 dye player's helmet green
  476.                 teleport player to {tdm.spawng::%{tdm.map}%}
  477.                 message "{@prefix} %player%が§a緑チーム§fへ参加しました!" to players in "Thanatos"
  478.                 add 1 to {tdm.teamA.rb}
  479.                 add 1 to {tdm.teamB.rb}
  480.                 stop
  481.  
  482.         {tdm.timer} is true
  483.         if {tdm.time} is less than 60:
  484.             message "残り時間が1分未満のため、参加できません。"
  485.             stop
  486.         set {_cntg} to 0
  487.         set {_cnty} to 0
  488.         loop players:
  489.             if name of loop-player's helmet is "green":
  490.                 add 1 to {_cntg}
  491.             if name of loop-player's helmet is "yellow":
  492.                 add 1 to {_cnty}
  493.         message "green:%{_cntg}%"
  494.         message "yellow:%{_cnty}%"
  495.  
  496.         if {_cntg} is {_cnty}:#同じ人数
  497.             if {tdm.timer} is not true:
  498.                 stop
  499.             chance of 50%:
  500.                 run player command "/tdmtotyu green" as op
  501.                 stop
  502.             run player command "/tdmtotyu yellow" as op
  503.  
  504.         else if {_cntg} is more than {_cnty}:#緑のほうが多いなら
  505.             run player command "/tdmtotyu yellow" as op
  506.         else if {_cnty} is more than {_cntg}:#黄色のほうが多いなら
  507.             run player command "/tdmtotyu green" as op
  508.  
  509. command /tdmspawn:
  510.     trigger:
  511.         {tdm} is false
  512.         player is
  513.         execute console command "/mvspawn %player%"
  514. #
  515. command /tdmi [<player>]:
  516.     trigger:
  517. #       {tdm} is true
  518.         if arg 1 is not set:
  519.             loop players:
  520.                 if name of loop-player's helmet is "green":
  521.                     message "%loop-player%"
  522.             message "§a緑の残機 §f%{tdm.teamA.rb}%"
  523.             loop players in "GunFight":
  524.                 if name of loop-player's helmet is "yellow":
  525.                     message "%loop-player%"
  526.             message "§e黄の残機 §f%{tdm.teamB.rb}%"
  527.             message "残り時間 %{tdm.time}%"
  528.             stop
  529.         else:
  530.             if player-arg's helmet is not leather helmet:
  531.                 message "%arg 1%は参加していません!"
  532.             message "%name of player-arg's helmet%"
  533. #
  534. command /asda:
  535.     trigger:
  536.         player is op
  537.         clear {a}
  538.         message "%{a}%"
  539.         clear {a}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement