Skript Version: Skript 2.2 (dev25c)
Skript Author: Bensku
Minecraft Version: 1.8
---
Full Code:
Errors on Reload:
N/A
Console Errors:
N/A
Addons using (including versions):
SkQuery / TuSKe
Troubleshooting:
N/A
Have you tried searching the docs? Yes
Have you tried searching the forums? No
What other methods have you tried to fix it? I've tried multiple methods like:
evaluate "if %level of efficiency of player's tool% is greater than or equal to 5" but that doesn't work.
The Skript works, but here's what I want- Currently you can enchant infinity times. I need to stop player's from enchanting if their tool is already Efficiency 5 or higher.
Skript Author: Bensku
Minecraft Version: 1.8
---
Full Code:
code_language.skript:
command /eff:
trigger:
if {UpgradePoints.%player%} is greater than or equal to {@EffUP}:
send " {@UpgradeSuccess}"
remove 1 from {UpgradePoints.%player%}
evaluate "enchant player's tool with efficiency %level of efficiency of player's tool + 1%"
else:
send " {@MissingPoints}"
Errors on Reload:
N/A
Console Errors:
N/A
Addons using (including versions):
SkQuery / TuSKe
Troubleshooting:
N/A
Have you tried searching the docs? Yes
Have you tried searching the forums? No
What other methods have you tried to fix it? I've tried multiple methods like:
evaluate "if %level of efficiency of player's tool% is greater than or equal to 5" but that doesn't work.
The Skript works, but here's what I want- Currently you can enchant infinity times. I need to stop player's from enchanting if their tool is already Efficiency 5 or higher.