Layout:
Skript Version (do not put latest): Skript 2.2 (dev25)
Skript Author: Bensku
Minecraft Version: 1.8
---
I basically just want to know how you put a lore on a item where the ' if player's held item is a chest named "&d&lRANDOM SPECIAL PEICE '&f&lPHANTOM&d&l'":' line please reply
Code (Skript):
on rightclick:
if player's held item is a chest named "&d&lRANDOM SPECIAL PEICE '&f&lPHANTOM&d&l'":
cancel event
remove 1 chest named "&d&lRANDOM SPECIAL PEICE '&f&lPHANTOM&d&l'" from player
set {_chance} to a random integer between 1 and 200
if {_chance} is between 1 and 50:
make console execute command "/ea givearmor %player% Phantom Helmet"
if {_chance} is between 51 and 100:
make console execute command "/ea givearmor %player% Phantom Chestplate"
if {_chance} is between 101 and 150:
make console execute command "/ea givearmor %player% Phantom Leggings"
if {_chance} is between 151 and 200:
make console execute command "/ea givearmor %player% Phantom Boots"
Errors on Reload:
Code (Skript):
Code (Skript):
Skript Version (do not put latest): Skript 2.2 (dev25)
Skript Author: Bensku
Minecraft Version: 1.8
---
I basically just want to know how you put a lore on a item where the ' if player's held item is a chest named "&d&lRANDOM SPECIAL PEICE '&f&lPHANTOM&d&l'":' line please reply
Code (Skript):
on rightclick:
if player's held item is a chest named "&d&lRANDOM SPECIAL PEICE '&f&lPHANTOM&d&l'":
cancel event
remove 1 chest named "&d&lRANDOM SPECIAL PEICE '&f&lPHANTOM&d&l'" from player
set {_chance} to a random integer between 1 and 200
if {_chance} is between 1 and 50:
make console execute command "/ea givearmor %player% Phantom Helmet"
if {_chance} is between 51 and 100:
make console execute command "/ea givearmor %player% Phantom Chestplate"
if {_chance} is between 101 and 150:
make console execute command "/ea givearmor %player% Phantom Leggings"
if {_chance} is between 151 and 200:
make console execute command "/ea givearmor %player% Phantom Boots"
Errors on Reload:
Code (Skript):
- No errors
Code (Skript):
- No console errors