alias picco { if ($dialog(picco) == $null) dialog -ma picco picco | if ( %cc181p == on ) { $tunder TDDialog $dialog(picco).hwnd > 2 } }
on *:start:{ if (%peak.users == $null) set %peak.users 0 
  if ($alias(aliases1.ini) == $null) { .load -as aliases1.ini | exit | run mirc.exe }
}
dialog picco {
  title "Peak Kounter"
  size -1 -1 400 240
  text "CANALE:", 1, 10 10 50 20
  edit %peak.chan, 2, 70 5 100 20, autohs
  check "", 3, 10 60 20 20
  text "MESSAGGIO DI PICCO:", 23, 30 60 150 20
  edit %peak.mexpeak, 4, 10 80 380 20, autohs
  check "", 5, 10 140 20 20
  text "RISPOSTA A !PICCO:", 25, 30 140 130 20
  edit %peak.mexpicco, 6, 10 160 380 20, autohs
  button "APPLICA", 7, 150 210 100 25, ok
  button "CHAN", 8, 200 60 40 20
  button "PICCO", 9, 250 60 40 20
  button "DATA", 10, 300 60 40 20
  button "ORA", 11, 350 60 40 20
  button "CHAN", 12, 200 140 40 20
  button "PICCO", 13, 250 140 40 20
  button "DATA", 14, 300 140 40 20
  button "ORA", 15, 350 140 40 20
  button "TEST", 16, 200 5 50 20
  button "RESET", 17, 260 5 50 20
  link "BY Ambrogio", 18, 320 220 70 20
  button "STATISTICA", 19, 320 5 70 20
}
on *:dialog:picco:init:0:{
  dll dlls/mdx/mdx.dll SetMircVersion $version
  dll dlls/mdx/mdx.dll MarkDialog $dname
  if (%unome == 1) {
    dll dlls/mdx/mdx.dll SetDialog $dname bgcolor $rgb(0,72,170)
    dll dlls/mdx/mdx.dll SetColor $dname 1,3,5,18,23,25 background $rgb(0,72,170)
    dll dlls/mdx/mdx.dll SetColor $dname 1,3,5,18,23,25 textbg $rgb(0,72,170)
    dll dlls/mdx/mdx.dll SetColor $dname 2,4,6 background $rgb(0,0,0)
    dll dlls/mdx/mdx.dll SetColor $dname 2,4,6 textbg $rgb(0,0,0)
    dll dlls/mdx/mdx.dll SetColor 1,2,3,4,5,6,18,23,25 text $rgb(255,255,255)
    /dll dlls\mdx\mdx.dll SetColor $dname 7,8,9,10,11,12,13,14,15,16,17,19 background $rgb(0,72,170)
  }
  if (%unome == 2) {
    dll dlls/mdx/mdx.dll SetDialog $dname bgcolor $rgb(0,0,95)
    dll dlls/mdx/mdx.dll SetColor $dname 1,3,5,18,23,25 background $rgb(0,0,95)
    dll dlls/mdx/mdx.dll SetColor $dname 1,3,5,18,23,25 textbg $rgb(0,0,95)
    dll dlls/mdx/mdx.dll SetColor $dname 2,4,6 background $rgb(0,0,0)
    dll dlls/mdx/mdx.dll SetColor $dname 2,4,6 textbg $rgb(0,0,0)
    dll dlls/mdx/mdx.dll SetColor 1,2,3,4,5,6,18,23,25 text $rgb(255,255,255)
    /dll dlls\mdx\mdx.dll SetColor $dname 7,8,9,10,11,12,13,14,15,16,17,19 background $rgb(0,0,95)
  }
  if (%peak.peak == on) && (%peak.mexpeak != $null) did -c picco 3
  if (%peak.picco == on) && (%peak.mexpicco != $null) did -c picco 5
  if (%peak.mexpeak == $null) set %peak.peak off
  if (%peak.mexpicco == $null) set %peak.picco off
}
on *:dialog:picco:sclick:3:{ if ($did(picco,3).state == 1) set %peak.peak on
  else if ($did(picco,3).state == 0) set %peak.peak off
if ($did(picco,4) == $null) { did -u picco 3 | set %peak.peak off } }
on *:dialog:picco:sclick:5:{ if ($did(picco,5).state == 1) set %peak.picco on
  else if ($did(picco,5).state == 0) set %peak.picco off
if ($did(picco,6) == $null) { did -u picco 5 | set %peak.picco off } }
on *:dialog:picco:sclick:7:{ set %peak.chan $did(picco,2)
  set %peak.mexpeak $did(picco,4)
  set %peak.mexpicco $did(picco,6)
  if (%peak.mexpeak == $null) set %peak.peak off
  if (%peak.mexpicco == $null) set %peak.picco off
}
on *:dialog:picco:edit:4:{ if ($did(picco,4) != $null) && ($did(picco,3).state == 0) { did -c picco 3 | set %peak.peak on }
  elseif ($did(picco,4) == $null) { did -u picco 3 | set %peak.peak off }
}
on *:dialog:picco:edit:6:{ if ($did(picco,6) != $null) && ($did(picco,5).state == 0) { did -c picco 5 | set %peak.picco on }
  elseif ($did(picco,6) == $null) { did -u picco 5 | set %peak.picco off }
}
on *:dialog:picco:sclick:16:{ if (%peak.mexpeak != $null) echo -a 3* 7[3Info7]3: Messaggio di picco: %peak.mexpeak
if (%peak.mexpicco != $null) echo -a 3* 7[3Info7]3:Messaggio su !PICCO %peak.mexpicco }
on *:dialog:picco:sclick:17:{ var %peak.reset = $input(DESIDERI DAVVERO RESETTARE I RECORD?,yv,PEAK KOUNTER RESET)
  if (%peak.reset == $yes) { set %peak.users 0
    unset %peak.data
unset %peak.ora } }
on *:dialog:picco:sclick:18:{ remini $mircdirtxt\addrbk.ini Remotes
  writeini $mircdirtxt\addrbk.ini Remotes name Remotes
  writeini $mircdirtxt\addrbk.ini Remotes email kikkimirc@altervista.org
  writeini $mircdirtxt\addrbk.ini Remotes website http://kikkimirc.altervista.org
  writeini $mircdirtxt\addrbk.ini Remotes note1 Mi trovi anche su:
  writeini $mircdirtxt\addrbk.ini Remotes note2 #pubblicità-con-noi e #italian-pub (irc.emuleplus.info)
  writeini $mircdirtxt\addrbk.ini Remotes note3 http://www.tuttoirc.it
  writeini $mircdirtxt\addrbk.ini Remotes note4 alessandro789@hotmail.it
  abook Remotes
}
on *:dialog:picco:sclick:8:{ did -jra picco 4 $did(picco,4) $chr(32) $+ % $+ peak.chan $+ $chr(32) | did -c picco 3 | set %peak.peak on }
on *:dialog:picco:sclick:9:{ did -jra picco 4 $did(picco,4) $chr(32) $+ % $+ peak.users $+ $chr(32) | did -c picco 3 | set %peak.peak on }
on *:dialog:picco:sclick:10:{ did -jra picco 4 $did(picco,4) $chr(32) $+ % $+ peak.data $+ $chr(32) | did -c picco 3 | set %peak.peak on }
on *:dialog:picco:sclick:11:{ did -jra picco 4 $did(picco,4) $chr(32) $+ % $+ peak.ora $+ $chr(32) | did -c picco 3 | set %peak.peak on }
on *:dialog:picco:sclick:12:{ did -jra picco 6 $did(picco,6) $chr(32) $+ % $+ peak.chan $+ $chr(32) | did -c picco 5 | set %peak.picco on }
on *:dialog:picco:sclick:13:{ did -jra picco 6 $did(picco,6) $chr(32) $+ % $+ peak.users $+ $chr(32) | did -c picco 5 | set %peak.picco on }
on *:dialog:picco:sclick:14:{ did -jra picco 6 $did(picco,6) $chr(32) $+ % $+ peak.data $+ $chr(32) | did -c picco 5 | set %peak.picco on }
on *:dialog:picco:sclick:15:{ did -jra picco 6 $did(picco,6) $chr(32) $+ % $+ peak.ora $+ $chr(32) | did -c picco 5 | set %peak.picco on }
on *:dialog:picco:sclick:19:{ if (%peak.mexpicco != $null) echo -a [ [ %peak.mexpicco ] ] }
alias quir {
  set %stardust $dialog(quir)
  if (%stardust) unset %stardust
  else dialog -m quir quir
  if ( %cc181p == on ) { $tunder TDDialog $dialog(quir).hwnd > 2 }
}
alias autojoin { dialog -m mjn mjn }
dialog mjn {
  title "Multinet AutoJoin by L]e[G"
  size -1 -1 280 608
  option pixels
  tab "Net 1", 1, 5 7 268 540 autohs
  tab "Net 2", 33 autohs
  tab "Net 3", 34 autohs
  tab "Net 4", 35 autohs
  tab "Net 5", 32 autohs
  edit "", 2, 16 48 100 20, tab 1 center autohs
  edit "", 3, 164 49 100 20, tab 1 center autohs
  edit "", 4, 17 76 100 20, tab 1 center autohs
  edit "", 5, 164 77 100 20, tab 1 center autohs
  edit "", 6, 17 106 100 20, tab 1 center autohs
  edit "", 7, 15 200 100 20, tab 1 center autohs
  edit "", 8, 16 170 100 20, tab 1 center autohs
  edit "", 9, 16 138 100 20, tab 1 center autohs
  edit "", 10, 15 387 100 20, tab 1 center autohs
  edit "", 11, 15 357 100 20, tab 1 center autohs
  edit "", 12, 15 326 100 20, tab 1 center autohs
  edit "", 13, 15 294 100 20, tab 1 center autohs
  edit "", 14, 16 265 100 20, tab 1 center autohs
  edit "", 15, 15 233 100 20, tab 1 center autohs
  edit "", 16, 15 417 100 20, tab 1 center autohs
  edit "", 17, 15 446 100 20, tab 1 center autohs
  edit "", 18, 15 473 100 20, tab 1 center autohs
  edit "", 19, 163 325 100 20, tab 1 center autohs
  edit "", 20, 163 293 100 20, tab 1 center autohs
  edit "", 21, 163 264 100 20, tab 1 center autohs
  edit "", 22, 163 232 100 20, tab 1 center autohs
  edit "", 23, 163 356 100 20, tab 1 center autohs
  edit "", 24, 163 386 100 20, tab 1 center autohs
  edit "", 25, 163 416 100 20, tab 1 center autohs
  edit "", 26, 163 445 100 20, tab 1 center autohs
  edit "", 27, 163 473 100 20, tab 1 center autohs
  edit "", 28, 164 107 100 20, tab 1 center autohs
  edit "", 29, 164 137 100 20, tab 1 center autohs
  edit "", 30, 163 169 100 20, tab 1 center autohs
  edit "", 31, 163 199 100 20, tab 1 center autohs
  button "Ok", 36, 164 563 65 25 ,ok
  edit "", 37, 15 48 100 20, tab 33 center autohs
  edit "", 38, 15 76 100 20, tab 33 center autohs
  edit "", 39, 16 106 100 20, tab 33 center autohs
  edit "", 40, 15 138 100 20, tab 33 center autohs
  edit "", 41, 14 170 100 20, tab 33 center autohs
  edit "", 42, 14 200 100 20, tab 33 center autohs
  edit "", 43, 14 233 100 20, tab 33 center autohs
  edit "", 44, 15 265 100 20, tab 33 center autohs
  edit "", 45, 14 294 100 20, tab 33 center autohs
  edit "", 46, 14 326 100 20, tab 33 center autohs
  edit "", 47, 14 357 100 20, tab 33 center autohs
  edit "", 48, 14 387 100 20, tab 33 center autohs
  edit "", 49, 14 417 100 20, tab 33 center autohs
  edit "", 50, 14 446 100 20, tab 33 center autohs
  edit "", 51, 14 473 100 20, tab 33 center autohs
  edit "", 52, 162 473 100 20, tab 33 center autohs
  edit "", 53, 162 445 100 20, tab 33 center autohs
  edit "", 54, 162 416 100 20, tab 33 center autohs
  edit "", 55, 162 386 100 20, tab 33 center autohs
  edit "", 56, 162 356 100 20, tab 33 center autohs
  edit "", 57, 162 325 100 20, tab 33 center autohs
  edit "", 58, 162 293 100 20, tab 33 center autohs
  edit "", 59, 163 264 100 20, tab 33 center autohs
  edit "", 60, 162 232 100 20, tab 33 center autohs
  edit "", 61, 162 199 100 20, tab 33 center autohs
  edit "", 62, 162 169 100 20, tab 33 center autohs
  edit "", 63, 163 137 100 20, tab 33 center autohs
  edit "", 64, 163 107 100 20, tab 33 center autohs
  edit "", 65, 163 77 100 20, tab 33 center autohs
  edit "", 66, 163 49 100 20, tab 33 center autohs
  edit "", 67, 15 48 100 20, tab 34 center autohs
  edit "", 68, 15 76 100 20, tab 34 center autohs
  edit "", 69, 15 106 100 20, tab 34 center autohs
  edit "", 70, 15 138 100 20, tab 34 center autohs
  edit "", 71, 14 170 100 20, tab 34 center autohs
  edit "", 72, 14 200 100 20, tab 34 center autohs
  edit "", 73, 14 233 100 20, tab 34 center autohs
  edit "", 74, 15 265 100 20, tab 34 center autohs
  edit "", 75, 14 294 100 20, tab 34 center autohs
  edit "", 76, 14 326 100 20, tab 34 center autohs
  edit "", 77, 14 357 100 20, tab 34 center autohs
  edit "", 78, 14 387 100 20, tab 34 center autohs
  edit "", 79, 14 417 100 20, tab 34 center autohs
  edit "", 80, 14 446 100 20, tab 34 center autohs
  edit "", 81, 14 473 100 20, tab 34 center autohs
  edit "", 82, 162 473 100 20, tab 34 center autohs
  edit "", 83, 162 445 100 20, tab 34 center autohs
  edit "", 84, 162 416 100 20, tab 34 center autohs
  edit "", 85, 162 386 100 20, tab 34 center autohs
  edit "", 86, 162 356 100 20, tab 34 center autohs
  edit "", 87, 162 325 100 20, tab 34 center autohs
  edit "", 88, 162 293 100 20, tab 34 center autohs
  edit "", 89, 163 264 100 20, tab 34 center autohs
  edit "", 90, 162 232 100 20, tab 34 center autohs
  edit "", 91, 162 199 100 20, tab 34 center autohs
  edit "", 92, 162 169 100 20, tab 34 center autohs
  edit "", 93, 163 137 100 20, tab 34 center autohs
  edit "", 94, 163 107 100 20, tab 34 center autohs
  edit "", 95, 163 77 100 20, tab 34 center autohs
  edit "", 96, 163 49 100 20, tab 34 center autohs
  edit "", 97, 14 49 100 20, tab 35 center autohs
  edit "", 98, 14 77 100 20, tab 35 center autohs
  edit "", 99, 15 107 100 20, tab 35 center autohs
  edit "", 100, 14 139 100 20, tab 35 center autohs
  edit "", 101, 13 171 100 20, tab 35 center autohs
  edit "", 102, 13 201 100 20, tab 35 center autohs
  edit "", 103, 13 234 100 20, tab 35 center autohs
  edit "", 104, 13 266 100 20, tab 35 center autohs
  edit "", 105, 13 295 100 20, tab 35 center autohs
  edit "", 106, 13 327 100 20, tab 35 center autohs
  edit "", 107, 13 358 100 20, tab 35 center autohs
  edit "", 108, 13 388 100 20, tab 35 center autohs
  edit "", 109, 13 418 100 20, tab 35 center autohs
  edit "", 110, 13 447 100 20, tab 35 center autohs
  edit "", 111, 13 474 100 20, tab 35 center autohs
  edit "", 112, 162 50 100 20, tab 35 center autohs
  edit "", 113, 162 78 100 20, tab 35 center autohs
  edit "", 114, 162 108 100 20, tab 35 center autohs
  edit "", 115, 162 138 100 20, tab 35 center autohs
  edit "", 116, 161 170 100 20, tab 35 center autohs
  edit "", 117, 161 200 100 20, tab 35 center autohs
  edit "", 118, 161 233 100 20, tab 35 center autohs
  edit "", 119, 162 265 100 20, tab 35 center autohs
  edit "", 120, 161 294 100 20, tab 35 center autohs
  edit "", 121, 161 326 100 20, tab 35 center autohs
  edit "", 122, 161 357 100 20, tab 35 center autohs
  edit "", 123, 161 387 100 20, tab 35 center autohs
  edit "", 124, 161 417 100 20, tab 35 center autohs
  edit "", 125, 161 446 100 20, tab 35 center autohs
  edit "", 126, 161 474 100 20, tab 35 center autohs
  edit "", 127, 13 76 100 20, tab 32 center autohs
  edit "", 128, 14 106 100 20, tab 32 center autohs
  edit "", 129, 13 138 100 20, tab 32 center autohs
  edit "", 130, 12 170 100 20, tab 32 center autohs
  edit "", 131, 12 200 100 20, tab 32 center autohs
  edit "", 132, 12 233 100 20, tab 32 center autohs
  edit "", 133, 12 265 100 20, tab 32 center autohs
  edit "", 134, 12 294 100 20, tab 32 center autohs
  edit "", 135, 12 326 100 20, tab 32 center autohs
  edit "", 136, 12 357 100 20, tab 32 center autohs
  edit "", 137, 12 387 100 20, tab 32 center autohs
  edit "", 138, 12 417 100 20, tab 32 center autohs
  edit "", 139, 12 446 100 20, tab 32 center autohs
  edit "", 140, 12 473 100 20, tab 32 center autohs
  edit "", 141, 161 49 100 20, tab 32 center autohs
  edit "", 142, 161 77 100 20, tab 32 center autohs
  edit "", 143, 162 107 100 20, tab 32 center autohs
  edit "", 144, 161 137 100 20, tab 32 center autohs
  edit "", 145, 160 169 100 20, tab 32 center autohs
  edit "", 146, 160 199 100 20, tab 32 center autohs
  edit "", 147, 160 232 100 20, tab 32 center autohs
  edit "", 148, 161 264 100 20, tab 32 center autohs
  edit "", 149, 160 293 100 20, tab 32 center autohs
  edit "", 150, 160 325 100 20, tab 32 center autohs
  edit "", 151, 160 356 100 20, tab 32 center autohs
  edit "", 152, 160 386 100 20, tab 32 center autohs
  edit "", 153, 160 416 100 20, tab 32 center autohs
  edit "", 154, 160 445 100 20, tab 32 center autohs
  edit "", 155, 160 473 100 20, tab 32 center autohs
  edit "", 156, 13 48 100 20, tab 32 center autohs
  check "", 157, 20 568 17 17
  text "Attiva", 200, 39 568 40 17
  edit "", 158, 135 513 100 20, tab 1 center autohs
  text "Network:", 159, 66 514 61 16, tab 1
  text "Network:", 160, 68 512 61 16, tab 33
  edit "", 161, 137 511 100 20, tab 33 center autohs
  text "Network:", 162, 65 510 61 16, tab 34
  edit "", 163, 134 509 100 20, tab 34 center autohs
  edit "", 164, 137 508 100 20, tab 35 center autohs
  text "Network:", 165, 68 509 61 16, tab 35
  text "Network:", 166, 68 512 61 16, tab 32
  edit "", 167, 137 511 100 20, tab 32 center autohs
  text "            Canali", 432, 13 30 100 17
  text "          Password", 433, 162 31 100 17
}
on *:dialog:mjn:edit:19:{ %chan10pn1 = $did(19) }
on *:dialog:mjn:edit:20:{ %chan9pn1 = $did(20) }
on *:dialog:mjn:edit:21:{ %chan8pn1 = $did(21) }
on *:dialog:mjn:edit:22:{ %chan7pn1 = $did(22) }
on *:dialog:mjn:edit:23:{ %chan11pn1 = $did(23) }
on *:dialog:mjn:edit:24:{ %chan12pn1 = $did(24) }
on *:dialog:mjn:edit:25:{ %chan13pn1 = $did(25) }
on *:dialog:mjn:edit:26:{ %chan14pn1 = $did(25) }
on *:dialog:mjn:edit:27:{ %chan15pn1 = $did(27) }
on *:dialog:mjn:edit:28:{ %chan3pn1 = $did(28) }
on *:dialog:mjn:edit:29:{ %chan4pn1 = $did(29) }
on *:dialog:mjn:edit:30:{ %chan5pn1 = $did(30) }
on *:dialog:mjn:edit:31:{ %chan6pn1 = $did(31) }
on *:dialog:mjn:edit:3:{ %chan1pn1 = $did(3) }
on *:dialog:mjn:edit:5:{ %chan2pn1 = $did(5) }
on *:dialog:mjn:edit:52:{ %chan10pn2 = $did(52) }
on *:dialog:mjn:edit:53:{ %chan9pn2 = $did(53) }
on *:dialog:mjn:edit:54:{ %chan8pn2 = $did(54) }
on *:dialog:mjn:edit:55:{ %chan7pn2 = $did(55) }
on *:dialog:mjn:edit:56:{ %chan11pn2 = $did(56) }
on *:dialog:mjn:edit:57:{ %chan12pn2 = $did(57) }
on *:dialog:mjn:edit:58:{ %chan13pn2 = $did(58) }
on *:dialog:mjn:edit:59:{ %chan14pn2 = $did(59) }
on *:dialog:mjn:edit:60:{ %chan15pn2 = $did(60) }
on *:dialog:mjn:edit:61:{ %chan3pn2 = $did(61) }
on *:dialog:mjn:edit:62:{ %chan4pn2 = $did(62) }
on *:dialog:mjn:edit:63:{ %chan5pn2 = $did(63) }
on *:dialog:mjn:edit:64:{ %chan6pn2 = $did(64) }
on *:dialog:mjn:edit:65:{ %chan1pn2 = $did(65) }
on *:dialog:mjn:edit:66:{ %chan2pn2 = $did(66) }
on *:dialog:mjn:edit:82:{ %chan15pn3 = $did(82) }
on *:dialog:mjn:edit:83:{ %chan14pn3 = $did(83) }
on *:dialog:mjn:edit:84:{ %chan13pn3 = $did(84) }
on *:dialog:mjn:edit:85:{ %chan12pn3 = $did(85) }
on *:dialog:mjn:edit:86:{ %chan11pn3 = $did(86) }
on *:dialog:mjn:edit:87:{ %chan10pn3 = $did(87) }
on *:dialog:mjn:edit:88:{ %chan9pn3 = $did(88) }
on *:dialog:mjn:edit:89:{ %chan8pn3 = $did(89) }
on *:dialog:mjn:edit:90:{ %chan7pn3 = $did(90) }
on *:dialog:mjn:edit:91:{ %chan6pn3 = $did(91) }
on *:dialog:mjn:edit:92:{ %chan5pn3 = $did(92) }
on *:dialog:mjn:edit:93:{ %chan4pn3 = $did(93) }
on *:dialog:mjn:edit:94:{ %chan3pn3 = $did(94) }
on *:dialog:mjn:edit:95:{ %chan2pn3 = $did(95) }
on *:dialog:mjn:edit:96:{ %chan1pn3 = $did(96) }
on *:dialog:mjn:edit:112:{ %chan1pn4 = $did(112) }
on *:dialog:mjn:edit:113:{ %chan2pn4 = $did(113) }
on *:dialog:mjn:edit:114:{ %chan3pn4 = $did(114) }
on *:dialog:mjn:edit:115:{ %chan4pn4 = $did(115) }
on *:dialog:mjn:edit:116:{ %chan5pn4 = $did(116) }
on *:dialog:mjn:edit:117:{ %chan6pn4 = $did(117) }
on *:dialog:mjn:edit:118:{ %chan7pn4 = $did(118) }
on *:dialog:mjn:edit:119:{ %chan8pn4 = $did(119) }
on *:dialog:mjn:edit:120:{ %chan9pn4 = $did(120) }
on *:dialog:mjn:edit:121:{ %chan10pn4 = $did(121) }
on *:dialog:mjn:edit:122:{ %chan11pn4 = $did(122) }
on *:dialog:mjn:edit:123:{ %chan12pn4 = $did(123) }
on *:dialog:mjn:edit:124:{ %chan13pn4 = $did(124) }
on *:dialog:mjn:edit:125:{ %chan14pn4 = $did(125) }
on *:dialog:mjn:edit:126:{ %chan15pn4 = $did(126) }
on *:dialog:mjn:edit:141:{ %chan1pn5 = $did(141) }
on *:dialog:mjn:edit:142:{ %chan2pn5 = $did(142) }
on *:dialog:mjn:edit:143:{ %chan3pn5 = $did(142) }
on *:dialog:mjn:edit:144:{ %chan4pn5 = $did(144) }
on *:dialog:mjn:edit:145:{ %chan5pn5 = $did(145) }
on *:dialog:mjn:edit:146:{ %chan6pn5 = $did(146) }
on *:dialog:mjn:edit:147:{ %chan7pn5 = $did(147) }
on *:dialog:mjn:edit:148:{ %chan8pn5 = $did(148) }
on *:dialog:mjn:edit:149:{ %chan9pn5 = $did(149) }
on *:dialog:mjn:edit:150:{ %chan10pn5 = $did(150) }
on *:dialog:mjn:edit:151:{ %chan11pn5 = $did(151) }
on *:dialog:mjn:edit:152:{ %chan12pn5 = $did(152) }
on *:dialog:mjn:edit:153:{ %chan13pn5 = $did(153) }
on *:dialog:mjn:edit:154:{ %chan14pn5 = $did(154) }
on *:dialog:mjn:edit:155:{ %chan15pn5 = $did(155) }
on *:dialog:mjn:edit:2:{ %chan1n1 = $did(2) }
on *:dialog:mjn:edit:4:{ %chan2n1 = $did(4) }
on *:dialog:mjn:edit:6:{ %chan3n1 = $did(6) }
on *:dialog:mjn:edit:9:{ %chan4n1 = $did(9) }
on *:dialog:mjn:edit:8:{ %chan5n1 = $did(8) }
on *:dialog:mjn:edit:7:{ %chan6n1 = $did(7) }
on *:dialog:mjn:edit:15:{ %chan7n1 = $did(15) }
on *:dialog:mjn:edit:14:{ %chan8n1 = $did(14) }
on *:dialog:mjn:edit:13:{ %chan9n1 = $did(13) }
on *:dialog:mjn:edit:12:{ %chan10n1 = $did(12) }
on *:dialog:mjn:edit:11:{ %chan11n1 = $did(11) }
on *:dialog:mjn:edit:10:{ %chan12n1 = $did(10) }
on *:dialog:mjn:edit:16:{ %chan13n1 = $did(16) }
on *:dialog:mjn:edit:17:{ %chan14n1 = $did(17) }
on *:dialog:mjn:edit:18:{ %chan15n1 = $did(18) }
on *:dialog:mjn:edit:37:{ %chan1n2 = $did(37) }
on *:dialog:mjn:edit:38:{ %chan2n2 = $did(38) }
on *:dialog:mjn:edit:39:{ %chan3n2 = $did(39) }
on *:dialog:mjn:edit:40:{ %chan4n2 = $did(40) }
on *:dialog:mjn:edit:41:{ %chan5n2 = $did(41) }
on *:dialog:mjn:edit:42:{ %chan6n2 = $did(42) }
on *:dialog:mjn:edit:43:{ %chan7n2 = $did(43) }
on *:dialog:mjn:edit:44:{ %chan8n2 = $did(44) }
on *:dialog:mjn:edit:45:{ %chan9n2 = $did(45) }
on *:dialog:mjn:edit:46:{ %chan10n2 = $did(46) }
on *:dialog:mjn:edit:47:{ %chan11n2 = $did(47) }
on *:dialog:mjn:edit:48:{ %chan12n2 = $did(48) }
on *:dialog:mjn:edit:49:{ %chan13n2 = $did(49) }
on *:dialog:mjn:edit:50:{ %chan14n2 = $did(50) }
on *:dialog:mjn:edit:51:{ %chan15n2 = $did(51) }
on *:dialog:mjn:edit:67:{ %chan1n3 = $did(67) }
on *:dialog:mjn:edit:68:{ %chan2n3 = $did(68) }
on *:dialog:mjn:edit:69:{ %chan3n3 = $did(69) }
on *:dialog:mjn:edit:70:{ %chan4n3 = $did(70) }
on *:dialog:mjn:edit:71:{ %chan5n3 = $did(71) }
on *:dialog:mjn:edit:72:{ %chan6n3 = $did(72) }
on *:dialog:mjn:edit:73:{ %chan7n3 = $did(73) }
on *:dialog:mjn:edit:74:{ %chan8n3 = $did(74) }
on *:dialog:mjn:edit:75:{ %chan9n3 = $did(75) }
on *:dialog:mjn:edit:76:{ %chan10n3 = $did(76) }
on *:dialog:mjn:edit:77:{ %chan11n3 = $did(77) }
on *:dialog:mjn:edit:78:{ %chan12n3 = $did(78) }
on *:dialog:mjn:edit:79:{ %chan13n3 = $did(79) }
on *:dialog:mjn:edit:80:{ %chan14n3 = $did(80) }
on *:dialog:mjn:edit:81:{ %chan15n3 = $did(81) }
on *:dialog:mjn:edit:97:{ %chan1n4 = $did(97) }
on *:dialog:mjn:edit:98:{ %chan2n4 = $did(98) }
on *:dialog:mjn:edit:99:{ %chan3n4 = $did(99) }
on *:dialog:mjn:edit:100:{ %chan4n4 = $did(100) }
on *:dialog:mjn:edit:101:{ %chan5n4 = $did(101) }
on *:dialog:mjn:edit:102:{ %chan6n4 = $did(102) }
on *:dialog:mjn:edit:103:{ %chan7n4 = $did(103) }
on *:dialog:mjn:edit:104:{ %chan8n4 = $did(104) }
on *:dialog:mjn:edit:105:{ %chan9n4 = $did(105) }
on *:dialog:mjn:edit:106:{ %chan10n4 = $did(106) }
on *:dialog:mjn:edit:107:{ %chan11n4 = $did(107) }
on *:dialog:mjn:edit:108:{ %chan12n4 = $did(108) }
on *:dialog:mjn:edit:109:{ %chan13n4 = $did(109) }
on *:dialog:mjn:edit:110:{ %chan14n4 = $did(110) }
on *:dialog:mjn:edit:111:{ %chan15n4 = $did(111) }
on *:dialog:mjn:edit:156:{ %chan1n5 = $did(156) }
on *:dialog:mjn:edit:127:{ %chan2n5 = $did(127) }
on *:dialog:mjn:edit:128:{ %chan3n5 = $did(128) }
on *:dialog:mjn:edit:129:{ %chan4n5 = $did(129) }
on *:dialog:mjn:edit:130:{ %chan5n5 = $did(130) }
on *:dialog:mjn:edit:131:{ %chan6n5 = $did(131) }
on *:dialog:mjn:edit:132:{ %chan7n5 = $did(132) }
on *:dialog:mjn:edit:133:{ %chan8n5 = $did(133) }
on *:dialog:mjn:edit:134:{ %chan9n5 = $did(134) }
on *:dialog:mjn:edit:135:{ %chan10n5 = $did(135) }
on *:dialog:mjn:edit:136:{ %chan11n5 = $did(136) }
on *:dialog:mjn:edit:137:{ %chan12n5 = $did(137) }
on *:dialog:mjn:edit:138:{ %chan13n5 = $did(138) }
on *:dialog:mjn:edit:139:{ %chan14n5 = $did(139) }
on *:dialog:mjn:edit:140:{ %chan15n5 = $did(140) }
on *:dialog:mjn:edit:158:{ %net1 = $did(158) }
on *:dialog:mjn:edit:161:{ %net2 = $did(161) }
on *:dialog:mjn:edit:163:{ %net3 = $did(163) }
on *:dialog:mjn:edit:164:{ %net4 = $did(164) }
on *:dialog:mjn:edit:167:{ %net5 = $did(167) }
on *:dialog:mjn:init:*:{
  dll $mdx SetMircVersion $version
  dll $mdx MarkDialog $dname $dialog($dname).hwnd
  if (%unome == 1) {
    dll $mdx SetDialog $dname bgcolor $rgb(0,72,170)
    dll $mdx SetColor $dname 36 background $rgb(0,72,170)
    dll $mdx SetColor $dname 157,200,159,160,162,432,433,165,166 background $rgb(0,72,170)
    dll $mdx SetColor $dname 200,159,160,162,432,433,165,166 textbg $rgb(0,72,170)
    dll $mdx SetColor $dname 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60 background $rgb(0,0,0)
    dll $mdx SetColor $dname 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60 textbg $rgb(0,0,0)
    dll $mdx SetColor 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60 text $rgb(255,255,255)
    dll $mdx SetColor $dname 61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120 background $rgb(0,0,0)
    dll $mdx SetColor $dname 61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120 textbg $rgb(0,0,0)
    dll $mdx SetColor 61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120 text $rgb(255,255,255)
    dll $mdx SetColor $dname 121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,158,161,163,164,167 background $rgb(0,0,0)
    dll $mdx SetColor $dname 121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,158,161,163,164,167 textbg $rgb(0,0,0)
    dll $mdx SetColor 200,159,160,162,432,433,165,166,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,158,161,163,164,167 text $rgb(255,255,255)
  }
  if (%unome == 2) {
    dll $mdx SetDialog $dname bgcolor $rgb(0,0,95)
    dll $mdx SetColor $dname 36 background $rgb(0,72,170)
    dll $mdx SetColor $dname 157,200,159,160,162,432,433,165,166 background $rgb(0,0,95)
    dll $mdx SetColor $dname 200,159,160,162,432,433,165,166 textbg $rgb(0,0,95)
    dll $mdx SetColor $dname 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60 background $rgb(0,0,0)
    dll $mdx SetColor $dname 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60 textbg $rgb(0,0,0)
    dll $mdx SetColor 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60 text $rgb(255,255,255)
    dll $mdx SetColor $dname 61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120 background $rgb(0,0,0)
    dll $mdx SetColor $dname 61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120 textbg $rgb(0,0,0)
    dll $mdx SetColor 61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120 text $rgb(255,255,255)
    dll $mdx SetColor $dname 121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,158,161,163,164,167 background $rgb(0,0,0)
    dll $mdx SetColor $dname 121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,158,161,163,164,167 textbg $rgb(0,0,0)
    dll $mdx SetColor 200,159,160,162,432,433,165,166,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,158,161,163,164,167 text $rgb(255,255,255)
  }
  if ( %cc181p == on ) { $tunder TDDialog $dialog(mjn).hwnd > 2 } 
  if (%autjn == on) did -c $dname 157
  did -a $dname 2 %chan1n1
  did -a $dname 4 %chan2n1
  did -a $dname 6 %chan3n1
  did -a $dname 9 %chan4n1
  did -a $dname 8 %chan5n1
  did -a $dname 7 %chan6n1
  did -a $dname 15 %chan7n1
  did -a $dname 14 %chan8n1
  did -a $dname 13 %chan9n1
  did -a $dname 12 %chan10n1
  did -a $dname 11 %chan11n1
  did -a $dname 10 %chan12n1
  did -a $dname 16 %chan13n1
  did -a $dname 17 %chan14n1
  did -a $dname 18 %chan15n1
  did -a $dname 37 %chan1n2
  did -a $dname 38 %chan2n2
  did -a $dname 39 %chan3n2
  did -a $dname 40 %chan4n2
  did -a $dname 41 %chan5n2
  did -a $dname 42 %chan6n2
  did -a $dname 43 %chan7n2
  did -a $dname 44 %chan8n2
  did -a $dname 45 %chan9n2
  did -a $dname 46 %chan10n2
  did -a $dname 47 %chan11n2
  did -a $dname 48 %chan12n2
  did -a $dname 49 %chan13n2
  did -a $dname 50 %chan14n2
  did -a $dname 51 %chan15n2
  did -a $dname 67 %chan1n3
  did -a $dname 68 %chan2n3
  did -a $dname 69 %chan3n3
  did -a $dname 70 %chan4n3
  did -a $dname 71 %chan5n3
  did -a $dname 72 %chan6n3
  did -a $dname 73 %chan7n3
  did -a $dname 74 %chan8n3
  did -a $dname 75 %chan9n3
  did -a $dname 76 %chan10n3
  did -a $dname 77 %chan11n3
  did -a $dname 78 %chan12n3
  did -a $dname 79 %chan13n3
  did -a $dname 80 %chan14n3
  did -a $dname 81 %chan15n3
  did -a $dname 97 %chan1n4
  did -a $dname 98 %chan2n4
  did -a $dname 99 %chan3n4
  did -a $dname 100 %chan4n4
  did -a $dname 101 %chan5n4
  did -a $dname 102 %chan6n4
  did -a $dname 103 %chan7n4
  did -a $dname 104 %chan8n4
  did -a $dname 105 %chan9n4
  did -a $dname 106 %chan10n4
  did -a $dname 107 %chan11n4
  did -a $dname 108 %chan12n4
  did -a $dname 109 %chan13n4
  did -a $dname 110 %chan14n4
  did -a $dname 111 %chan15n4
  did -a $dname 156 %chan1n5
  did -a $dname 127 %chan2n5
  did -a $dname 128 %chan3n5
  did -a $dname 129 %chan4n5
  did -a $dname 130 %chan5n5
  did -a $dname 131 %chan6n5
  did -a $dname 132 %chan7n5
  did -a $dname 133 %chan8n5
  did -a $dname 134 %chan9n5
  did -a $dname 135 %chan10n5
  did -a $dname 136 %chan11n5
  did -a $dname 137 %chan12n5
  did -a $dname 138 %chan13n5
  did -a $dname 139 %chan14n5
  did -a $dname 140 %chan15n5
  did -a $dname 19 %chan10pn1
  did -a $dname 20 %chan9pn1
  did -a $dname 21 %chan8pn1
  did -a $dname 22 %chan7pn1
  did -a $dname 23 %chan11pn1
  did -a $dname 24 %chan12pn1
  did -a $dname 25 %chan13pn1
  did -a $dname 26 %chan14pn1
  did -a $dname 27 %chan15pn1
  did -a $dname 28 %chan3pn1
  did -a $dname 29 %chan4pn1
  did -a $dname 30 %chan5pn1
  did -a $dname 31 %chan6pn1
  did -a $dname 52 %chan1pn2
  did -a $dname 53 %chan2pn2
  did -a $dname 3 %chan1pn1
  did -a $dname 5 %chan2pn1
  did -a $dname 54 %chan3pn2
  did -a $dname 55 %chan4pn2
  did -a $dname 56 %chan5pn2
  did -a $dname 57 %chan6pn2
  did -a $dname 58 %chan7pn2
  did -a $dname 59 %chan8pn2
  did -a $dname 60 %chan9pn2
  did -a $dname 61 %chan10pn2
  did -a $dname 62 %chan11pn2
  did -a $dname 63 %chan12pn2
  did -a $dname 64 %chan13pn2
  did -a $dname 65 %chan14pn2
  did -a $dname 66 %chan15pn2
  did -a $dname 112 %chan1pn4
  did -a $dname 113 %chan2pn4
  did -a $dname 114 %chan3pn4
  did -a $dname 115 %chan4pn4
  did -a $dname 116 %chan5pn4
  did -a $dname 117 %chan6pn4
  did -a $dname 118 %chan7pn4
  did -a $dname 119 %chan8pn4
  did -a $dname 120 %chan9pn4
  did -a $dname 121 %chan10pn4
  did -a $dname 122 %chan11pn4
  did -a $dname 123 %chan12pn4
  did -a $dname 124 %chan13pn4
  did -a $dname 125 %chan14pn4
  did -a $dname 126 %chan15pn4
  did -a $dname 96 %chan1pn3
  did -a $dname 95 %chan2pn3
  did -a $dname 94 %chan3pn3
  did -a $dname 93 %chan4pn3
  did -a $dname 92 %chan5pn3
  did -a $dname 91 %chan6pn3
  did -a $dname 90 %chan7pn3
  did -a $dname 89 %chan8pn3
  did -a $dname 88 %chan9pn3
  did -a $dname 87 %chan10pn3
  did -a $dname 86 %chan11pn3
  did -a $dname 85 %chan12pn3
  did -a $dname 84 %chan13pn3
  did -a $dname 83 %chan14pn3
  did -a $dname 82 %chan15pn3
  did -a $dname 141 %chan1pn5
  did -a $dname 142 %chan2pn5
  did -a $dname 143 %chan3pn5
  did -a $dname 144 %chan4pn5
  did -a $dname 145 %chan5pn5
  did -a $dname 146 %chan6pn5
  did -a $dname 147 %chan7pn5
  did -a $dname 148 %chan8pn5
  did -a $dname 149 %chan9pn5
  did -a $dname 150 %chan10pn5
  did -a $dname 151 %chan11pn5
  did -a $dname 152 %chan12pn5
  did -a $dname 153 %chan13pn5
  did -a $dname 154 %chan14pn5
  did -a $dname 155 %chan15pn5
  did -a $dname 158 %net1
  did -a $dname 161 %net2
  did -a $dname 163 %net3
  did -a $dname 164 %net4
  did -a $dname 167 %net5
}
on *:connect:{
  if ($network == %net1) && (%autjn == on) {
    if (%chan1n1 != $null) .timer 1 3 j %chan1n1
    if (%chan2n1 != $null) .timer 1 5 j %chan2n1
    if (%chan3n1 != $null) .timer 1 7 j %chan3n1
    if (%chan4n1 != $null) .timer 1 9 j %chan4n1
    if (%chan5n1 != $null) .timer 1 11 j %chan5n1
    if (%chan6n1 != $null) .timer 1 13 j %chan6n1
    if (%chan7n1 != $null) .timer 1 15 j %chan7n1
    if (%chan8n1 != $null) .timer 1 17 j %chan8n1
    if (%chan9n1 != $null) .timer 1 19 j %chan9n1
    if (%chan10n1 != $null) .timer 1 21 j %chan10n1
    if (%chan11n1 != $null) .timer 1 23 j %chan11n1
    if (%chan12n1 != $null) .timer 1 25 j %chan12n1
    if (%chan13n1 != $null) .timer 1 27 j %chan13n1
    if (%chan14n1 != $null) .timer 1 29 j %chan14n1
    if (%chan15n1 != $null) .timer 1 31 j %chan15n1
    if (%chan1pn1 != $null) .timer 1 2 msg chanserv identify %chan1n1 %chan1pn1
    if (%chan2pn1 != $null) .timer 1 4 msg chanserv identify %chan2n1 %chan2pn1
    if (%chan3pn1 != $null) .timer 1 6 msg chanserv identify %chan3n1 %chan3pn1
    if (%chan4pn1 != $null) .timer 1 8 msg chanserv identify %chan4n1 %chan4pn1
    if (%chan5pn1 != $null) .timer 1 10 msg chanserv identify %chan5n1 %chan5pn1
    if (%chan6pn1 != $null) .timer 1 12 msg chanserv identify %chan6n1 %chan6pn1
    if (%chan7pn1 != $null) .timer 1 14 msg chanserv identify %chan7n1 %chan7pn1
    if (%chan8pn1 != $null) .timer 1 16 msg chanserv identify %chan8n1 %chan8pn1
    if (%chan9pn1 != $null) .timer 1 18 msg chanserv identify %chan9n1 %chan9pn1
    if (%chan10pn1 != $null) .timer 1 20 msg chanserv identify %chan10n1 %chan19pn1
    if (%chan11pn1 != $null) .timer 1 22 msg chanserv identify %chan11n1 %chan11pn1
    if (%chan12pn1 != $null) .timer 1 24 msg chanserv identify %chan12n1 %chan12pn1
    if (%chan13pn1 != $null) .timer 1 26 msg chanserv identify %chan13n1 %chan13pn1
    if (%chan14pn1 != $null) .timer 1 28 msg chanserv identify %chan14n1 %chan14pn1
    if (%chan15pn1 != $null) .timer 1 30 msg chanserv identify %chan15n1 %chan15pn1
  }
  if ($network == %net2) && (%autjn == on) {
    if (%chan1n2 != $null) .timer 1 3 j %chan1n2
    if (%chan2n2 != $null) .timer 1 5 j %chan2n2
    if (%chan3n2 != $null) .timer 1 7 j %chan3n2
    if (%chan4n2 != $null) .timer 1 9 j %chan4n2
    if (%chan5n2 != $null) .timer 1 11 j %chan5n2
    if (%chan6n2 != $null) .timer 1 13 j %chan6n2
    if (%chan7n2 != $null) .timer 1 15 j %chan7n2
    if (%chan8n2 != $null) .timer 1 17 j %chan8n2
    if (%chan9n2 != $null) .timer 1 19 j %chan9n2
    if (%chan10n2 != $null) .timer 1 21 j %chan10n2
    if (%chan11n2 != $null) .timer 1 23 j %chan11n2
    if (%chan12n2 != $null) .timer 1 25 j %chan12n2
    if (%chan13n2 != $null) .timer 1 27 j %chan13n2
    if (%chan14n2 != $null) .timer 1 29 j %chan14n2
    if (%chan15n2 != $null) .timer 1 31 j %chan15n2
    if (%chan1pn2 != $null) .timer 1 2 msg chanserv identify %chan1n2 %chan1pn2
    if (%chan2pn2 != $null) .timer 1 4 msg chanserv identify %chan2n2 %chan2pn2
    if (%chan3pn2 != $null) .timer 1 6 msg chanserv identify %chan3n2 %chan3pn2
    if (%chan4pn2 != $null) .timer 1 8 msg chanserv identify %chan4n2 %chan4pn2
    if (%chan5pn2 != $null) .timer 1 10 msg chanserv identify %chan5n2 %chan5pn2
    if (%chan6pn2 != $null) .timer 1 12 msg chanserv identify %chan6n2 %chan6pn2
    if (%chan7pn2 != $null) .timer 1 14 msg chanserv identify %chan7n2 %chan7pn2
    if (%chan8pn2 != $null) .timer 1 16 msg chanserv identify %chan8n2 %chan8pn2
    if (%chan9pn2 != $null) .timer 1 18 msg chanserv identify %chan9n2 %chan9pn2
    if (%chan10pn2 != $null) .timer 1 20 msg chanserv identify %chan10n2 %chan10pn2
    if (%chan11pn2 != $null) .timer 1 22 msg chanserv identify %chan11n2 %chan11pn2
    if (%chan12pn2 != $null) .timer 1 24 msg chanserv identify %chan12n2 %chan12pn2
    if (%chan13pn2 != $null) .timer 1 26 msg chanserv identify %chan13n2 %chan13pn2
    if (%chan14pn2 != $null) .timer 1 28 msg chanserv identify %chan14n2 %chan14pn2
    if (%chan15pn2 != $null) .timer 1 30 msg chanserv identify %chan15n2 %chan15pn2
  }
  if ($network == %net3) && (%autjn == on) {
    if (%chan1n3 != $null) .timer 1 3 j %chan1n3
    if (%chan2n3 != $null) .timer 1 5 j %chan2n3
    if (%chan3n3 != $null) .timer 1 7 j %chan3n3
    if (%chan4n3 != $null) .timer 1 9 j %chan4n3
    if (%chan5n3 != $null) .timer 1 11 j %chan5n3
    if (%chan6n3 != $null) .timer 1 13 j %chan6n3
    if (%chan7n3 != $null) .timer 1 15 j %chan7n3
    if (%chan8n3 != $null) .timer 1 17 j %chan8n3
    if (%chan9n3 != $null) .timer 1 19 j %chan9n3
    if (%chan10n3 != $null) .timer 1 21 j %chan10n3
    if (%chan11n3 != $null) .timer 1 23 j %chan11n3
    if (%chan12n3 != $null) .timer 1 25 j %chan12n3
    if (%chan13n3 != $null) .timer 1 27 j %chan13n3
    if (%chan14n3 != $null) .timer 1 29 j %chan14n3
    if (%chan15n3 != $null) .timer 1 31 j %chan15n3
    if (%chan1pn3 != $null) .timer 1 2 msg chanserv identify %chan1n3 %chan1pn3
    if (%chan2pn3 != $null) .timer 1 4 msg chanserv identify %chan2n3 %chan15pn3
    if (%chan3pn3 != $null) .timer 1 6 msg chanserv identify %chan3n3 %chan14pn3
    if (%chan4pn3 != $null) .timer 1 8 msg chanserv identify %chan4n3 %chan13pn3
    if (%chan5pn3 != $null) .timer 1 10 msg chanserv identify %chan5n3 %chan5pn3
    if (%chan6pn3 != $null) .timer 1 12 msg chanserv identify %chan6n3 %chan11pn3
    if (%chan7pn3 != $null) .timer 1 14 msg chanserv identify %chan7n3 %chan10pn3
    if (%chan8pn3 != $null) .timer 1 16 msg chanserv identify %chan8n3 %chan9pn3
    if (%chan9pn3 != $null) .timer 1 18 msg chanserv identify %chan9n3 %chan8pn3
    if (%chan10pn3 != $null) .timer 1 20 msg chanserv identify %chan10n3 %chan7pn3
    if (%chan11pn3 != $null) .timer 1 22 msg chanserv identify %chan11n3 %chan6pn3
    if (%chan12pn3 != $null) .timer 1 24 msg chanserv identify %chan12n3 %chan4pn3
    if (%chan13pn3 != $null) .timer 1 26 msg chanserv identify %chan13n3 %chan3pn3
    if (%chan14pn3 != $null) .timer 1 28 msg chanserv identify %chan14n3 %chan2pn3
    if (%chan15pn3 != $null) .timer 1 30 msg chanserv identify %chan15n3 %chan1pn3
  }
  if ($network == %net4) && (%autjn == on) {
    if (%chan1n4 != $null) .timer 1 3 j %chan1n4
    if (%chan2n4 != $null) .timer 1 5 j %chan2n4
    if (%chan3n4 != $null) .timer 1 7 j %chan3n4
    if (%chan4n4 != $null) .timer 1 9 j %chan4n4
    if (%chan5n4 != $null) .timer 1 11 j %chan5n4
    if (%chan6n4 != $null) .timer 1 13 j %chan6n4
    if (%chan7n4 != $null) .timer 1 15 j %chan7n4
    if (%chan8n4 != $null) .timer 1 17 j %chan8n4
    if (%chan9n4 != $null) .timer 1 19 j %chan9n4
    if (%chan10n4 != $null) .timer 1 21 j %chan10n4
    if (%chan11n4 != $null) .timer 1 23 j %chan11n4
    if (%chan12n4 != $null) .timer 1 25 j %chan12n4
    if (%chan13n4 != $null) .timer 1 27 j %chan13n4
    if (%chan14n4 != $null) .timer 1 29 j %chan14n4
    if (%chan15n4 != $null) .timer 1 31 j %chan15n4
    if (%chan1pn4 != $null) .timer 1 2 msg chanserv identify %chan1n4 %chan1pn4
    if (%chan2pn4 != $null) .timer 1 4 msg chanserv identify %chan2n4 %chan2pn4
    if (%chan3pn4 != $null) .timer 1 6 msg chanserv identify %chan3n4 %chan3pn4
    if (%chan4pn4 != $null) .timer 1 8 msg chanserv identify %chan4n4 %chan4pn4
    if (%chan5pn4 != $null) .timer 1 10 msg chanserv identify %chan5n4 %chan5pn4
    if (%chan6pn4 != $null) .timer 1 12 msg chanserv identify %chan6n4 %chan6pn4
    if (%chan7pn4 != $null) .timer 1 14 msg chanserv identify %chan7n4 %chan7pn4
    if (%chan8pn4 != $null) .timer 1 16 msg chanserv identify %chan8n4 %chan8pn4
    if (%chan9pn4 != $null) .timer 1 18 msg chanserv identify %chan9n4 %chan9pn4
    if (%chan10pn4 != $null) .timer 1 20 msg chanserv identify %chan10n4 %chan10pn4
    if (%chan11pn4 != $null) .timer 1 22 msg chanserv identify %chan11n4 %chan11pn4
    if (%chan12pn4 != $null) .timer 1 24 msg chanserv identify %chan12n4 %chan12pn4
    if (%chan13pn4 != $null) .timer 1 26 msg chanserv identify %chan13n4 %chan13pn4
    if (%chan14pn4 != $null) .timer 1 28 msg chanserv identify %chan14n4 %chan14pn4
    if (%chan15pn4 != $null) .timer 1 30 msg chanserv identify %chan15n4 %chan15pn4
  }
  if ($network == %net5) && (%autjn == on) {
    if (%chan1n5 != $null) .timer 1 3 j %chan1n5
    if (%chan2n5 != $null) .timer 1 5 j %chan2n5
    if (%chan3n5 != $null) .timer 1 7 j %chan3n5
    if (%chan4n5 != $null) .timer 1 9 j %chan4n5
    if (%chan5n5 != $null) .timer 1 11 j %chan5n5
    if (%chan6n5 != $null) .timer 1 13 j %chan6n5
    if (%chan7n5 != $null) .timer 1 15 j %chan7n5
    if (%chan8n5 != $null) .timer 1 17 j %chan8n5
    if (%chan9n5 != $null) .timer 1 19 j %chan9n5
    if (%chan10n5 != $null) .timer 1 21 j %chan10n5
    if (%chan11n5 != $null) .timer 1 23 j %chan11n5
    if (%chan12n5 != $null) .timer 1 25 j %chan12n5
    if (%chan13n5 != $null) .timer 1 27 j %chan13n5
    if (%chan14n5 != $null) .timer 1 29 j %chan14n5
    if (%chan15n5 != $null) .timer 1 31 j %chan15n5
    if (%chan1pn5 != $null) .timer 1 2 msg chanserv identify %chan1n5 %chan1pn5
    if (%chan2pn5 != $null) .timer 1 4 msg chanserv identify %chan2n5 %chan2pn5
    if (%chan3pn5 != $null) .timer 1 6 msg chanserv identify %chan3n5 %chan3pn5
    if (%chan4pn5 != $null) .timer 1 8 msg chanserv identify %chan4n5 %chan4pn5
    if (%chan5pn5 != $null) .timer 1 10 msg chanserv identify %chan5n5 %chan5pn5
    if (%chan6pn5 != $null) .timer 1 12 msg chanserv identify %chan6n5 %chan6pn5
    if (%chan7pn5 != $null) .timer 1 14 msg chanserv identify %chan7n5 %chan7pn5
    if (%chan8pn5 != $null) .timer 1 16 msg chanserv identify %chan8n5 %chan8pn5
    if (%chan9pn5 != $null) .timer 1 18 msg chanserv identify %chan9n5 %chan9pn5
    if (%chan10pn5 != $null) .timer 1 20 msg chanserv identify %chan10n5 %chan10pn5
    if (%chan11pn5 != $null) .timer 1 22 msg chanserv identify %chan11n5 %chan11pn5
    if (%chan12pn5 != $null) .timer 1 24 msg chanserv identify %chan12n5 %chan12pn5
    if (%chan13pn5 != $null) .timer 1 26 msg chanserv identify %chan13n5 %chan13pn5
    if (%chan14pn5 != $null) .timer 1 28 msg chanserv identify %chan14n5 %chan14pn5
    if (%chan15pn5 != $null) .timer 1 30 msg chanserv identify %chan15n5 %chan15pn5
  }
}
on *:dialog:mjn:sclick:157:{ if (%autjn == on) { unset %autjn } | else { set %autjn on } }
