I'm trying to add a regeneration splash potion in NoDebuf and I can't get it to work! Any tips?
code_language.skript:
command /kit [<text>]:
trigger:
if arg 1 is not set:
message "{@prefix} &aKits: &fBrute"
if arg 1 is "OP":
if player has permission "kit.OP":
if {kitpvp.%player%} is true:
execute console command "give %player% diamond_sword"
execute console command "give %player% diamond_helmet"
execute console command "give %player% diamond_chestplate"
execute console command "give %player% diamond_leggings"
execute console command "give %player% diamond_boots"
execute console command "give %player% fishing_rod"
execute console command "give %player% golden_apple 10"
stop
else:
message "{@prefix} &cYou're not in KitPvP, silly!"
if arg 1 is "Brute":
if {kitpvp.%player%} is true:
execute console command "give %player% stone_sword 1"
execute console command "give %player% iron_helmet 1"
execute console command "give %player% iron_chestplate 1"
execute console command "give %player% iron_leggings 1"
execute console command "give %player% iron_boots 1"
execute console command "give %player% arrow 1"
give player bow of infinity named "&6Bow"
execute console command "give %player% fishing_rod"
stop
if arg 1 is "NoDebuff":
if {kitpvp.%player%} is true:
execute console command "give %player% 373:16385 1"
give player 1 regeneration potion
stop
if arg 1 is "Troll":
if player has permission "kit.troll":
if {kitpvp.%player%} is true:
execute console command "give %player% web 64"
give player stick of knockback 50 named "&6TROOLOLOL"
stop
else:
message "{@prefix} &cYou don't have permission to use this kit!"