Solved Tellraw in Skript

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

MatsGaming

New Member
Apr 6, 2018
8
0
0
19
Hello,

I want to execute a /tellraw command as the console in Skript. My /tellraw command has quotation marks, but the code for executing a console command also needs quotation marks. How could I do this?
(I hope my explanation on what I'm trying to do is clear)

MatsGaming
 
Please use the proper request format
found HERE

We can only help you if you show the code you are currently using, and show us the errors or problems you are having
 
Please use the proper request format
found HERE

We can only help you if you show the code you are currently using, and show us the errors or problems you are having
I don't have any problems with my code, I'm just wondering how to do something
 
@MatsGaming we understand but we want to keep everything organized. So please look at the format and post this in REQUESTS if you want somebody to help you with creating a script.
 
I would suggest, type up a skript, and put your command in, see how it runs, then come back here.
All I can say is, after your event do
execute console command "<your command here>"

Other than that, I do not know how to help you, because you haven't posted a problem.
 
@MatsGaming we understand but we want to keep everything organized. So please look at the format and post this in REQUESTS if you want somebody to help you with creating a script.
I'm only asking for one single line of code, not even a line of code, just a Minecraft command in Skript and not an entire Skript!

I would suggest, type up a skript, and put your command in, see how it runs, then come back here.
All I can say is, after your event do
execute console command "<your command here>"

Other than that, I do not know how to help you, because you haven't posted a problem.
I just don't see how you guys can't answer my question with the information I've given you. All I'm asking is how to use quotation marks for the /tellraw command in Skript. It's as easy as saying "Just remove them from the command" or whatever you have to do. But ok, I will try to give you more (useless) information tomorrow
 
well have you tried
execute console command "<command here>"
I have, but as I already said it doesn't work probably because there's quotation marks in the /tellraw command itself and also in

execute console command "/command"
 
im not the best with tell raw stuff.... but ive seen places where if you have to insert quotes, you need to double up the quotes, give that a try?
 
You're welcome!
Im looking at old posts, and I remember helping out someone who had the EXACT same problem
I suggested checking out JSON formatting and they said it worked perfectly, so maybe give that a try as well

Also this handy little JSON API skript
 
You're welcome!
Im looking at old posts, and I remember helping out someone who had the EXACT same problem
I suggested checking out JSON formatting and they said it worked perfectly, so maybe give that a try as well

Also this handy little JSON API skript
I don't think you can do multiple clickable texts in chat in one message with JSON, I've tried it before. Not 100% sure though if you really can't do that with JSON, because I might've made a mistake in my code
[doublepost=1523087629,1523084748][/doublepost]
im not the best with tell raw stuff.... but ive seen places where if you have to insert quotes, you need to double up the quotes, give that a try?
Didn't work :/
[doublepost=1523089354][/doublepost]
You're welcome!
Im looking at old posts, and I remember helping out someone who had the EXACT same problem
I suggested checking out JSON formatting and they said it worked perfectly, so maybe give that a try as well

Also this handy little JSON API skript
Ok, I was wrong. You can! Thank you for helping me!
 
I don't think you can do multiple clickable texts in chat in one message with JSON, I've tried it before. Not 100% sure though if you really can't do that with JSON, because I might've made a mistake in my code
[doublepost=1523087629,1523084748][/doublepost]
Didn't work :/
[doublepost=1523089354][/doublepost]
Ok, I was wrong. You can! Thank you for helping me!
You’re welcome. I’m glad you got it working
 
Status
Not open for further replies.