Skip to content

Instantly share code, notes, and snippets.

@specpro30
Created March 28, 2021 08:43
Show Gist options
  • Save specpro30/cd02cf303bd0eaa3ad2524c34e7673ad to your computer and use it in GitHub Desktop.
Save specpro30/cd02cf303bd0eaa3ad2524c34e7673ad to your computer and use it in GitHub Desktop.
New Project
When
[Case
(Deposit
(Role "Client")
(Role "Client")
(Token "" "")
(Constant 50)
)
(When
[Case
(Choice
(ChoiceId
"Train"
(Role "Client")
)
[Bound 1 3]
)
(If
(ValueEQ
(ChoiceValue
(ChoiceId
"Train"
(Role "Client")
))
(Constant 1)
)
(Pay
(Role "Client")
(Party (Role "Coach"))
(Token "" "")
(Constant 50)
Close
)
(If
(ValueEQ
(ChoiceValue
(ChoiceId
"Train"
(Role "Client")
))
(Constant 2)
)
(Pay
(Role "Client")
(Party (Role "Coach"))
(Token "" "")
(Constant 10)
Close
)
(Pay
(Role "Client")
(Party (Role "Coach"))
(Token "" "")
(Constant 25)
Close
)
)
)]
7 Close
)]
7 Close
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment