_Added in 2.9_ *$exec(filename, [nh], [arguments])* Executes a program and returns the output, if any. _This identifier will block the AdiIRC GUI until the executed program is closed._ *Parameters* filename - Filename of the program to execute. [nh] - n = minimize the window, h = hide the window. [arguments] - Arguments to pass to the program. *Example*
; Print all files and folders in C: alias testexec { var %output = $exec(cmd.exe, h, /c dir) var %s 0 while (%s < $gettok(%output, 0, 10)) { inc %s echo -ag $gettok(%output, %s, 10) } }