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 a command execute a command

Discussion in 'Skript' started by KingDooms, Aug 2, 2020 at 5:39 PM.

Tags:
  1. KingDooms

    KingDooms Member

    Joined:
    Jun 10, 2020
    Messages:
    4
    Likes Received:
    0
    So, i have a RPG server where i want people to do /start to start the server, but i dont know how to make them give a rank(By PermissionsEX) that doesn't let them use /start anymore
     
  2. Time4Games

    Time4Games Well-Known Member

    Joined:
    Jul 25, 2020
    Messages:
    60
    Likes Received:
    1
    you can use a variable to do a 1 time use command.
    i am on phone so ill use 2 spaces and not a tab
    Code (Text):
    1. command /start:
    2.   trigger:
    3.     if {start.%player%} is not set:
    4.       set {start.%player%} to 1
    5.       #do something
    6.     else:
    7.       send "&cYou already used that"
     
Loading...