Je cherche actuellement à arrêter tout un programme.
Je m'explique, un long programme de progression d'un virus en en cours et je cherche à l’arrêter.
J'ai essayé de mettre un "stop" mais cela ne sert qu'à interrompre la suite du programme et non sa totalité. Voici le code :
command /startvirus [<text>]:
trigger:
if arg 1 is not set:
make player execute command "/§virus0"
wait 4 seconds
if {infection.%uuid of player%} is true:
make player execute command "/§virus1"
wait 4 seconds
if {infection.%uuid of player%} is true:
make player execute command "/§virus2"
wait 4 seconds
if {infection.%uuid of player%} is true:
make player execute command "/§virus3"
wait 4 seconds
if {infection.%uuid of player%} is true:
make player execute command "/§virus4"
wait 4 seconds
if {infection.%uuid of player%} is true:
make player execute command "/§virus5"
wait 4 seconds
if {infection.%uuid of player%} is true:
make player execute command "/§virus6"
wait 4 seconds
if {infection.%uuid of player%} is true:
make player execute command "/§virus7"
wait 4 seconds
if {infection.%uuid of player%} is true:
make player execute command "/§virus8"
wait 4 seconds
if {infection.%uuid of player%} is true:
make player execute command "/§virus9"
wait 4 seconds
if {infection.%uuid of player%} is true:
make player execute command "/§virus10"
wait 4 seconds
if {infection.%uuid of player%} is true:
make player execute command "/§virus11"
wait 4 seconds
if {infection.%uuid of player%} is true:
make player execute command "/§virus12"
wait 4 seconds
if {infection.%uuid of player%} is true:
make player execute command "/§virus13"
wait 4 seconds
if {infection.%uuid of player%} is true:
make player execute command "/§virus14"
wait 4 seconds
if {infection.%uuid of player%} is true:
make player execute command "/§virus15"
wait 4 seconds
if {infection.%uuid of player%} is true:
make player execute command "/§virus16"
wait 4 seconds
if {infection.%uuid of player%} is true:
make player execute command "/§virus17"
else:
stop
else:
stop
else:
stop
else:
stop
else:
stop
else:
stop
else:
stop
else:
stop
else:
stop
else:
stop
else:
stop
else:
stop
else:
stop
else:
stop
else:
stop
else:
stop
else:
stop
else:
if arg 1 is "stop":
stop
Mon but est donc d’arrêter totalement ce programme.
Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.
Question
DramKube
Bonjour / Bonsoir.
Skript : 2.1.2
Minecraft : 1.7.10
Addons: SKQuery, SKExtras, Umbaska, SpecialSkript (Addons Perso), WildSkript, SkriptOras1.1.0 (Addons Perso)
Cauldron 1..7.10
Je cherche actuellement à arrêter tout un programme.
Je m'explique, un long programme de progression d'un virus en en cours et je cherche à l’arrêter.
J'ai essayé de mettre un "stop" mais cela ne sert qu'à interrompre la suite du programme et non sa totalité. Voici le code :
command /startvirus [<text>]: trigger: if arg 1 is not set: make player execute command "/§virus0" wait 4 seconds if {infection.%uuid of player%} is true: make player execute command "/§virus1" wait 4 seconds if {infection.%uuid of player%} is true: make player execute command "/§virus2" wait 4 seconds if {infection.%uuid of player%} is true: make player execute command "/§virus3" wait 4 seconds if {infection.%uuid of player%} is true: make player execute command "/§virus4" wait 4 seconds if {infection.%uuid of player%} is true: make player execute command "/§virus5" wait 4 seconds if {infection.%uuid of player%} is true: make player execute command "/§virus6" wait 4 seconds if {infection.%uuid of player%} is true: make player execute command "/§virus7" wait 4 seconds if {infection.%uuid of player%} is true: make player execute command "/§virus8" wait 4 seconds if {infection.%uuid of player%} is true: make player execute command "/§virus9" wait 4 seconds if {infection.%uuid of player%} is true: make player execute command "/§virus10" wait 4 seconds if {infection.%uuid of player%} is true: make player execute command "/§virus11" wait 4 seconds if {infection.%uuid of player%} is true: make player execute command "/§virus12" wait 4 seconds if {infection.%uuid of player%} is true: make player execute command "/§virus13" wait 4 seconds if {infection.%uuid of player%} is true: make player execute command "/§virus14" wait 4 seconds if {infection.%uuid of player%} is true: make player execute command "/§virus15" wait 4 seconds if {infection.%uuid of player%} is true: make player execute command "/§virus16" wait 4 seconds if {infection.%uuid of player%} is true: make player execute command "/§virus17" else: stop else: stop else: stop else: stop else: stop else: stop else: stop else: stop else: stop else: stop else: stop else: stop else: stop else: stop else: stop else: stop else: stop else: if arg 1 is "stop": stopMon but est donc d’arrêter totalement ce programme.
Dans l’espoir que vous pourrez m'aider, Dram.
Modifié par Invité12 réponses à cette question
Messages recommandés