External Variables for Scripts

 
How can I use External Variables (extern) in Scripts so that I get the dialog box like the one for EA's?
 
Use #property show_inputs
 
Thanks Rosh, that was exactly what I was looking for.
 
You're welcome :)