Help me!!!!urgent

Résolu
SuPeR_BoBoM Messages postés 12 Date d'inscription mercredi 27 avril 2005 Statut Membre Dernière intervention 21 mai 2005 - 29 avril 2005 à 21:33
cs_clem54 Messages postés 253 Date d'inscription jeudi 10 mars 2005 Statut Membre Dernière intervention 16 octobre 2005 - 30 avril 2005 à 10:28
bonjour jfai le menu principal de mon script mai g des probleme avec le codage ça marche ce serai simpa dme réctifier pr ke ça marche
---------------------------------------------------------------------
dialog menu.config {
title "MeNu De CoNFiGuRaTioN"
size -1 -1 222 126
option dbu
tab "Messages", 1, -1 1 221 121
check "Check Box", 7, 8 24 8 10, tab 1
edit "", 8, 22 24 68 10, tab 1
text "Message lorsque vous tentrez sur un salon", 9, 102 25 104 8, tab 1
check "Check Box", 10, 8 39 8 10, tab 1
edit "", 11, 22 39 68 10, tab 1
text "Notice lorsque l'on vous OP", 12, 102 39 67 8, tab 1
check "Check Box", 13, 8 53 8 10, tab 1
edit "", 14, 22 52 68 10, tab 1
text "Notice lorsque l'on vous deOP", 15, 102 52 73 8, tab 1
check "Check Box", 16, 8 66 9 10, tab 1
edit "", 17, 22 66 68 10, tab 1
text "Notice lorsque l'on vous Voice", 18, 102 66 72 8, tab 1
check "Check Box", 19, 8 81 8 10, tab 1
edit "", 20, 22 80 68 10, tab 1
text "Notice lorsque l'on vous DeVoice", 21, 102 81 83 8, tab 1
check "Check Box", 22, 8 95 8 10, tab 1
edit "", 23, 23 94 68 10, tab 1
text "Message lorsque vouspartez d'un salon", 24, 102 94 97 8, tab 1
button "Ok", 51, 78 107 37 12, tab 1 oK
tab "Anti-clone", 2
button "Configuration Anti-Clone", 25, 6 30 205 77, tab 2
tab "Musik de démarage", 3
button "Choisi un morceau", 26, 20 31 177 22, tab 3
button "Valider", 27, 20 80 178 24, tab 3
tab "AwAy", 4
edit "", 28, 69 26 77 10, tab 4
text "Nick pour l'AwAy", 29, 14 27 42 8, tab 4
text "Raison de l'AwAy", 30, 14 49 42 8, tab 4
edit "", 31, 69 48 78 10, tab 4
text "Heure aproximative du retour", 32, 1 70 72 8, tab 4
edit "", 33, 79 69 81 10, tab 4
button "Partir", 34, 24 96 60 12, tab 4
button "Retour", 35, 135 96 55 12, tab 4
tab "Menu", 5
button "List des channels", 36, 12 28 53 12, tab 5
button "Help Menu", 37, 85 62 54 12, tab 5
button "Auteur", 38, 159 90 54 12, tab 5
tab "Carnet d'amis", 6
button "Carnet d'amis", 39, 87 58 37 12, tab 6
tab "Privé", 40
text "Repondeur", 41, 13 29 28 8, tab 40
edit "", 42, 45 28 122 10, tab 40
check "Check Box", 43, 4 28 8 10, tab 40
button "Accepter les privés", 44, 76 58 54 12, tab 40
button "Refuser les privés", 45, 76 80 54 12, tab 40
tab "AuTo", 46
check "Auto-Whois privé", 47, 75 30 50 10, tab 46
check "Auto-rejoin invite", 48, 75 49 53 10, tab 46
check "Auto-rejoin kick", 49, 75 70 50 10, tab 46
check "Auto-connect moutonking", 50, 75 89 73 10, tab 46
}



on *:dialog:message:edit:*:{
if ($did == 8 ) { set %message-join $did(8) }
if ($did == 11 ) { set %notice-op $did(11) }
if ($did == 14 ) { set %notice-deop $did(14) }
if ($did == 17 ) { set %notice-voice $did(17) }
if ($did == 20 ) { set %notice-devoice $did(20) }
if ($did == 23 ) { set %message-quit $did(23)
}
on *:dialog:message:sclick:*:{
if ($did == 7 ) {
if (%message-join- == ON) { set %message-join- OFF }
else { set %message-join- ON }
}
if ($did == 10 ) {
if (%notice-op- == ON) { set %notice-op- OFF }
else { set %notice-op- ON }
}


if ($did == 13 ) {
if (%notice-deop- == ON) { set %notice-deop- OFF }
else { set %notice-deop- ON }
}


if ($did == 16 ) {
if (%notice-voice- == ON) { set %notice-voice- OFF }
else { set %notice-voice- ON }
}


if ($did == 19 ) {
if (%notice-devoice- == ON) { set %notice-devoice- OFF }
else { set %notice-devoice- ON }
}
}


on ^1:JOIN:*: {
if ($nick == $me)
if (%message-join- == ON ) { /.timer 1 2 /msg $chan %message-join }
}


on ^1:op:*: {
if ($nick == $me)
if (%notice-op- == ON ) { notice $nick %notice-op }
}


on ^1:deop:*:{
if ($nick == $me)
if (%notice-deop- == ON ) { notice $nick %notice-deop }
}


on ^1:voice:*:{
if ($nick == $me)
if (%notice-voice- == ON ) { notice $nick %notice-voice }
}


on ^1:devoice:*:{
if ($nick == $me)
if (%notice-devoice- == ON ) { notice $nick %notice-devoice }
}
on ^1:quit:*: {
if ($nick == $me)
if (%message-quit- == ON ) { /.timer 1 2 /msg $chan %message-quit }
}
on ^1:JOIN:*: {
if (%message-join- == ON ) { /timer 1 2 /msg $chan %message-join }
}


on ^1:op:*: {
if (%notice-op- == ON ) { /notice $nick %notice-op }
}


on ^1:deop:*:{
if (%notice-deop- == ON ) { /notice $nick %notice-deop }
}


on ^1:voice:*:{
if (%notice-voice- == ON ) { /notice $nick %notice-voice }
}


on ^1:devoice:*:{
if (%notice-devoice- == ON ) { /notice $nick %notice-devoice }
}
on ^1:quit:*: {
if ($nick == $me)
if (%message-quit- == ON ) { /.timer 1 2 /msg $chan %message-quit }


on *:dialog:menu.config:sclick:*: {
if $did == 25 { dialog -m cfac cfac }
if $did == 26 { set %musique.lancement $sfile($mircdir\,Choisissez un *.mp3 ou *.wav,Valider)
echo -a 7 *** INFO *** 10--------------------------------------------------------------------------------------------
echo -a 7 *** INFO *** 10La musique choisi est7 %musique.lancement
echo -a 7 *** INFO *** 10--------------------------------------------------------------------------------------------
}
if $did == 27 { if (%musique.lancement != $null) {
echo -a 7 *** INFO *** 10--------------------------------------------------------------------------------------------
echo -a 7 *** INFO *** 10Votre choix a été validé, je vais vous la lire une fois.
echo -a 7 *** INFO *** 10--------------------------------------------------------------------------------------------
.splay %musique.lancement
}
Else {
echo -a 7 *** INFO *** 10--------------------------------------------------------------------------------------------
echo -a 7 *** INFO *** Vous n'avez pas choisi de moreau de musique a jouer au demarage
echo -a 7 *** INFO *** 10--------------------------------------------------------------------------------------------
.timer 1 1 /dialog -m choixzik choixzik
}
}
if $did == 34 {
if $did == 35 {
if $did == 37 {
if $did == 38 {
id $did == 39 {

10 réponses

SuPeR_BoBoM Messages postés 12 Date d'inscription mercredi 27 avril 2005 Statut Membre Dernière intervention 21 mai 2005
29 avril 2005 à 21:33
non Dsl jveu dire que ça ne marche pas.
3
MaX_62 Messages postés 879 Date d'inscription vendredi 22 octobre 2004 Statut Membre Dernière intervention 29 juin 2007
29 avril 2005 à 21:49
on *:dialog:message:edit:*:{
if ($did = = 8 ) { set %message-join $did(8) }
if ($did == 11 ) { set %notice-op $did(11) }
if ($did == 14 ) { set %notice-deop $did(14) }
if ($did == 17 ) { set %notice-voice $did(17) }
if ($did == 20 ) { set %notice-devoice $did(20) }
if ($did == 23 ) { set %message-quit $did(23) }
}

il manque une accolad ici :o)


- =[MaX_62]=-
0
SuPeR_BoBoM Messages postés 12 Date d'inscription mercredi 27 avril 2005 Statut Membre Dernière intervention 21 mai 2005
29 avril 2005 à 22:00
merci bien mais y a pa ke les mess et notice les sclick ne marche pa pk?
0
SuPeR_BoBoM Messages postés 12 Date d'inscription mercredi 27 avril 2005 Statut Membre Dernière intervention 21 mai 2005
29 avril 2005 à 22:02
ossi kan jmet un mess dan edit et ke je coche la check box ensuite deske jrevien dessu le check son pa coché et y a plu rien dan les edit bizarre?
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
cs_clem54 Messages postés 253 Date d'inscription jeudi 10 mars 2005 Statut Membre Dernière intervention 16 octobre 2005
29 avril 2005 à 22:10
SuPeR_BoBoM tu as plein de fauttes d'aurthographes et ton dialog n'est pas ttrop joli
0
SuPeR_BoBoM Messages postés 12 Date d'inscription mercredi 27 avril 2005 Statut Membre Dernière intervention 21 mai 2005
29 avril 2005 à 22:12
rien a foutre des fote et la boté tant pis
0
SuPeR_BoBoM Messages postés 12 Date d'inscription mercredi 27 avril 2005 Statut Membre Dernière intervention 21 mai 2005
29 avril 2005 à 22:24
faudrai pa par hasard metre
on ^1:JOIN:*: { if (%message-join- ON )&&($CX(*ID*) = ON ){ /timer 1 2 /msg $chan %message-join }
}
en maj la rectif mai $cx pr le check nan?mai jy place sur le on * : op,deop,etc... :*: ' etc ou les $cx sur if ($did == *id* ) {
if (%notice-*- == ON) { set %notice-*- OFF }
else { set %notice-*- ON }
}
0
scandalz Messages postés 40 Date d'inscription mercredi 13 octobre 2004 Statut Membre Dernière intervention 14 mai 2005
29 avril 2005 à 23:23
clem54 : tu peux parler des fautes d'orthographe, tu n'es point mieux.

SuPeR_BoBom : si tu veux faire un script pour ensuite le distribuer sur le net (si c'est rempli de fautes d'orthographe dans ton script), beaucoup vont te faire la remarque comme celle de clem54

scandalz
0
SuPeR_BoBoM Messages postés 12 Date d'inscription mercredi 27 avril 2005 Statut Membre Dernière intervention 21 mai 2005
30 avril 2005 à 08:28
wai surement mai ca presse pa juste avan de lpublier ji frai gaffe.
0
cs_clem54 Messages postés 253 Date d'inscription jeudi 10 mars 2005 Statut Membre Dernière intervention 16 octobre 2005
30 avril 2005 à 10:28
oui oui on va pas en faire une affaire d'état lol
super_bobom faut que tu mette des init pour enregistrer les données de tes chek et edit
0
Rejoignez-nous