Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:dialog:pv2config:*:*:{
- if ($devent = sclick) {
- if ($did = 47) { dialog -c $dname }
- if ($did = 4) { $iif($did(4).state = 1,$cfw(ct,c,1),$cfw(ct,c,0)) }
- if ($did = 5) { $iif($did(5).state = 1,$cfw(r,r,1),$cfw(r,r,0)) }
- if ($did = 6) { $iif($did(6).state = 1,$cfw(z,z,1),$cfw(z,z,0)) }
- if ($did = 50) { $iif($did(50).state = 1,$cfw(i,i,1),$cfw(i,i,0)) }
- if ($did = 53) { $iif($did(53).state = 1,$cfw(f,s,1),$cfw(f,s,0)) }
- if ($did = 54) { $iif($did(54).state = 1,$cfw(f,w,1),$cfw(f,w,0)) }
- if ($did = 55) { $iif($did(55).state = 1,$cfw(f,i,1),$cfw(f,i,0)) }
- if ($did = 56) { $iif($did(56).state = 1,$cfw(f,z,1),$cfw(f,z,0)) }
- if ($did = 57) { $iif($did(57).state = 1,$cfw(f,c,1),$cfw(f,c,0)) }
- ;---combos
- ;nick parpadeo
- if ($did = 46) { echo -s $did(46).sel }
- ;lineaas
- if ($did = 2) { echo -s $did(2).sel }
- ;tiempo en pantalla cartel
- if ($did = 33) { echo -s $did(33).sel }
- ;color cartel
- if ($did = 37) { echo -s $did(37).sel }
- ;duracion ignore
- if ($did = 49) { echo -s $did(49).sel }
- ;---Barra de colores
- if ($did = 17) { echo -s color blanco }
- if ($did = 16) { echo -s color negro }
- if ($did = 22) { echo -s color azul }
- if ($did = 23) { echo -s color verde }
- if ($did = 18) { echo -s color rojo }
- if ($did = 19) { echo -s color carmeci }
- if ($did = 21) { echo -s color morado }
- if ($did = 24) { echo -s color naranjo }
- if ($did = 61) { echo -s color amarillo }
- if ($did = 60) { echo -s color verde }
- if ($did = 30) { echo -s color verdeoscuro }
- if ($did = 29) { echo -s color celeste }
- if ($did = 28) { echo -s color azulino }
- if ($did = 27) { echo -s color fuxia }
- if ($did = 26) { echo -s color gris }
- if ($did = 25) { echo -s color plomo }
- }
- if ($devent = edit) {
- if ($did = 51) { $cfw(i,m,$did(51).text) }
- if ($did = 58) { $cfw(f,sm,$did(58).text) }
- }
- if ($devent == init) {
- ;-----------------------------------------------Chek
- $iif($cfr(ct,c) = 0,did -u $dname 4,did -c $dname 4)
- $iif($cfr(r,r) = 0,did -u $dname 5,did -c $dname 5)
- $iif($cfr(z,z) = 0,did -u $dname 6,did -c $dname 6)
- $iif($cfr(i,i) = 0,did -u $dname 50,did -c $dname 50)
- ;53 saludar / 54 whois/ 55 ignore /56 zumbido /57 cerrar
- $iif($cfr(f,s) = 0,did -u $dname 53,did -c $dname 53)
- $iif($cfr(f,w) = 0,did -u $dname 54,did -c $dname 54)
- $iif($cfr(f,i) = 0,did -u $dname 55,did -c $dname 55)
- $iif($cfr(f,z) = 0,did -u $dname 56,did -c $dname 56)
- $iif($cfr(f,c) = 0,did -u $dname 57,did -c $dname 57)
- /*
- $iif($cfr() = 0,did -u $dname ,did -c $dname )
- $iif($cfr() = 0,did -u $dname ,did -c $dname )
- */
- ;---------------------------------------------EDIT
- did -a $dname 58 $cfr(f,sm)
- did -a $dname 51 $cfr(i,m)
- ;--------------------------------------------------------Combos!!!!
- ;---Maximo de lineas
- did -a $dname 2 20 Lineas
- did -a $dname 2 50 Lineas
- did -a $dname 2 100 Lineas
- ;---Tiempo de parpadeo
- did -a $dname 46 cada 0.5 segundos
- did -a $dname 46 cada 1 segundos
- did -a $dname 46 cada 1.5 segundos
- did -a $dname 46 cada 2 segundos
- did -a $dname 46 cada 2.5 segundos
- did -a $dname 46 cada 3 segundos
- ;---Tiempo del cartel
- did -a $dname 33 1 Segundos
- did -a $dname 33 2 Segundos
- did -a $dname 33 4 Segundos
- did -a $dname 33 6 Segundos
- did -a $dname 33 8 Segundos
- ;---Color del cartel
- did -a $dname 37 Amarillo
- did -a $dname 37 Verde
- did -a $dname 37 Celeste
- did -a $dname 37 Rosa
- did -a $dname 37 Blanco
- ;---Duracion del Ignore
- did -a $dname 49 5 Minutos
- did -a $dname 49 10 Minutos
- did -a $dname 49 30 Minutos
- did -a $dname 49 1 Hora
- did -a $dname 49 2 Horas
- did -a $dname 49 6 Horas
- did -a $dname 49 Permanente.
- ;-----------------------------------------------Load combos
- var %par = $cfr(nl,p)
- if (%par = 500) { did -u $dname 46 1 }
- if (%par = 1000) { did -u $dname 46 2 }
- if (%par = 1500) { did -u $dname 46 3 }
- if (%par = 2000) { did -u $dname 46 4 }
- if (%par = 2500) { did -u $dname 46 5 }
- if (%par = 3000) { did -u $dname 46 6 }
- var %lin = $cfr(c,lg)
- if (%lin = 20) { did -u $dname 2 1 }
- if (%lin = 50) { did -u $dname 2 2 }
- if (%lin = 100) { did -u $dname 2 3 }
- var %car = $cfr(ct,t)
- if (%car = 1000) { did -u $dname 33 1 }
- if (%car = 2000) { did -u $dname 33 2 }
- if (%car = 4000) { did -u $dname 33 3 }
- if (%car = 6000) { did -u $dname 33 4 }
- if (%car = 8000) { did -u $dname 33 5 }
- var %carc = $cfr(ct,cl)
- if (%carc = amarillo) { did -u $dname 37 1 }
- if (%carc = verde) { did -u $dname 37 2 }
- if (%carc = celeste) { did -u $dname 37 3 }
- if (%carc = rosa) { did -u $dname 37 4 }
- if (%carc = blanco) { did -u $dname 37 5 }
- var %igrt = $cfr(i,t)
- if (%igrt = 300) { did -u $dname 49 1 }
- if (%igrt = 600) { did -u $dname 49 2 }
- if (%igrt = 1800) { did -u $dname 49 3 }
- if (%igrt = 3600) { did -u $dname 49 4 }
- if (%igrt = 7200) { did -u $dname 49 5 }
- if (%igrt = 21600) { did -u $dname 49 6 }
- if (%igrt = 0) { did -u $dname 49 7 }
- }
- }
- alias dn { did -a pv2conf $1 $2- }
- dialog pv2config {
- title "Configuraciones Pv2Box"
- size -1 -1 186 171
- option dbu
- box "Lineas maximas de buffe", 1, 4 2 77 29
- combo 2, 6 12 60 100, size drop
- box "Notificaciones.", 3, 4 32 77 41
- check "Cartel", 4, 12 40 50 10
- check "Ring", 5, 12 50 50 10
- check "Zumbidos", 6, 12 60 50 10
- button "?", 7, 65 50 10 8
- button "?", 8, 65 40 10 8
- button "?", 9, 65 60 10 8
- tab "Notify", 10, 84 2 99 167
- list 12, 86 27 95 125, tab 10 size
- button "Agregar", 38, 87 152 46 12, tab 10
- button "Borrar", 39, 135 152 46 12, tab 10
- edit "Lista de Notificables", 44, 86 18 95 10, tab 10 read center
- tab "Ignore", 11
- list 40, 86 27 95 125, tab 11 size
- button "Agregar", 41, 87 152 46 12, tab 11
- button "Borrar", 42, 135 152 46 12, tab 11
- edit "Lista de Ignorados", 43, 86 18 95 10, tab 11 read center
- tab "Notificaciones", 13
- box "Cargar tono de: Ring", 20, 88 18 92 26, tab 13
- edit "", 31, 90 27 68 10, tab 13
- button "...", 32, 159 27 19 9, tab 13
- combo 33, 93 64 80 100, tab 13 size drop
- box "Configuración de Cartel", 34, 88 45 89 56, tab 13
- edit "Tiempo en pantalla", 35, 93 54 80 10, tab 13 read center
- edit "Color del cartel", 36, 93 75 80 10, tab 13 read center
- combo 37, 93 85 80 100, tab 13 size drop
- tab "Funciones", 14
- box "Funciones rapidas", 52, 86 18 95 149, tab 14
- check "Saludar", 53, 90 27 86 10, tab 14 left
- check "Whois", 54, 90 137 86 10, tab 14 left
- edit "", 58, 87 37 92 31, tab 14 center
- check "Ignorar", 55, 90 69 86 10, tab 14 left
- edit "Duracción del Ignore", 48, 87 79 92 10, tab 14 read center
- combo 49, 88 89 90 100, tab 14 size drop
- check "Mensaje al ignorar?", 50, 90 100 86 10, tab 14 left
- edit "", 51, 87 109 92 28, tab 14 center
- check "Cerrar", 57, 90 155 86 10, tab 14 left
- check "Zumbido", 56, 90 146 86 10, tab 14 left
- box "Color Nick", 15, 4 74 77 29
- icon 17, 7 83 7 7, C:\mIRC\Pv2Box\ico\0.png, 0
- box "Tiempo de parpadeo", 45, 4 102 77 26
- combo 46, 6 112 60 100, size drop
- button "Listo", 47, 3 157 78 12
- icon 16, 16 83 7 7, C:\mIRC\Pv2Box\ico\1.png, 0
- icon 18, 43 83 7 7, C:\mIRC\Pv2Box\ico\4.png, 0
- icon 19, 52 83 7 7, C:\mIRC\Pv2Box\ico\5.png, 0
- icon 21, 61 83 7 7, C:\mIRC\Pv2Box\ico\6.png, 0
- icon 22, 25 83 7 7, C:\mIRC\Pv2Box\ico\2.png, 0
- icon 23, 34 83 7 7, C:\mIRC\Pv2Box\ico\3.png, 0
- icon 24, 70 83 7 7, C:\mIRC\Pv2Box\ico\7.png, 0
- icon 25, 70 92 7 7, C:\mIRC\Pv2Box\ico\15.png, 0
- icon 26, 61 92 7 7, C:\mIRC\Pv2Box\ico\14.png, 0
- icon 27, 52 92 7 7, C:\mIRC\Pv2Box\ico\13.png, 0
- icon 28, 43 92 7 7, C:\mIRC\Pv2Box\ico\12.png, 0
- icon 29, 34 92 7 7, C:\mIRC\Pv2Box\ico\11.png, 0
- icon 30, 25 92 7 7, C:\mIRC\Pv2Box\ico\10.png, 0
- icon 60, 16 92 7 7, C:\mIRC\Pv2Box\ico\9.png, 0
- icon 61, 7 92 7 7, C:\mIRC\Pv2Box\ico\8.png, 0
- box "Nick de muestra", 62, 4 129 77 26
- button "?", 63, 68 113 10 8
- button "?", 64, 67 13 10 8
- }
Add Comment
Please, Sign In to add comment