- menu channel {
- -
- Auto-Identification:/dialog -m aident aident
- }
- dialog aident {
- title "Auto-Identification "
- size -1 -1 122 49
- option dbu
- box "Configuration", 1, 0 1 122 47
- edit %identnick , 2, 43 9 58 10
- edit %identpassword , 3, 43 20 58 10, pass
- text "Mot de passe :", 4, 3 21 37 8
- text "Utilisateur :", 5, 4 10 35 8
- check "Activer/désactiver", 6, 5 33 77 10
- button "Ok", 8, 90 34 30 12, ok cancel
- }
- on *:dialog:aident:edit:*: set $iif($did == 2,%identnick,%identpassword) $did($iif($did == 2,2,3))
- on *:dialog:aident:sclick:6:{
- if $did(6).state == 1 { set %aident Oui }
- else { set %aident Non }
- }
- on *:dialog:aident:init:*:{
- if ( %aident == Oui ) { did -c aident 6 }
- }
- on *:dialog:aident:sclick:8: { /echo -a Vérification du nom d'utilisateur et du mot de passe, veuillez patienter s.v.p | ./timer 1 2 /msg x@channels.undernet.org login %identnick %identpassword | mode $me +x } }
-
- On *:Connect:{
- if (%aident == Oui ) { /msg x@channels.undernet.org login %identnick %identpassword | mode $me +x }
-
- }
menu channel {
-
Auto-Identification:/dialog -m aident aident
}
dialog aident {
title "Auto-Identification "
size -1 -1 122 49
option dbu
box "Configuration", 1, 0 1 122 47
edit %identnick , 2, 43 9 58 10
edit %identpassword , 3, 43 20 58 10, pass
text "Mot de passe :", 4, 3 21 37 8
text "Utilisateur :", 5, 4 10 35 8
check "Activer/désactiver", 6, 5 33 77 10
button "Ok", 8, 90 34 30 12, ok cancel
}
on *:dialog:aident:edit:*: set $iif($did == 2,%identnick,%identpassword) $did($iif($did == 2,2,3))
on *:dialog:aident:sclick:6:{
if $did(6).state == 1 { set %aident Oui }
else { set %aident Non }
}
on *:dialog:aident:init:*:{
if ( %aident == Oui ) { did -c aident 6 }
}
on *:dialog:aident:sclick:8: { /echo -a Vérification du nom d'utilisateur et du mot de passe, veuillez patienter s.v.p | ./timer 1 2 /msg x@channels.undernet.org login %identnick %identpassword | mode $me +x } }
On *:Connect:{
if (%aident == Oui ) { /msg x@channels.undernet.org login %identnick %identpassword | mode $me +x }
}