==========
التعريف الالى = [ يوضع بالريموت ]
==========
dialog aident {
title " الـــــتـــــعريــــــف الآلـــي لـلـقــنــاة + الـنـك "
size -1 -1 565 105
box " تعريف النك ", 1, 10 5 240 90
text "النك",2,20 23 50 15,left
edit "",3,20 35 110 20,left,autohs
text "الباسوورد",4,130 23 50 15,left
edit "",5,130 35 110 20,left,autohs,pass
button "أعاده",6,83 62 45 25
button "",7,133 62 45 25
box "تعريف القناة",8,260 5 240 90
text "اسم القناة",9,270 23 80 15,left
edit "",10,270 35 110 20,left,autohs
text "الباسوورد",11,380 23 50 15,left
edit "",12,380 35 110 20,left,autohs,pass
button "أعادة",13,333 62 45 25
button "",14,383 62 45 25
button "ألغاء",15,508 55 50 30,cancel
button "اوكي", 16, 508 20 50 30,OK
}
on *:dialog:aident:init:0:{
if (%nick-ident != $null) { did -a aident 3 %nick-ident } | if (%nick-pass != $null) { did -a aident 5 %nick-pass } | if (%auto-ident-nick == off) { did -b aident 3 | did -b aident 5 | did -b aident 6 | did -a aident 7 Enable } | else { did -a aident 7 Disable }
if (%chan-ident != $null) { did -a aident 10 %chan-ident } | if (%chan-pass != $null) { did -a aident 12 %chan-pass } | if (%auto-ident-chan == off) { did -b aident 10 | did -b aident 12 | did -b aident 13 | did -a aident 14 Enable } | else { did -a aident 14 Disable }
}
on *:dialog:aident:sclick:*:{
if ($did == 6) { did -r aident 3 | did -r aident 5 } | if ($did == 13) { did -r aident 10 | did -r aident 12 }
if ($did == 7) && (enable isin $did(7)) { did -e aident 3 | did -e aident 5 | did -e aident 6 | did -ra aident 7 Disable } | elseif ($did == 7) { did -b aident 3 | did -b aident 5 | did -b aident 6 | did -ra aident 7 Enable }
if ($did == 14) && (enable isin $did(14)) { did -e aident 10 | did -e aident 12 | did -e aident 13 | did -ra aident 14 Disable } | elseif ($did == 14) { did -b aident 10 | did -b aident 12 | did -b aident 13 | did -ra aident 14 Enable }
if ($did == 16) {
if (disable isin $did(7)) { set %auto-ident-nick on | set %nick-ident $did(3) | set %nick-pass $did(5) } | else { set %auto-ident-nick off | set %nick-ident $did(3) | set %nick-pass $did(5) }
if (disable isin $did(14)) { set %auto-ident-chan on | set %chan-ident $did(10) | set %chan-pass $did(12) } | else { set %auto-ident-chan off | set %chan-ident $did(10) | set %chan-pass $did(12) }
}
}
alias aident dialog -mn aident aident
on 1:CONNECT: {
if (%auto-ident-chan == on) && (%chan-ident != $null) && (%chan-pass != $null) { identify %chan-ident %chan-pass }
if (%auto-ident-nick == on) && (%nick-pass != $null) { identify %nick-pass }
}
on 1:NOTICE:*if this is your nick*:?:{
if ($nick == nickserv) {
if (%nick-pass == $null) { echo 3 *** Can't auto identify your nick. Type 4/aident to setup. | halt }
identify %nick-pass
}
}
مع تحياتي: :) FAWAZ :)
التعريف الالى = [ يوضع بالريموت ]
==========
dialog aident {
title " الـــــتـــــعريــــــف الآلـــي لـلـقــنــاة + الـنـك "
size -1 -1 565 105
box " تعريف النك ", 1, 10 5 240 90
text "النك",2,20 23 50 15,left
edit "",3,20 35 110 20,left,autohs
text "الباسوورد",4,130 23 50 15,left
edit "",5,130 35 110 20,left,autohs,pass
button "أعاده",6,83 62 45 25
button "",7,133 62 45 25
box "تعريف القناة",8,260 5 240 90
text "اسم القناة",9,270 23 80 15,left
edit "",10,270 35 110 20,left,autohs
text "الباسوورد",11,380 23 50 15,left
edit "",12,380 35 110 20,left,autohs,pass
button "أعادة",13,333 62 45 25
button "",14,383 62 45 25
button "ألغاء",15,508 55 50 30,cancel
button "اوكي", 16, 508 20 50 30,OK
}
on *:dialog:aident:init:0:{
if (%nick-ident != $null) { did -a aident 3 %nick-ident } | if (%nick-pass != $null) { did -a aident 5 %nick-pass } | if (%auto-ident-nick == off) { did -b aident 3 | did -b aident 5 | did -b aident 6 | did -a aident 7 Enable } | else { did -a aident 7 Disable }
if (%chan-ident != $null) { did -a aident 10 %chan-ident } | if (%chan-pass != $null) { did -a aident 12 %chan-pass } | if (%auto-ident-chan == off) { did -b aident 10 | did -b aident 12 | did -b aident 13 | did -a aident 14 Enable } | else { did -a aident 14 Disable }
}
on *:dialog:aident:sclick:*:{
if ($did == 6) { did -r aident 3 | did -r aident 5 } | if ($did == 13) { did -r aident 10 | did -r aident 12 }
if ($did == 7) && (enable isin $did(7)) { did -e aident 3 | did -e aident 5 | did -e aident 6 | did -ra aident 7 Disable } | elseif ($did == 7) { did -b aident 3 | did -b aident 5 | did -b aident 6 | did -ra aident 7 Enable }
if ($did == 14) && (enable isin $did(14)) { did -e aident 10 | did -e aident 12 | did -e aident 13 | did -ra aident 14 Disable } | elseif ($did == 14) { did -b aident 10 | did -b aident 12 | did -b aident 13 | did -ra aident 14 Enable }
if ($did == 16) {
if (disable isin $did(7)) { set %auto-ident-nick on | set %nick-ident $did(3) | set %nick-pass $did(5) } | else { set %auto-ident-nick off | set %nick-ident $did(3) | set %nick-pass $did(5) }
if (disable isin $did(14)) { set %auto-ident-chan on | set %chan-ident $did(10) | set %chan-pass $did(12) } | else { set %auto-ident-chan off | set %chan-ident $did(10) | set %chan-pass $did(12) }
}
}
alias aident dialog -mn aident aident
on 1:CONNECT: {
if (%auto-ident-chan == on) && (%chan-ident != $null) && (%chan-pass != $null) { identify %chan-ident %chan-pass }
if (%auto-ident-nick == on) && (%nick-pass != $null) { identify %nick-pass }
}
on 1:NOTICE:*if this is your nick*:?:{
if ($nick == nickserv) {
if (%nick-pass == $null) { echo 3 *** Can't auto identify your nick. Type 4/aident to setup. | halt }
identify %nick-pass
}
}
مع تحياتي: :) FAWAZ :)