code qui n'es pas trop compliquer , sert a configurer le channel avec le chanflags du Q ( c " autolimit " ) ( w " Welcome " topic ) ( b " bitchmode " )
quand j'aurais le temps j'alongerai le dialog pour ajouter par la suite un chanlev .
( vous n'avez cas prendre le .zip le deziprer mettre le qchan.mrc dans votre racine du mirc et ensuite taper -» /load -rs qchan.mrc «-
Source / Exemple :
dialog Qchan {
title "Q Chan"
size -1 -1 120 105
option dbu
text "chanflags +w for welcome topic on / off", 2, 5 12 108 8, center
button "On", 3, 8 22 42 12
box "Q chan By ScaRa ©", 1, 2 3 114 99, disable
button "Off", 4, 65 22 42 12
button "On", 5, 9 47 42 12
button "Off", 6, 65 47 42 12
text "Bitchmode Chan on / off", 7, 7 37 100 8, center
text "Auto limit Chan", 8, 69 60 45 7, center
button "On", 9, 12 73 20 12
button "Off", 10, 83 73 19 12
edit "", 11, 34 73 24 11
text "limit set", 12, 23 62 44 9, center
button "Ok", 13, 61 73 20 12
text "Thanks for using ScaRa Script v2.3", 14, 8 89 101 8, disable center
}
menu channel,nicklist,query {
Q Channel
.Q Mode Chan:dialog -m Qchan Qchan
}
on *:dialog:Qchan:sclick:3:{ /msg q chanflags $active +w }
on *:dialog:Qchan:sclick:4:{ /msg q chanflags $active -w }
on *:dialog:Qchan:sclick:5:{ /msg q chanflags $active +b }
on *:dialog:Qchan:sclick:6:{ /msg q chanflags $active -b }
on *:dialog:Qchan:sclick:9:{ /msg q chanflags $active +c }
on *:dialog:Qchan:sclick:10:{ /msg q chanflags $active -c }
on *:dialog:Qchan:sclick:13:{ /msg q autolimit $active $+($chr(35),$did(11)) }
Conclusion :
Bisous :p
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.