Add operations on wildcard variable names #12

Open
opened 2026-08-22 11:14:55 +02:00 by vlw · 0 comments
Owner

It would be very helpful to be able to unset variables using a wildcard pattern.

Skärmbild 2026-08-22 110803

Cleaning up all of these auto-generated variables by hand is pretty annoying. Tools like NBTExplorer can be used for this, but I think it would be nice to have syntax like this:

var:unset { k: "bomberman_*" }

This would pattern match any string after bomberman_

It would be very helpful to be able to unset variables using a wildcard pattern. ![Skärmbild 2026-08-22 110803](/attachments/8d4ec3f2-1e72-4290-8f00-95ea81e8c6fe) Cleaning up all of these auto-generated variables by hand is pretty annoying. Tools like NBTExplorer can be used for this, but I think it would be nice to have syntax like this: ```mcfunction var:unset { k: "bomberman_*" } ``` This would pattern match any string after `bomberman_`
Sign in to join this conversation.
No description provided.