Skript

Skript

743k Downloads

Uppercasing everything besides Trigger in command structure throws unexpected entry

EquipableMC opened this issue ยท 0 comments

commented

Skript/Server Version

[17:57:03 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[17:57:03 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[17:57:03 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[17:57:03 INFO]: [Skript] Server Version: 1.21-123-0a1be9a (MC: 1.21)
[17:57:03 INFO]: [Skript] Skript Version: 2.9.3 (selfbuilt-unknown)
[17:57:03 INFO]: [Skript] Installed Skript Addons: None
[17:57:03 INFO]: [Skript] Installed dependencies: None

Bug Description

When you capitalize the first letter of each usage inside the command structure, the skript parser makes it return an error.

Expected Behavior

The expected Behavior is that this should be accepted as this also makes much sense as well. Uppercase T in trigger is oddly accepted, though the rest aren't.

Steps to Reproduce

Command test:
Usage: run /test
Description: test command
Prefix: test
Permission: skript.test
Permission Message: boo
Aliases: testing
Executable By: console
Cooldown: 5 seconds
Cooldown Message: hi
Cooldown Bypass: skript.command.broadcast.admin
Cooldown Storage: {blah::boo::%player%}
Trigger:
broadcast "a"

Errors or Screenshots

image
image

Other

I am using the build from my small pr which adds 1.21.1 tests

Agreement

  • I have read the guidelines above and affirm I am following them with this report.