execute by console
This commit is contained in:
parent
c5c3134b56
commit
e983eff7d1
1 changed files with 6 additions and 6 deletions
12
deacoudre.sk
12
deacoudre.sk
|
@ -15,14 +15,14 @@ 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
|
||||||
else:
|
else:
|
||||||
send option("errorMessage")
|
send option("errorMessage")
|
||||||
stop
|
stop
|
||||||
if {thimble.location} is not set:
|
if {thimble.location} is not set:
|
||||||
send "&4Tu n'as pas défini de point de téléportation : &r&l/deacoudre spawn"
|
send "&4Tu n'as pas défini de point de téléportation : &r&l/deacoudre spawn"
|
||||||
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::*}:
|
||||||
|
|
Loading…
Reference in a new issue