So I had an idea for a script but quickly came to a roadblock. This is just an example.
[VarDef, brush,[StrAsk, "Type text in here","Enter Brush Name"]]
[IButton,#brush,"Test",
[IPress,Brush:#brush]
]
If I type any brush name into the prompt it only errors. Can you not set a variable in a button path? I feel really dumb.