Skript: Multiple lines in kick-reason?

Created on 21 Sep 2019  路  5Comments  路  Source: SkriptLang/Skript

Question

Is it possbile to do something like
command /test: trigger: kick the player due to "Test %new line% test"

So you can see the message on different lines?

All 5 comments

Yes that code would work fine but Skript itself doesn't have line breaks yet. The SkQuery addon provides the (nl|new line) expression.

Maybe something to add to Skript? I think more people would like this :)

It's been discussed before but not yet implemented because it'd need some overhauling on other expressions, e.g. new lines may work on messages but cause issues in item lore

Oh, I understand;
Maybe you can do something like:
command /test: trigger: kick the player due to "line 1", "line 2" and "line 3"
I think you can use it in an item lore as well.
It's just idea :)

Good idea, might do a PR on it

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Anoniempje1234 picture Anoniempje1234  路  3Comments

Romitou picture Romitou  路  3Comments

Coolfire02 picture Coolfire02  路  3Comments

cyanide43 picture cyanide43  路  4Comments

wohahobg picture wohahobg  路  3Comments