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.

How to get the arguments of an "On command" event

Discussion in 'Skript' started by Alphinex, Feb 21, 2021.

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

    Alphinex Member

    Joined:
    Apr 3, 2019
    Messages:
    2
    Likes Received:
    0
    The title pretty much explains it but i need the arguments of a command, which im listening for in an On command event.
     
  2. Ankoki

    Moderator Supporter Addon Developer

    Joined:
    Nov 5, 2020
    Messages:
    55
    Likes Received:
    12
    Its just %arguments%
     
  3. Alphinex

    Alphinex Member

    Joined:
    Apr 3, 2019
    Messages:
    2
    Likes Received:
    0
    I tried that...
    I need specifically the first argument
    --- Double Post Merged, Feb 21, 2021, Original Post Date: Feb 21, 2021 ---

    I found a solution!
    I used %arguments% and split it at space, then selected the first half and it worked!
    Thanks
     
  4. Nikd0

    Nikd0 Active Member

    Joined:
    May 30, 2020
    Messages:
    204
    Likes Received:
    19
    mark the thread as solved
     
Thread Status:
Not open for further replies.

Share This Page

Loading...