Idk why this say wend I do /skirpt reload <scriptname> just this one say internal error ocured on red a pocible solution plis??
code_language.skript:
on join:
set {_tieneskit.%player%} to "notengo"
command /medico:
permission: poderes
permission message: &cEn este mundo no puedes usar este comando
trigger:
if {_tieneskit.%player%} is "tengo":
send "&cYa Tienes un kit no puedes celecionar 2"
else if {_tieneskit.%player%} is "notengo":
execute console command "/clear %player%"
wait 1 second
equip player with diamond helmet
equip player with Chainmail Boots
equip player with Leather Pants
equip player with Leather Tunic
dye player's pants red
dye player's tunic red
give a wood Shovel of unbreaking 3,sharpness 1 to the player
give a paper of unbreaking 1 named "&aClick&cCurate" to the player
give 3 Rose Red named "&aClick&cCurate" to the player
execute console command "/give %player% potion 1 16385 {CustomPotionEffects:[{Id:6,Amplifier:0,Duration:80}],display:{Name:"Cura tu equipo",Lore:["Usala para tu equipo","No seas egoista"]}}"
set {_tieneskit.%player%} to "tengo"
#Paper medico
on rightclick holding a paper:
player is in "poderes"
make console execute command "/heal %player%"
remove 1 paper from the player
give 10 gray dye to the player
wait 1 second
remove 1 gray dye to the player
wait 1 second
remove 1 gray dye to the player
wait 1 second
remove 1 gray dye to the player
wait 1 second
remove 1 gray dye to the player
wait 1 second
remove 1 gray dye to the player
wait 1 second
remove 1 gray dye to the player
wait 1 second
remove 1 gray dye to the player
wait 1 second
remove 1 gray dye to the player
wait 1 second
remove 1 gray dye to the player
wait 1 second
remove 1 gray dye to the player
give a paper of unbreaking 1 named "&aClick&cCurate" to the player
#Paper medico
#Rosas curativas
on rightclick holding a Rose Red:
player is in "poderes"
make console execute command "/heal %player%"
remove 1 rose red to the player
send "&cCurado"
#Rosas curativas
command /mago:
permission: poderes
permission message: &cEn este mundo no puedes usar este comando
trigger:
if {_tieneskit.%player%} is "tengo":
send "&cYa Tienes un kit no puedes celecionar 2"
else if {_tieneskit.%player%} is "notengo":
execute console command "/clear %player%"
wait 1 second
equip the player with all leather armor of protection 3
dye player's pants purple
dye player's tunic purple
dye player's boots purple
dye player's helmet purple
give a stone sword of umbraking 3 to the player
execute console command "/give %player% potion 1 16392 {CustomPotionEffects:[{Id:2,Amplifier:0,Duration:20},{Id:7,Amplifier:0,Duration:20},{Id:19,Amplifier:0,Duration:40}],display:{Name:"Granada",Lore:["Tirala para matar!"]}}"
execute console command "/give %player% potion 1 8195 {CustomPotionEffects:[{Id:2,Amplifier:1,Duration:120},{Id:9,Amplifier:8,Duration:40},{Id:10,Amplifier:3,Duration:80},{Id:11,Amplifier:2,Duration:80},{Id:22,Amplifier:0,Duration:600}],display:{Name:"Curate"}}"
execute console command "/give %player% potion 1 16387 {CustomPotionEffects:[{Id:11,Amplifier:0,Duration:40},{Id:15,Amplifier:0,Duration:100},{Id:22,Amplifier:2,Duration:600}],display:{Name:"flash"}}"
execute console command "/give %player% potion 1 16396 {CustomPotionEffects:[{Id:2,Amplifier:90,Duration:60},{Id:15,Amplifier:0,Duration:20},{Id:22,Amplifier:2,Duration:20}],display:{Name:"Para!!",Lore:["Detienes tu enemigo por 3 segundos ","Corre!!"]}}"