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.

Make %arg-1% more than only one word.

Discussion in 'Skript' started by Gowixx, Jul 20, 2020.

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

    Gowixx Member

    Joined:
    Jul 9, 2020
    Messages:
    28
    Likes Received:
    5
    So basically I have the following:


    command /console [<text>]:
    permission:rac.use
    trigger:
    if arg 1 is not set:
    send "&cUndefined Arguments."
    stop
    else:
    console command "/%arg-1%"
    stop


    How can I make it so arg arg 1 can me more than just one word like "ban "

    Help is very much appreciated <3
    --- Double Post Merged, Jul 20, 2020, Original Post Date: Jul 20, 2020 ---
    @ShaneBee sorry for the @ but could you help lol?
     
  2. BaeFell

    BaeFell I'm Poppy
    Admin

    Joined:
    Nov 27, 2016
    Messages:
    834
    Likes Received:
    226
  3. Gowixx

    Gowixx Member

    Joined:
    Jul 9, 2020
    Messages:
    28
    Likes Received:
    5
    @BaeFell
    Thast the problem, I did that but my project got rejected for "insufficent code"
     
Thread Status:
Not open for further replies.

Share This Page

Loading...