### Skript/Server Version ```markdown [22:49:47 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases [22:49:47 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/ [22:49:47 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials [22:49:47 INFO]: [Skript] Server Version: Paper 26.2 #126 (c646faf) [22:49:47 INFO]: [Skript] Skript Version: 2.17.0-pre1 (skriptlang-github) [22:49:47 INFO]: [Skript] Installed Skript Addons: [22:49:47 INFO]: - skNetwork v1.1.0 [22:49:47 INFO]: - skLambda v1.6.0 (https://github.com/ahmadmsaleem/skLambda) [22:49:47 INFO]: - DiSky v4.29.0 [22:49:47 INFO]: - skript-particle v1.4.1 (https://github.com/sovdeeth/skript-particle) [22:49:47 INFO]: - skript-reflect v2.6.3 (https://github.com/SkriptLang/skript-reflect) [22:49:47 INFO]: - SkBee v3.26.0 (https://github.com/ShaneBeee/SkBee) [22:49:47 INFO]: [Skript] Installed dependencies: [22:49:47 INFO]: - WorldGuard v7.0.19+2400-f395a16 > ``` ### Bug Description When a command has multiple optional arguments one after another, the later optional argument is not parsed correctly. For example, this does not work: ```skript command /getlint (lint|golden|star|blood) [<amount: integer>] [<player: player>]: trigger: send "%arg-1%, %arg-2%, %arg-3%" ``` ### Expected Behavior The command should accept the second optional argument when the first optional argument is also provided. # works ``` command /getlint (lint|golden|star|blood) [<amount: integer> [<player: player>]] command /getlint (lint|golden|star|blood) [<amount: integer> <player: player>] ``` # doesn't work ``` command /getlint (lint|golden|star|blood) [<amount: integer>] [<player: player>] ``` ### Steps to Reproduce ```applescript command /getlint (lint|golden|star|blood) [<amount: integer>] [<player: player>]: executable by: players usage: commandUsage("/getlint <lint|golden|star|blood> [amount] [player]") permission: orb.admin suggestions: set {_type} to choice arg set the suggestions for arg-1 to commandSuggestedValues("getlint", 2, {_type}, "integer") set the suggestions for arg-2 to commandSuggestedValues("getlint", 3, {_type}, "player") trigger: set {_commandInputs::*} to choice arg, ({_amount} ? false) and ({_player} ? false) commandRun_getlint(player ? false, sender, {_commandInputs::*}) ``` ### Errors or Screenshots <img width="451" height="109" alt="Image" src="https://github.com/user-attachments/assets/484fa539-13b8-41fd-8a06-3561438775ad" /> <img width="258" height="405" alt="Image" src="https://github.com/user-attachments/assets/bc237a29-4162-4324-b58b-77eb9644c094" /> <img width="274" height="89" alt="Image" src="https://github.com/user-attachments/assets/2b52d01a-8d72-40e7-bfac-5cdd0d048e11" /> <img width="310" height="77" alt="Image" src="https://github.com/user-attachments/assets/a55f8457-c787-4665-b068-735ca2431ea0" /> Sovde testing images ### Other _No response_ ### Agreement - [x] I have read the guidelines above and affirm I am following them with this report.
Activity
skriptlang-automation commentedon Oct 2, 2026