Double json in the same line

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

Dave

Active Member
Jul 20, 2018
227
9
18
I only know how to create a json per line:

code_language.skript:
send json "&c%player%" tooltip "&cClick to view inventory." run "/*invsee %player%" to player

I need a way to create two in a single line, something like this:

2018-07-24_17.06.45.png

What I want is that both names can be clickable and not just one (I hope it is understood)
 
I only know how to create a json per line:

code_language.skript:
send json "&c%player%" tooltip "&cClick to view inventory." run "/*invsee %player%" to player

I need a way to create two in a single line, something like this:

View attachment 2513
What I want is that both names can be clickable and not just one (I hope it is understood)
I would highly recommend using JSON.SK for all your Json needs.
I found it very confusing at first, but its actually quite effective
 
you can do it with vanilla skript
code_language.skript:
send "<tooltip:click><command:/invsee %player%>%player%<reset> - <tooltip:click><command:/invesee %{_player2}%>%{_player2}%"
 
Using json.sk, I think it's
code_language.skript:
json("%player%", "Text without json  ||text with json ||ttp:Test ||cmd:/cmd ||another text without json")