1.8.8 SKRIPT - Can't understand this condition/effect

Discussion in 'Spigot Plugin Development' started by Coolkc456, Jun 13, 2021.

  1. I'm trying to simply make a player execute a command as an op and everywhere I've looked says to do it this way but it still says that it can't understand the condition/effect. Can someone help? Thanks in advance.
    Code (Text):
    command /copduty:
      description: Executes additional commands when someone goes on duty.
      permission: cop.extracommand
      permission message: &6&lV&e&lN&8 ➤&f&l You do not have permission to use this command!
      executable by: player
        make player run cmd "cop" as op
        make player run cmd "Barracks" as op
    Skript version: 2.2-dev36
  2. Skript addon is missing.
  3. Which one?
  4. Can you show plugins list?
  5. I only have Skript installed, no other Skript add-ons.
  6. your code missing try this
    Code (Text):
    run player cmd "say maincreft" as op
    • Agree Agree x 2
  7. I do not recommend running commands as OP - it actually OPs the player and immediately de-OPs once the command is executed, which is a security risk, instead give the permission to use the command and remove it immediately