execute by console

This commit is contained in:
Mylloon 2021-06-29 08:49:40 +02:00
parent c5c3134b56
commit e983eff7d1

View file

@ -15,8 +15,8 @@ command deacoudre [<text>]: # lancement de la partie
description: Lance une partie de dé à coudre. description: Lance une partie de dé à coudre.
trigger: trigger:
if arg-1 is set: if arg-1 is set:
if player is op:
if arg-1 is "spawn": if arg-1 is "spawn":
if player is op:
set {thimble.location} to location of player set {thimble.location} to location of player
send "&aLe dé à coudre téléportes désormais ici." send "&aLe dé à coudre téléportes désormais ici."
stop stop
@ -33,7 +33,7 @@ command deacoudre [<text>]: # lancement de la partie
send "&cPartie de dé à coudre terminée." to loop-value send "&cPartie de dé à coudre terminée." to loop-value
teleport loop-value to {thimble.location} teleport loop-value to {thimble.location}
set gamemode of loop-value to creative set gamemode of loop-value to creative
execute player command "fill 103 57 -313 99 57 -305 water" execute console command "fill 103 57 -313 99 57 -305 water"
else: else:
set {thimble} to true set {thimble} to true
loop {party.list::*}: loop {party.list::*}: