Solved How to run a command as op (Skript)

  • 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 comminuty!

    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!

Status
Not open for further replies.
No i do not i will install it right now :emoji_slight_smile:
[doublepost=1522860376,1522859948][/doublepost]Would this be the proper way to use this?

make %player% run command "spawn" as op
 
Yes i do it is....

...Invalid line - all code has to be put in to triggers (OPmcs.sk, line 1: make player run command "spawn" as op')
 
Well ok... The problem is that you dont have a trigger, which means, you have to make one.
To make a trigger you have to create a command or a event.
Here is a example:
code_language.skript:
command /test:
    trigger:
        make player run command "spawn" as op
 
  • Like
Reactions: OrangeCanadian
Status
Not open for further replies.