Solved Send List Variable Without Conjunctions?

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

Adevy

Member
Oct 13, 2019
2
0
0
24
In short;
If {_nn::1} is "a", {_nn::2} is ",b" and {_nn:3} is "ac"; when I use
Code:
broadcast "%{_nn::*}%"
It will broadcast "a, ,b and ac", but I need the result to be "a,bac". Is there any way to accomplish this without merging them into one variable (because I will use that in a tellraw, and Skript nopes out when a single variable gets too long)?
 
I don't think so. The best you could probably do would be to join the list into one string:
code_language.skript:
set {_example} to join {_nn::*} using ","
I don't think you will ever reach the limit for how long a text could be in Skript.
 
Last edited:
  • Like
Reactions: Adevy
Oh. I previously got an internal error when a line of tellraw got too fast, and it was fixed by splitting the tellraw into multiple variables, then calling them one by one like "/tellraw %player% %{tr1}%%{tr2}%", but now I've retried the same tellraw in one piece, and it worked just fine; so I guess I had been using an outdated version of Skript or something. Merging them will do then, thanks!
 
Status
Not open for further replies.