Solved Non-Message command.

  • 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.
Dear users,

Could any of you tell me how execute the command "/configuration reload" but not send something like "Successfully reloaded all skripts" but say something like "Successfully reloaded all the configuartion files!" instead except that would only happen with a command that's not "/sk reload all"

Thanks a lot,

- TheCringleYT
 
Code:
command /configuration <text>:
    permission: config.reload
    trigger:
        execute console command "sk reload scripts"
        send "&aSuccessfully reloaded all configuration files!"

This works because if you have the console execute the command, no output will be shown to any player. Only in the console logs will this show, this provides the opportunity to put your custom message.
 
Status
Not open for further replies.