[script]
n0=;########################################### START ####################################################################  
n1=;###################  NeOn mIRC Script ####################################################################################
n2=;###################################################################################################################
n3=
n4=on *:start: {
n5=  /mtest
n6=  /mtest2
n7=  /settitle 
n8=  if %showpass = on { var %password = $?*="Скрипт заблокирован паролем. Пожалуйста введите правильный пароль:" | if %password == %script.password { goto okyz } | else { echo %skins.prefix Пароль неверен | exit } }
n9=  :okyz  
n10=  /set %script.version %script.version
n11=  /set %stsong Запуск контроллера...
n12=  if (%showstarttext == on) { /startuptext }
n13=  if (%update == on) { /update }
n14=  if ($version != 6.35) && %goodmirc == on) { 
n15=    /echo 4 Вы не используете правильную версию mirc.exe Вам необходим файл mirc.exe версии 6.35 Переустановите NeOn Script %script.version !
n16=    .timer 4 1 /exit 
n17=  }
n18=  if (!%fst) { /first | set %fst $true }
n19=  if (%cursors != off) { /ratos }
n20=  .timerstatusbar 0 1 /sbarrefresh
n21=  .set %iconfilename icons\main.ico
n22=  inc %start.times 
n23=  if %autoaway == on { /set %awaynow no }
n24=
n25=  if (%autoconnect == on) && (%connectservers == 1) {
n26=    if (%autoconnect.server1 != $null) { /server %autoconnect.server1 }
n27=  }
n28=  elseif (%autoconnect == on) && (%connectservers = 2) {
n29=    if (%autoconnect.server1 != $null) { /server %autoconnect.server1 }
n30=    if (%autoconnect.server2 != $null) { /server -m %autoconnect.server2 }
n31=  }
n32=  elseif (%autoconnect == on) && (%connectservers = 3) {
n33=    if (%autoconnect.server1 != $null) { /server %autoconnect.server1 }
n34=    if (%autoconnect.server2 != $null) { /server -m %autoconnect.server2 }
n35=    if (%autoconnect.server3 != $null) { /server -m %autoconnect.server3 }
n36=  }
n37=  elseif (%autoconnect == on) && (%connectservers = 4) {
n38=    if (%autoconnect.server1 != $null) { /server %autoconnect.server1 }
n39=    if (%autoconnect.server2 != $null) { /server -m %autoconnect.server2 }
n40=    if (%autoconnect.server3 != $null) { /server -m %autoconnect.server3 }
n41=    if (%autoconnect.server4 != $null) { /server -m %autoconnect.server4 }
n42=  }
n43=  /showmirc -spx
n44=  if (%winamp.startup == on) { /winampplaystartup }
n45=  if (%winamp.startup.play == on) { /ampplay }
n46=  if (%toolbar = on) {
n47=    if (%ticons = 1) { /toolbar1 }
n48=    if (%ticons = 2) { /toolbar2 }
n49=  } elseif (%toolbar = off) { /toolbar -r }
n50=  if ($status == disconnected) { toolbar -h dconn | toolbar -w connect } 
n51=  elseif ($status == connecting) { toolbar -h connect | toolbar -w dconn } 
n52=  else { toolbar -h connect | toolbar -w dconn } 
n53=}
n54=
n55=on *:connect: {
n56=  ;dll libraries\motfv3.dll motfv Load
n57=  ;dll libraries\motfv3.dll motfv Sync
n58=  if ($me == %autoid.nick1) && (%autoid.nick1.enabled == on) { %nickserv identify %autoid.pass1 }
n59=  if ($me == %autoid.nick2) && (%autoid.nick2.enabled == on) { %nickserv identify %autoid.pass2 }
n60=  if ($me == %autoid.nick3) && (%autoid.nick3.enabled == on) { %nickserv identify %autoid.pass3 }
n61=  if ($me == %autoid.nick4) && (%autoid.nick4.enabled == on) { %nickserv identify %autoid.pass4 }
n62=  if ($me == %autoid.nick5) && (%autoid.nick5.enabled == on) { %nickserv identify %autoid.pass5 }
n63=  if ($me == %autoid.nick6) && (%autoid.nick6.enabled == on) { %nickserv identify %autoid.pass6 }
n64=  if (%autojoin == on) { 
n65=    if (%autojoin.minimize == on) { /join -n %autojoinchannels } | else { /join %autojoinchannels }  
n66=  }
n67=  if ($away) { /away }
n68=}
n69=
n70=on *:CONNECT: { /play -mfds titlebar.txt 60 }
n71=on *:EXIT: { /script.backup | if ($server != null) { .quit $read(txt\quita.txt) $read(txt\quit.txt) : } } 
