Jump to content

I need help with my skript.


paryx

Recommended Posts

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:

image.png.efebefc6cd4a6cb27fde4ea2dc1c5b71.png (player)

image.png.8a784f97fbf06e6fcf4c205ae0f654f8.png (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

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

@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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...