mirror of
https://github.com/hanzoai/numscript.git
synced 2026-10-30 18:26:57 +00:00
* feat: feature flag syntax * feat: change syntax * feat: reject invalid features * feat: add static check of unknown features * feat: more defensive args handling * fix: fix typo
20 lines
367 B
Plaintext
20 lines
367 B
Plaintext
|
|
send [EUR/2 10000] (
|
|
source = @orders:1234
|
|
destination = {
|
|
15% to {
|
|
20% to @platform:commission:sales_tax
|
|
remaining to {
|
|
5% to {
|
|
// users
|
|
max [EUR/2 1000] to @users:1234:cashback
|
|
remaining kept
|
|
}
|
|
remaining to @platform:commission:revenue
|
|
}
|
|
}
|
|
remaining to @merchants:6789
|
|
}
|
|
)
|
|
|