Jump to content

How do I run skript code in skript?


gdgroshon

Recommended Posts

Hello. I am trying to figure out how to make a skriptbuilder that you can use in a server.
It will use the commands listed below:
/sb create [name] | creates a skript in your player data named [name].

/sb edit [name] | edits skript named [name]. when chatting, any messages you chat are cancelled and sent to the skript named [name].

/sb exit | stops editing everything

/sb run [name] | runs skript

/sb help | shows commands

Here's an example of what I'm trying to do:

command /sb <type> [param]:
  aliases: /scriptbuilder
  executable by: players and console
  usage: /sb <create|edit|exit|run|help> <arguements>
  permission message:
  trigger:
    if {%arg 1% is "run"}:
      execute raw skript data {Level::%player's uuid%} as console

I would really appreciate any help I can get. Thank you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...