literal parameter issue

Started by eating a burge… on

Topic category: Help with Minecraft modding (Java Edition)

literal parameter issue

so im making a curse randomizer and im trying to make a command that would look something like "/curse <grant|degrant> <CurseName>" and im trying to use literal parameters but i have no idea how to get them as theres no block for "get literal parameter with name" and im kinda confused