execute console command dosent work

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Shpewps

Member
Oct 9, 2022
2
0
1
so whenever i run the 2nd code, it dosent work, but running the first code directly works?
it also dosent work if i just use my username, im using it in a different code btw, but this dosent work either

1st code "main code"

command /reffects <player>:
trigger:
remove all potions from arg-1
set {speedeffect.%arg-1%} to 0
set {jumpeffect.%arg-1%} to 0
set {extrahp.%arg-1%} to 1
set {oreprob.%arg-1%} to 1
set {visioneffect.%arg-1%} to 0
set {extradmg.%arg-1%} to 1
if {races.feline.%arg-1%} is true:
wait 1 tick
set {speedeffect.%arg-1%} to 1
set {jumpeffect.%arg-1%} to 2
set {extrahp.%arg-1%} to 0.9
else if {races.elf.%arg-1%} is true:
wait 1 tick
set {speedeffect.%arg-1%} to 1
set {visioneffect.%arg-1%} to 1
else if {races.orc.%arg-1%} is true:
wait 1 tick
set {speedeffect.%arg-1%} to -1
set {extradmg.%arg-1%} to 1.1
set {extrahp.%arg-1%} to 1.2
else if {races.dwarf.%arg-1%} is true:
wait 1 tick
set {oreprob.%arg-1%} to 1.5
else if {races.demigod.%arg-1%} is true:
wait 1 tick
set {speedeffect.%arg-1%} to 2
set {jumpeffect.%arg-1%} to 2
set {extrahp.%arg-1%} to 0.9
set {visioneffect.%arg-1%} to 1
set {extradmg.%arg-1%} to 1.2
apply potion of speed of tier {speedeffect.%arg-1%} to player for 24 hours
apply potion of jump of tier {jumpeffect.%arg-1%} to player for 24 hours
apply potion of night vision of tier {visioneffect.%arg-1%} to player for 24 hours


2nd code "example"

command /tst <player>:
trigger:
execute console command "/reffects %arg-1%"
 
command EXECUTECONSOLECOMMAND:
trigger:
execute console command "kill @a"


your issu dont put a / in the command