BlueHell mIRC Script — File Browser

BlueHellmIRCScriptv1.0 / BlueHellmIRCScriptv1.0 / BlueHellScript / msninstall.mrc

msninstall.mrc — 2.52 KB — Download this file

;--------------------------------------------------------------------------------------------------------------------------------
;MSN Messenger for mIRC
;Loading Script
;(c) Andy Carvell 2008
;andy@burningimage.net
;--------------------------------------------------------------------------------------------------------------------------------

on *:LOAD:{
  set %msn.log 1
  set %msn.chat.style $no
  set %msn.useproxy no
  set %msn.server messenger.hotmail.com
  set %msn.server.port 1863
  set %msn.sounds on
  set %msn.messenger.font Verdana 12
  set %msn.maxidle 600
  set %msn.autoidle yes
  set %msn.showtype YES
  set %msn.motd Welcome to MSN Messenger for mIRC!
  set %msn.background $yes
  set %msn.autoconnect $no
  set %msn.awaysync $no
  set %msn.mailnotification yes
  set %msn.chat.style msn
  set %msn.chatwindow.style $yes
  set %msn.window.minimise $no
  set %msn.showlogon $yes
  set %msn.firsttime 0
  set %msn.flash yes
  unset %msn.pass
  echo -a ---
  echo -a MSN Messenger for mIRC v $+ $msnversion
  echo -a /msn to connect.
  echo -a /msncontrol for the control panel.
  echo -a Alternatively, use the menu in mIRC.
  echo -a 
  echo -a Commands:
  echo -a /msn.name <new msn name>
  echo -a /msn.status <status> (type /msn.status help for more information)
  echo -a ---
  if ( $version < 6.2) { echo -a  $+ MSN Messenger for mIRC prefers mIRC versions 6.2 and above.  You are very likely to encounter errors.  Please upgrade mIRC. }
  set %msn.sortbygroup $?!"Would you like to sort your contact list by MSN group? $crlf $crlf $+ You can change this option later in the control panel."
  if ( %msn.sortbygroup == $true ) { set %msn.sortbygroup $yes }
  set %msn.showoffline $?!"Would you like to display offline contacts? $crlf $crlf $+ You can change this option later in the control panel."
  if ( %msn.showoffline == $true ) { set %msn.showoffline $yes }
  .copy -o " $+ $shortfn($scriptdir $+ *) $+ " " $+ $shortfn($mircdir) $+ "
  .mkdir $shortfn($mircdir) $+ msn
  .mkdir $shortfn($mircdir) $+ msn\downloads
  .copy -o " $+ $shortfn($scriptdir $+ msn\*) $+ " " $+ $shortfn($mircdir) $+ msn $+ "
  .load -rs $shortfn($mircdir) $+ msn\msn.mrc
  set %msn.result $?!"Successfully installed. $crlf $crlf $+ MSN for mIRC will not work until you restart mIRC, would you like to restart mIRC now? $crlf $crlf $+ Type /msn to start MSN for mIRC once it's restarted."
  if (%msn.result == $true ) { exit -nr }
  set %msn.dir $gettok($mircexe,1- $+ $calc($numtok($mircexe,92)-1),92)
}