Skript icon indicating copy to clipboard operation
Skript copied to clipboard

[SUGGESTION] add delete changer to ExprMessage

Open Fusezion opened this issue 2 years ago • 8 comments

Suggestion

add support for using delete (join|death|quit) message

Why?

Not supported and using "" or " " only make an empty line

Other

kick message is labeled not null sadly so we can't do it with that.

Agreement

  • [X] I have read the guidelines above and affirm I am following them with this suggestion.

Fusezion avatar Aug 18 '23 00:08 Fusezion

Setting it to an empty string makes the message not send.

UnderscoreTud avatar Aug 20 '23 17:08 UnderscoreTud

I think this would be nice to have but I think we should probably use clear death message in the example rather than delete death message.

Pikachu920 avatar Aug 20 '23 20:08 Pikachu920

I think this would be nice to have but I think we should probably use clear death message in the example rather than delete death message.

clear is the same as delete under the ChangeMode.DELETE changer.

TheLimeGlass avatar Aug 20 '23 20:08 TheLimeGlass

I think this would be nice to have but I think we should probably use clear death message in the example rather than delete death message.

clear is the same as delete under the ChangeMode.DELETE changer.

yup sorry if I wasn't clear, I mean that in the documentation for the changer I'd prefer if we using clear over delete.

Pikachu920 avatar Aug 20 '23 21:08 Pikachu920

Yeah, sorry, delete was just the thing that came to mind when i wrote this. I agree that clear should be the example stuff

Fusezion avatar Aug 20 '23 21:08 Fusezion

using "" or " " only make an empty line

Assuming you’re using 1.8 (or pre 1.13, iirc) when setting the message to "" displays a newline instead

NotSoDelayed avatar Sep 07 '23 08:09 NotSoDelayed

If it's only pre 1.13 that would probably explain it, I opened this based off what a discord user experienced while in skript help still a nice addition non the less to have rather then relying on unintended set method

Fusezion avatar Sep 07 '23 08:09 Fusezion

using "" or " " only make an empty line

Assuming you’re using 1.8 (or pre 1.13, iirc) when setting the message to "" displays a newline instead

Keep in mind, Skript 2.7 only supports 1.13+

AyhamAl-Ali avatar Sep 07 '23 09:09 AyhamAl-Ali