One problem I do see with this script is that (as you stated in the Introduction), what if the person did not save the game to that directory? You should allow them to locate the .exe file manually using $sfile and setting a variable. This would make it a lot easier then having to type it all out.
Here\'s an example using $sfile:
dialog example {
title \"Example\"
size -1 -1 144 58
option pixels
button \"Find...\", 1, 8 34 46 19
button \"Run\", 2, 85 33 46 19
edit \"\", 3, 8 10 127 20, autohs
}
on *:dialog:example:sclick:1:{
set %Exam $sfile($mircdir*.exe,Locate Game .exe...,Open)
did -ar example 3 %Exam
}
on *:dialog:example:sclick:2:{
.run $did(example,3).text
}