Skript Version: Latest Version
Skript Author: Me
Minecraft Version: Server 1.8.9
---
Full Code:
Note: If the code is too large, feel free to use a pasting website (Pastebin or hastebin)
Note: If a variable is being set in another script, but not shown, please explain how they are being set
Errors on Reload:
Console Errors: (if applicable)
Other Useful Info:
Addons using (including versions):
ADDONS HERE
Troubleshooting:
Have you tried searching the docs? Yes/No
Have you tried searching the forums? Yes/No
What other methods have you tried to fix it?
[doublepost=1512902154,1512902027][/doublepost]When i use the /speedblod
It just ignores the "if {%player%_blod} is greater than 3:"
and jumps straight over to the "else:"
Skript Author: Me
Minecraft Version: Server 1.8.9
---
Full Code:
Note: If the code is too large, feel free to use a pasting website (Pastebin or hastebin)
Note: If a variable is being set in another script, but not shown, please explain how they are being set
code_language.skript:
Variables:
{%player%_blod} = 0
command /resetblod <player>:
trigger:
set {%arg-1%_blod} to 0
send "&cBlodHeks &8: &7Du har sat %arg-1%'s &cblod &7til 0."
command /blod:
trigger:
send "&cBlodHeks &8: &7Du har &f%{%player%_blod}% &cblod&7."
command /setblod <player> [<text>]:
trigger:
set {%arg-1%_blod} to arg-2
send "&cBlodHeks &8: &7Du har sat %arg-1%'s &cblod &7til &f%arg-2%&7."
command /Blodheks:
trigger:
open chest with 3 rows named "&c&lBlod Heks" to player
wait 1 tick
format slot 4 of player with book named "&eINFO" with lore "&rDu har disse buffs, indtil du dør!" to be unstealable
format slot 11 of player with sugar named "&rSpeed" with lore "||||&c4 Blod" to close then run [make player execute command "/speedblod"]
format slot 13 of player with nether wart item named "&rStrength" with lore "||||&c6 Blod" to close then run [make player execute command "/strengthblod"]
format slot 15 of player with golden apple:0 named "&rRegen" with lore "||||&c4 Blod" to close then run [make player execute command "/regenblod"]
format slot 22 of player with redstone named "&cBlod &7: &f%{%player%_blod}%" to be unstealable
command /speedblod:
trigger:
if {%player%_blod} is greater than 3:
remove 4 from {%player%_blod}
else:
send "&cBlodHeks &8: &7Du har ikke nok blod."
Errors on Reload:
code_language.skript:
No ERROR
Console Errors: (if applicable)
code_language.skript:
No ERROR
Other Useful Info:
Addons using (including versions):
ADDONS HERE
Troubleshooting:
Have you tried searching the docs? Yes/No
Have you tried searching the forums? Yes/No
What other methods have you tried to fix it?
[doublepost=1512902154,1512902027][/doublepost]When i use the /speedblod
It just ignores the "if {%player%_blod} is greater than 3:"
and jumps straight over to the "else:"