Hi Jon
Done a few experiments with this. I think c# is executing completely before any outputs (whether from Verbot script or c#).
Using and adding to your code, as an example:
- Code: Select all
<?csharp
Console.WriteLine("<send askmore>");
Console.WriteLine("Your name "+vars["name"];
vars["moreinfo"] = "y";
Console.WriteLine("<send askmore>");
?>
If askmore has the condition vars["moreinfo"] == "y", I'm pretty sure now that askmore would fire twice (because by the time either output is done, the c# code has already executed).
I think you were mostly right though, that this isn't I think about the c#, but that all outputs are done after the code execution.
So even with the outputs in c#, they would still fire at the end, using whatever is the last value of a variable in the code.