If that's the case, then that means one of the /dll commands is failing (most likely SetControlMDX), and you should use $dll() and echo the results to find out why.
Though, in your case, it looks like it would be because you forgot to call SetMircVersion and MarkDialog.
Scoring disabled. You must be logged in to score posts.