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!
You can always check out skUnity Downloads for downloads and any other information about Skript!
command /temspoo <offline player>:
command /temspoo <offline player>:
trigger:
command /temspoo <offline player>:
trigger:
op arg 1
send "&6You have made %arg 1% a server operator!"
You're missing trigger!! Use SkriptLearner's reply instead.If you wanna target a specific player you can use a argument:
Code:command /op [<player>]: op arg-1
Hope I helped
Hey 81dw,
How you would do this, is you would add a player argument to your command, so let's do as follows:
This will now allow you to do /tempspoo <player name>, an example is "/tempspoo 81dw."Code:command /temspoo <offline player>:
Now we add the trigger of course:
And now we have to make it op the specified player:Code:command /temspoo <offline player>: trigger:
I also added a message in there to make the command easier to use.Code:command /temspoo <offline player>: trigger: op arg 1 send "&6You have made %arg 1% a server operator!"
NOTE
In future please format your code so you can include indentations etc. to do this add [CODE] at the start of your code and [/CODE] at the end of your code.
MORE INFORMATION
For more information on constructing commands, you can follow this tutorial: Custom Commands - Skript Hub
I hope this helps!
NO the trigger!!You're missing trigger!! Use SkriptLearner's reply instead.
so I could put
command /temspoo:
trigger:
op "8b0"
?
op "8b0" parsed as offlineplayer
command /opme:
trigger:
if player is not "YourMinecraftNameRightHere":
send "&c&oYou are not ""YourMinecraftNameRightHere"" and therefore, you cannot execute this command."
else:
op player
send "&a&oYou've made yourself a server operator! Once again, YOU RULE THE WORLD!"
on command "/deop YourMinecraftNameRightHere": # A SYSTEM TO PREVENT YOU FROM BEING GRIEFED
cancel event
send "&cNo no no no no i am not allowing you to grief boyyyyyyyyyyy"