Full Code:
command /starter-pack [<player>]:
trigger:
if arg-1 is not set:
send "&6Buy&7>>&6%player% &7vil gerne købe &5&lSpecial Edition &5&lStarter Bundle" to all players
if arg-1 is set:
if {op.%player%} is true:
equip arg-1 with diamond helmet of protection 2 and unbreaking 1 named "&5&lStarter Bundle"
equip arg-1 with iron chestplate of protection 3 and unbreaking 1 named "&5&lStarter Bundle"
equip arg-1 with iron leggings of protection 2 and unbreaking 1 named "&5&lStarter Bundle"
equip arg-1 with diamond boots of protection 2 and unbreaking 1 named "&5&lStarter Bundle"
add 1 of diamond sword of sharpness 1 to arg-1's inventory named "&5&lStarter Bundle"
add 1 of diamond pickaxe of efficiency 3 and unbreaking 3 to arg-1's inventory named "&5&lStarter Bundle"
add 384 of obsidian to arg-1's inventory named "&5&lStarter Bundle"
send "&6Kit &7Du modtog kittet &5&lStarter&7-&5&lBundle" to arg-1
send "&7Du gav kittet &5&lStarter&7-&5&lBundle &7til &6%arg-1%" to player
Code (Skript):
https://imgur.com/nLmpOuj
Code (Skript):
Console Errors: (if applicable)
Code (Skript):
Addons using (I don't know where to find versions but my server is running 1.8 ):
skRayfll SkQuery
Troubleshooting:
Have you tried searching the docs?Yes
Have you tried searching the forums? Yes
command /starter-pack [<player>]:
trigger:
if arg-1 is not set:
send "&6Buy&7>>&6%player% &7vil gerne købe &5&lSpecial Edition &5&lStarter Bundle" to all players
if arg-1 is set:
if {op.%player%} is true:
equip arg-1 with diamond helmet of protection 2 and unbreaking 1 named "&5&lStarter Bundle"
equip arg-1 with iron chestplate of protection 3 and unbreaking 1 named "&5&lStarter Bundle"
equip arg-1 with iron leggings of protection 2 and unbreaking 1 named "&5&lStarter Bundle"
equip arg-1 with diamond boots of protection 2 and unbreaking 1 named "&5&lStarter Bundle"
add 1 of diamond sword of sharpness 1 to arg-1's inventory named "&5&lStarter Bundle"
add 1 of diamond pickaxe of efficiency 3 and unbreaking 3 to arg-1's inventory named "&5&lStarter Bundle"
add 384 of obsidian to arg-1's inventory named "&5&lStarter Bundle"
send "&6Kit &7Du modtog kittet &5&lStarter&7-&5&lBundle" to arg-1
send "&7Du gav kittet &5&lStarter&7-&5&lBundle &7til &6%arg-1%" to player
Code (Skript):
- command /starter-pack [<player>]:
- trigger:
if arg-1 is not set:
send "&6Buy&7>>&6%player% &7vil gerne købe &5&lSpecial Edition &5&lStarter Bundle" to all players
if arg-1 is set:
if {op.%player%} is true:
equip arg-1 with diamond helmet of protection 2 and unbreaking 1 named "&5&lStarter Bundle"
equip arg-1 with iron chestplate of protection 3 and unbreaking 1 named "&5&lStarter Bundle"
equip arg-1 with iron leggings of protection 2 and unbreaking 1 named "&5&lStarter Bundle"
equip arg-1 with diamond boots of protection 2 and unbreaking 1 named "&5&lStarter Bundle"
add 1 of diamond sword of sharpness 1 to arg-1's inventory named "&5&lStarter Bundle"
add 1 of diamond pickaxe of efficiency 3 and unbreaking 3 to arg-1's inventory named "&5&lStarter Bundle"
add 384 of obsidian to arg-1's inventory named "&5&lStarter Bundle"
send "&6Kit &7Du modtog kittet &5&lStarter&7-&5&lBundle" to arg-1
send "&7Du gav kittet &5&lStarter&7-&5&lBundle &7til &6%arg-1%" to player
https://imgur.com/nLmpOuj
Code (Skript):
Console Errors: (if applicable)
Code (Skript):
- Error here
Addons using (I don't know where to find versions but my server is running 1.8 ):
skRayfll SkQuery
Troubleshooting:
Have you tried searching the docs?Yes
Have you tried searching the forums? Yes