$cmdline

From Scriptwiki
Jump to: navigation, search

Returns the command line that was passed to mIRC when it was first run.

Example

Run mirc.exe via commandline: mirc.exe /testing /stuff
And when mirc has started: //echo -ag $cmdline

This would echo "/testing /stuff".