C est un code que j ai fait moi meme bien sur vous avez du tous voir un de se style ! vous pouvez l'activer ou le désactiver pour chaque reponses notice simple d utilisation !
Source / Exemple :
dialog notice {
title " - Réponse en notice -"
size -1 -1 177 79
option dbu
edit "", 1, 62 11 92 10, autohs
edit "", 2, 62 21 92 10, autohs
edit "", 3, 62 31 92 10, autohs
edit "", 4, 62 41 92 10, autohs
edit "", 5, 62 51 92 10, autohs
check "Check Box", 6, 161 12 6 6, flat
check "Check Box", 7, 161 22 6 6, flat
check "Check Box", 8, 161 32 6 6, flat
check "Check Box", 9, 161 42 6 6, flat
check "Check Box", 10, 161 52 6 6, flat
button "Fermer", 11, 55 64 73 10, ok , flat
text "On te Op message :" ,12, 1 12 53 10
text "On te DeOp message :" ,13, 1 22 54 10
text "On te Voice Message :" ,14, 1 32 54 10
text "On te devoice message :" ,15, 1 42 58 10
text "On te Kick Message :" ,16, 1 52 53 10
text "Menu des notices" ,17, 70 2 50 8
box "Actif",18, 156 4 15 60
}
on *:dialog:notice:sclick:6: {
if (%notop == on) { set %notop off }
else { set %notop on | set %notop1 $did(1) }
}
on *:dialog:notice:sclick:7: {
if (%notdeop == on) { set %notdeop off }
else { set %notdeop on | set %notdeop1 $did(2) }
}
on *:dialog:notice:sclick:8: {
if (%notvoice == on) { set %notvoice off }
else { set %notvoice on | set %notvoice1 $did(3) }
}
on *:dialog:notice:sclick:9: {
if (%notdevoice == on) { set %notdevoice off }
else { set %notdevoice on | set %notdevoice1 $did(4) }
}
on *:dialog:notice:sclick:10: {
if (%notkick == on) { set %notkick off }
else { set %notkick on | set %notkick1 $did(5) }
}
on *:dialog:notice:init:*:{
did -o notice 1 1 %notop1
did -o notice 2 2 %notdeop1
did -o notice 3 3 %notvoice1
did -o notice 4 4 %notdevoice1
did -o notice 5 5 %notkick1
if (%notop == on) { did -c notice 6 }
if (%notop == off) { did -u notice 6 }
if (%notdeop == on) { did -c notice 7 }
if (%notdeop == off) { did -u notice 7 }
if (%notvoice == on) { did -c notice 8 }
if (%notvoice == off) { did -u notice 8 }
if (%notdevoice == on) { did -c notice 9 }
if (%notdevoice == off) { did -u notice 9 }
if (%notkick == on) { did -c notice 10 }
if (%notkick == off) { did -u notice 10 }
}
on ^1:KICK:*: { if ($knick == $me) { if (%notkick == on) && ($nick != $me) { notice $nick %notkick1 } } }
on ^1:op:*:{ if (%notop == on) && ($nick != $me) { notice $nick %notop1 } }
on ^1:deop:*:{ if (%notdeop == on) && ($nick != $me) { notice $nick %notdeop1 } }
on ^1:voice:*:{ if (%notvoice == on) && ($nick != $me) { notice $nick %notvoice1 } }
on ^1:devoice:*:{ if (%notdevoice == on) && ($nick != $me) { notice $nick %notdevoice1 } }
Conclusion :
huuu pour ceux qui dise que ces mal coder , ba c'est mal coder , c 'est ma facon de coder ...
Vous n'êtes pas encore membre ?
inscrivez-vous, c'est gratuit et ça prend moins d'une minute !
Les membres obtiennent plus de réponses que les utilisateurs anonymes.
Le fait d'être membre vous permet d'avoir un suivi détaillé de vos demandes et codes sources.
Le fait d'être membre vous permet d'avoir des options supplémentaires.