Command to skill doesnt work

Discussion in 'Community Support' started by Skullengine, Jun 18, 2019.

  1. Skullengine

    Skullengine New Member

    Joined:
    Jun 17, 2019
    Messages:
    14
    Likes Received:
    0
    I tried to add this skill on boss death but doesnt work, i want everyone in the radius to get their items repaired any clues?
    - command{c="repair all"} @PIR{r=40} ~onDeath
     
    #1
  2. Roger M

    Roger M Member
    Premium Supporter Supporter Quality Assurance

    Joined:
    May 13, 2016
    Messages:
    163
    Likes Received:
    17
    That because you are trying to pass the command “/repair all” from the console. You need to include the player’s name in the command.
     
    #2
  3. Skullengine

    Skullengine New Member

    Joined:
    Jun 17, 2019
    Messages:
    14
    Likes Received:
    0
    <target.name> this doesnt work either
     
    #3
  4. Roger M

    Roger M Member
    Premium Supporter Supporter Quality Assurance

    Joined:
    May 13, 2016
    Messages:
    163
    Likes Received:
    17
    I don’t think you can even run repair all on another player, I just checked the command reference from essentials. Run it as a command sudoskill.
     
    #4
  5. Skullengine

    Skullengine New Member

    Joined:
    Jun 17, 2019
    Messages:
    14
    Likes Received:
    0
    - sudoskill{s=<target.name> /repair all}@PIR{r=40} ~onDeath?
     
    #5
  6. Roger M

    Roger M Member
    Premium Supporter Supporter Quality Assurance

    Joined:
    May 13, 2016
    Messages:
    163
    Likes Received:
    17
    No, read up on how sudoskills work. If you still have an issue let me know.
     
    #6
  7. Skullengine

    Skullengine New Member

    Joined:
    Jun 17, 2019
    Messages:
    14
    Likes Received:
    0
    tried this, mobskill = - sudoskill{s=sudo} @PIR{r=40} ~onDeath

    and in the skills config:
    sudo:
    Skills:
    - command{c="repair all"}
     
    #7

Share This Page