paryx Posted August 4, 2023 Share Posted August 4, 2023 So I've made this broadcast command, when I execute it from console it just says <none> on the "Announced By" section, here's an 2 images to show you what it looks like: (player) (console) So I was trying to make a command where only the console can execute it. Is there a value to do that? I've tried executable: Console But that won't work. Can anyone help me with it? Thank you! hi; just gamin Working on my biggest project yet, a full skywars server. Read more about it here. Link to comment Share on other sites More sharing options...
LunarBurn1 Posted August 4, 2023 Share Posted August 4, 2023 Hey paryx! Using executable by: console Should work, but you could also add something along the lines of if executor is console: (Last one is untested, but should work) Let me know if they don't work! 1 Link to comment Share on other sites More sharing options...
paryx Posted August 5, 2023 Author Share Posted August 5, 2023 14 hours ago, LunarBurn101 said: Hey paryx! Using executable by: console Should work, but you could also add something along the lines of if executor is console: (Last one is untested, but should work) Let me know if they don't work! Hello @LunarBurn101, It does work! Thank you for your help! There is just one thing I would like to know: Spoiler Is there a way you can change the message where it says "This command can only be executed by console." Thank you for your time! (sorry for the late response btw) hi; just gamin Working on my biggest project yet, a full skywars server. Read more about it here. Link to comment Share on other sites More sharing options...
LunarBurn1 Posted August 6, 2023 Share Posted August 6, 2023 @paryx, in response to your previous question: If you are using something along the lines of if executor is console: You could make it send a message if the executor is not console, like this if executor is console: #rest of your skript if it IS console else: send "&cHey! You aren't console!" #change the text to whatever message you want Untested, but should work! Let me know if you need anything else! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now