clear %list:LIST% for %scope:EXPR%
Removes all elements from a scoped global list for a specific scope reference.
clear todos for player
Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.
clear <list> for <scope>
add %val:EXPR% to %list:LIST% for %scope:EXPR%
remove %val:EXPR% from %list:LIST% for %scope:EXPR%
remove [index] %i:INT% from %list:LIST% for %scope:EXPR%
add %val:EXPR% to %list:LIST%
remove %val:EXPR% from %list:LIST%
remove [index] %i:INT% from %list:LIST%
clear %list:LIST%
set %list:LIST% at [index] %i:INT% to %val:EXPR%