Attached part of the spel but what interests me to know is that within the spel there is a call to a vbs file. In this file obtener_prioridad.vbs() a value is obtained, this value is collected in the spel.
I would like if in a spel you can make this type of calls
string lanzar_script;
launch_script = "cscript.exe obtener_prioridad.vbs()"
And if for the method send_wait() you can do something like this with the pass of corresponding parameters
send_wait (0, this, lanzar_script, area, impacto, "// nologo");
salida = msg [0];