Skript icon indicating copy to clipboard operation
Skript copied to clipboard

{var} ? ""-"" <- broke

Open Darkweasam opened this issue 5 years ago • 2 comments

Skript/Server Version

2.6-beta2
Paper104 1.17.1-r0.1snapshot

Bug Description

Can't understand this expression: {_test} ? ""-""

Expected Behavior

It should return a dash if its not set ( being )

Steps to Reproduce

command /test: trigger: send "%{_test} ? ""-""%"

Errors or Screenshots

Replace this text with your paste link or errors/screenshots/videos.

Other

No response

Agreement

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

Darkweasam avatar Jul 15 '21 21:07 Darkweasam

Quote parsing was fixed in 2.6-alpha1, use ? "-"

Th-Underscore avatar Jul 15 '21 23:07 Th-Underscore

Quote parsing was fixed in 2.6-alpha1, use ? "-"

Thank you, this fixed my issue!

Darkweasam avatar Jul 16 '21 17:07 Darkweasam