Skip to content

Instantly share code, notes, and snippets.

@sarbian
Created February 16, 2016 21:33
Show Gist options
  • Save sarbian/20d2a54e37ccc0d595a2 to your computer and use it in GitHub Desktop.
Save sarbian/20d2a54e37ccc0d595a2 to your computer and use it in GitHub Desktop.
TEST
{
name = Test
}
@TEST
{
copy = 5
}
$TEST[Test]:HAS[#copy[>0]]
{
*@TEST[Test]/copy -= 1
@name = #$name$$copy$
*MM_PATCH_LOOP {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment