1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved How can I make a command that runs skript code?

Discussion in 'Skript' started by Chickenman, Aug 22, 2022.

Thread Status:
Not open for further replies.
  1. Chickenman

    Chickenman New Member

    Joined:
    Jul 30, 2021
    Messages:
    5
    Likes Received:
    0
    I would like to design a command that lets you type out skript code then lets you send it.

    example:
    Code (Text):
    1. /skrun <Skript Code>
    Is this even possible? If it is, can you give me a basic explanation of how it works? Thanks.
     
    #1 Chickenman, Aug 22, 2022
    Last edited: Aug 23, 2022
  2. Best Answer:
    Post #2 by Jake*, Aug 23, 2022
  3. Jake*

    Supporter

    Joined:
    Jan 30, 2022
    Messages:
    109
    Likes Received:
    6
    in the config file, set the 2 effect commands related options to true, save the file, then run /sk reload config
    once you've done that you can just type in chat !send "lol" or any other effect like !push player upwards or !give an apple to the player
     
    • Like Like x 1
  4. Chickenman

    Chickenman New Member

    Joined:
    Jul 30, 2021
    Messages:
    5
    Likes Received:
    0
    Thanks! This is exactly what I wanted!
     
  5. Jake*

    Supporter

    Joined:
    Jan 30, 2022
    Messages:
    109
    Likes Received:
    6
Thread Status:
Not open for further replies.

Share This Page

Loading...