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

Snow-Pyon picture Snow-Pyon  路  4Comments

Anarchick picture Anarchick  路  3Comments

TrademarkTM picture TrademarkTM  路  4Comments

ghost picture ghost  路  3Comments

Misio12320 picture Misio12320  路  3Comments