****************************************************************************
NICKS 
***************************************************************************

dialog nev {
  title "Darna Nicks "
  size -1 -1 300 320
  option pixels
  button "OK", 601, 10 296 280 20, ok
  tab "Nicks I", 101, 10 10 280 180
  box "Nick", 3, 20 40 100 140, tab 101
  edit "", 4, 20 55 100 20, tab 101 autohs
  edit "", 5, 20 75 100 20, tab 101 autohs
  edit "", 6, 20 95 100 20, tab 101 autohs
  edit "", 7, 20 115 100 20, tab 101 autohs
  edit "", 8, 20 135 100 20, tab 101 autohs
  edit "", 9, 20 155 100 20, tab 101 autohs
  box "Pass:", 115, 120 40 70 140, tab 101
  edit "", 116, 120 55 70 20, tab 101 pass autohs limit 100
  edit "", 117, 120 75 70 20, tab 101 pass autohs limit 100
  edit "", 118, 120 95 70 20, tab 101 pass autohs limit 100
  edit "", 119, 120 115 70 20, tab 101 pass autohs limit 100
  edit "", 120, 120 135 70 20, tab 101 pass autohs limit 100
  edit "", 121, 120 155 70 20, tab 101 pass autohs limit 100
  box "Utiliser ce Nick", 300, 190 40 95 140, tab 101
  button "", 301, 190 55 95 20, tab 101
  button "", 302, 190 75 95 20, tab 101
  button "", 303, 190 95 95 20, tab 101
  button "", 304, 190 115 95 20, tab 101
  button "", 305, 190 135 95 20, tab 101
  button "", 306, 190 155 95 20, tab 101
  tab "Nick II", 102
  box "Nick II", 10, 20 40 100 140, tab 102
  edit "", 11, 20 55 100 20, tab 102 autohs
  edit "", 12, 20 75 100 20, tab 102 autohs
  edit "", 13, 20 95 100 20, tab 102 autohs
  edit "", 14, 20 115 100 20, tab 102 autohs
  edit "", 15, 20 135 100 20, tab 102 autohs
  edit "", 16, 20 155 100 20, tab 102 autohs
  box "Pass II:", 125, 120 40 70 140, tab 102
  edit "", 126, 120 55 70 20, tab 102 pass autohs limit 100
  edit "", 127, 120 75 70 20, tab 102 pass autohs limit 100
  edit "", 128, 120 95 70 20, tab 102 pass autohs limit 100
  edit "", 129, 120 115 70 20, tab 102 pass autohs limit 100
  edit "", 130, 120 135 70 20, tab 102 pass autohs limit 100
  edit "", 131, 120 155 70 20, tab 102 pass autohs limit 100
  box "Utiliser ce Nick", 310, 190 40 95 140, tab 102
  button "", 311, 190 55 95 20, tab 102
  button "", 312, 190 75 95 20, tab 102
  button "", 313, 190 95 95 20, tab 102
  button "", 314, 190 115 95 20, tab 102
  button "", 315, 190 135 95 20, tab 102
  button "", 316, 190 155 95 20, tab 102
  tab "Nick III", 103
  box "Nick III", 20, 20 40 100 140, tab 103
  edit "", 21, 20 55 100 20, tab 103 autohs
  edit "", 22, 20 75 100 20, tab 103 autohs
  edit "", 23, 20 95 100 20, tab 103 autohs
  edit "", 24, 20 115 100 20, tab 103 autohs
  edit "", 25, 20 135 100 20, tab 103 autohs
  edit "", 26, 20 155 100 20, tab 103 autohs
  box "Pass III:", 132, 120 40 70 140, tab 103
  edit "", 133, 120 55 70 20, tab 103 pass autohs limit 100
  edit "", 134, 120 76 70 20, tab 103 pass autohs limit 100
  edit "", 135, 120 95 70 20, tab 103 pass autohs limit 100
  edit "", 136, 120 115 70 20, tab 103 pass autohs limit 100
  edit "", 137, 120 135 70 20, tab 103 pass autohs limit 100
  edit "", 138, 120 155 70 20, tab 103 pass autohs limit 100
  box "Utiliser ce Nick", 320, 190 40 95 140, tab 103
  button "", 321, 190 55 95 20, tab 103
  button "", 322, 190 75 95 20, tab 103
  button "", 323, 190 95 95 20, tab 103
  button "", 324, 190 115 95 20, tab 103
  button "", 325, 190 135 95 20, tab 103
  button "", 326, 190 155 95 20, tab 103
  tab "Nick IV", 104
  box "Nick IV", 30, 20 40 100 140, tab 104
  edit "", 31, 20 55 100 20, tab 104 autohs
  edit "", 32, 20 75 100 20, tab 104 autohs
  edit "", 33, 20 95 100 20, tab 104 autohs
  edit "", 34, 20 115 100 20, tab 104 autohs
  edit "", 35, 20 135 100 20, tab 104 autohs
  edit "", 36, 20 155 100 20, tab 104 autohs
  box "Pass IV:", 142, 120 40 70 140, tab 104
  edit "", 143, 120 55 70 20, tab 104 pass autohs limit 100
  edit "", 144, 120 75 70 20, tab 104 pass autohs limit 100
  edit "", 145, 119 95 70 20, tab 104 pass autohs limit 100
  edit "", 146, 120 115 70 20, tab 104 pass autohs limit 100
  edit "", 147, 120 135 70 20, tab 104 pass autohs limit 100
  edit "", 148, 120 155 70 20, tab 104 pass autohs limit 100
  box "Utiliser ce Nick", 330, 190 40 95 140, tab 104
  button "", 331, 190 55 95 20, tab 104
  button "", 332, 190 75 95 20, tab 104
  button "", 333, 190 95 95 20, tab 104
  button "", 334, 190 115 95 20, tab 104
  button "", 335, 190 135 95 20, tab 104
  button "", 336, 190 155 95 20, tab 104
  check "Activer l'auto-identification", 99, 20 195 150 20
  icon 1, 11 214 280 76,  images\icones\nick.jpg, 0, noborder center
}



alias setting {
  //set %in1 $did(nev,4) | //set %in2 $did(nev,5) | //set %in3 $did(nev,6) | //set %in4 $did(nev,7) | //set %in5 $did(nev,8) | //set %in6 $did(nev,9)
  //set %in7 $did(nev,11) | //set %in8 $did(nev,12) | //set %in9 $did(nev,13) | //set %in10 $did(nev,14) | //set %in11 $did(nev,15) | //set %in12 $did(nev,16)
  //set %in13 $did(nev,21) | //set %in14 $did(nev,22) | //set %in15 $did(nev,23) | //set %in16 $did(nev,24) | //set %in17 $did(nev,25) | //set %in18 $did(nev,26)
  //set %in19 $did(nev,31) | //set %in20 $did(nev,32) | //set %in21 $did(nev,33) | //set %in22 $did(nev,34) | //set %in23 $did(nev,35) | //set %in24 $did(nev,36)
  //set %np1 $did(nev,116) | //set %np2 $did(nev,117) | //set %np3 $did(nev,118) | //set %np4 $did(nev,119) | //set %np5 $did(nev,120) | //set %np6 $did(nev,121) 
  //set %np7 $did(nev,126) | //set %np8 $did(nev,127) | //set %np9 $did(nev,128) | //set %np10 $did(nev,129) | //set %np11 $did(nev,130) | //set %np12 $did(nev,131) 
  //set %np13 $did(nev,133) | //set %np14 $did(nev,134) | //set %np15 $did(nev,135) | //set %np16 $did(nev,136) | //set %np17 $did(nev,137) | //set %np18 $did(nev,138) 
  //set %np19 $did(nev,143) | //set %np20 $did(nev,144) | //set %np21 $did(nev,145) | //set %np22 $did(nev,146) | //set %np23 $did(nev,147) | //set %np24 $did(nev,148) 

}


alias init {
  //did -ra nev 4 %in1 | //did -ra nev 5 %in2 | //did -ra nev 6 %in3 | //did -ra nev 7 %in4 | //did -ra nev 8 %in5 | //did -ra nev 9 %in6
  //did -ra nev 11 %in7 | //did -ra nev 12 %in8 | //did -ra nev 13 %in9 | //did -ra nev 14 %in10 | //did -ra nev 15 %in11 | //did -ra nev 16 %in12
  //did -ra nev 21 %in13 | //did -ra nev 22 %in14 | //did -ra nev 23 %in15 | //did -ra nev 24 %in16 | //did -ra nev 25 %in17 | //did -ra nev 26 %in18
  //did -ra nev 31 %in19 | //did -ra nev 32 %in20 | //did -ra nev 33 %in21 | //did -ra nev 34 %in22 | //did -ra nev 35 %in23 | //did -ra nev 36 %in24
  //did -ra nev 116 %np1 | //did -ra nev 117 %np2 | //did -ra nev 118 %np3 | //did -ra nev 119 %np4 | //did -ra nev 120 %np5 | //did -ra nev 121 %np6
  //did -ra nev 126 %np7 | //did -ra nev 127 %np8 | //did -ra nev 128 %np9 | //did -ra nev 129 %np10 | //did -ra nev 130 %np11 | //did -ra nev 131 %np12
  //did -ra nev 133 %np13 | //did -ra nev 134 %np14 | //did -ra nev 135 %np15 | //did -ra nev 136 %np16 | //did -ra nev 137 %np17 | //did -ra nev 138 %np18
  //did -ra nev 143 %np19 | //did -ra nev 144 %np20 | //did -ra nev 145 %np21 | //did -ra nev 146 %np22 | //did -ra nev 147 %np23 | //did -ra nev 148 %np24
  //did -ra nev 301 %in1 | //did -ra nev 302 %in2 | //did -ra nev 303 %in3 | //did -ra nev 304 %in4 | //did -ra nev 305 %in5 | //did -ra nev 306 %in6
  //did -ra nev 311 %in7 | //did -ra nev 312 %in8 | //did -ra nev 313 %in9 | //did -ra nev 314 %in10 | //did -ra nev 315 %in11 | //did -ra nev 316 %in12
  //did -ra nev 321 %in13 | //did -ra nev 322 %in14 | //did -ra nev 323 %in15 | //did -ra nev 324 %in16 | //did -ra nev 325 %in17 | //did -ra nev 326 %in18
  //did -ra nev 331 %in19 | //did -ra nev 332 %in20 | //did -ra nev 333 %in21 | //did -ra nev 334 %in22 | //did -ra nev 335 %in23 | //did -ra nev 336 %in24
  if ($group(#autoid) == on) {
  //did -c nev 99  }
}


alias sm {
  if ($group(#autoid) == on) { /.disable #autoid }
  else { /.enable #autoid }
}



on *:dialog:NEV:sclick:99: .sm
on *:dialog:NEV:sclick:601:{
  .SETTING
  .INIT
}


on *:dialog:NEV:sclick:301: .SETTING | .NICK %IN1 | .INIT 
on *:dialog:NEV:sclick:302: .SETTING | .INIT | .NICK %IN2
on *:dialog:NEV:sclick:303: .SETTING | .INIT | .NICK %IN3
on *:dialog:NEV:sclick:304: .SETTING | .INIT | .NICK %IN4
on *:dialog:NEV:sclick:305: .SETTING | .INIT | .NICK %IN5
on *:dialog:NEV:sclick:306: .SETTING | .INIT | .NICK %IN6
on *:dialog:NEV:sclick:311: .SETTING | .INIT | .NICK %IN7
on *:dialog:NEV:sclick:312: .SETTING | .INIT | .NICK %IN8
on *:dialog:NEV:sclick:313: .SETTING | .INIT | .NICK %IN9
on *:dialog:NEV:sclick:314: .SETTING | .INIT | .NICK %IN10
on *:dialog:NEV:sclick:315: .SETTING | .INIT | .NICK %IN11
on *:dialog:NEV:sclick:316: .SETTING | .INIT | .NICK %IN12
on *:dialog:NEV:sclick:321: .SETTING | .INIT | .NICK %IN13
on *:dialog:NEV:sclick:322: .SETTING | .INIT | .NICK %IN14
on *:dialog:NEV:sclick:323: .SETTING | .INIT | .NICK %IN15
on *:dialog:NEV:sclick:324: .SETTING | .INIT | .NICK %IN16
on *:dialog:NEV:sclick:325: .SETTING | .INIT | .NICK %IN17
on *:dialog:NEV:sclick:326: .SETTING | .INIT | .NICK %IN18
on *:dialog:NEV:sclick:331: .SETTING | .INIT | .NICK %IN19
on *:dialog:NEV:sclick:332: .SETTING | .INIT | .NICK %IN20
on *:dialog:NEV:sclick:333: .SETTING | .INIT | .NICK %IN21
on *:dialog:NEV:sclick:334: .SETTING | .INIT | .NICK %IN22
on *:dialog:NEV:sclick:335: .SETTING | .INIT | .NICK %IN23
on *:dialog:NEV:sclick:336: .SETTING | .INIT | .NICK %IN24

on *:dialog:nEV:init:*:{
  .INIT
}

#autoid on
on 1:NOTICE:*identify*:?:{
  if ($me == %in1) { /.msg nickserv identify %np1 | halt } 
  if ($me == %in2) { /.msg nickserv identify %np2 | halt } 
  if ($me == %in3) { /.msg nickserv identify %np3 | halt } 
  if ($me == %in4) { /.msg nickserv identify %np4 | halt } 
  if ($me == %in5) { /.msg nickserv identify %np5 | halt } 
  if ($me == %in6) { /.msg nickserv identify %np6 | halt } 
  if ($me == %in7) { /.msg nickserv identify %np7 | halt } 
  if ($me == %in8) { /.msg nickserv identify %np8 | halt } 
  if ($me == %in9) { /.msg nickserv identify %np9 | halt } 
  if ($me == %in10) { /.msg nickserv identify %np10 | halt } 
  if ($me == %in11) { /.msg nickserv identify %np11 | halt } 
  if ($me == %in12) { /.msg nickserv identify %np12 | halt } 
  if ($me == %in13) { /.msg nickserv identify %np13 | halt } 
  if ($me == %in14) { /.msg nickserv identify %np14 | halt } 
  if ($me == %in15) { /.msg nickserv identify %np15 | halt } 
  if ($me == %in16) { /.msg nickserv identify %np16 | halt } 
  if ($me == %in17) { /.msg nickserv identify %np17 | halt } 
  if ($me == %in18) { /.msg nickserv identify %np18 | halt } 
  if ($me == %in19) { /.msg nickserv identify %np19 | halt } 
  if ($me == %in20) { /.msg nickserv identify %np20 | halt } 
  if ($me == %in21) { /.msg nickserv identify %np21 | halt } 
  if ($me == %in22) { /.msg nickserv identify %np22 | halt } 
  if ($me == %in23) { /.msg nickserv identify %np23 | halt } 
  if ($me == %in24) { /.msg nickserv identify %np24 | halt } 

}
#autoid end
