Consider this example:

Code:
[color:blue]; Type /step_1 to begin[/color]
 
alias step_1 {
  echo -s <Step 1>
 
  echo -s Opening IE Window...
  .comopen IE InternetExplorer.Application
  !.echo -q $com(IE, Visible, 4, bool, true)
  !.echo -q $com(IE, Navigate, 1, bstr, http://www.mirc.com)
 
  .timer 1 3 step_2
}
 
alias step_2 {
  linesep
  echo -s <Step 2>
 
  echo -s Doing something...
 
  .timer 1 5 step_3
}
 
alias step_3 {
  linesep
  echo -s <Step 3>
 
  echo -s Closing IE Window...
  if $com(IE) {
    !.echo -q $com(IE, Quit, 1)
    .comclose IE
  }
 
  linesep
  echo -s Goodbye!
}


To learn more about using COM objects with mIRC, search the tutorial section of mircscripts.org for the word "COM". For a list of methods and properties available for use with the InternetExplorer object, visit MSDN.