The essentials might look something like this:
Code:
tell application id "OFOC" tell default document tell (first flattened context where name = "Jeremy") make new context at end of contexts ¬ with properties {name:"Waiting", allows next action:false} end tell end tell end tell