[thomas95
Messages postés23Date d'inscriptiondimanche 5 octobre 2003StatutMembreDernière intervention 7 février 2006 10 janv. 2004 à 23:10
ok merci de vos commentaire .....
vesparo
Messages postés230Date d'inscriptionsamedi 6 septembre 2003StatutMembreDernière intervention13 mai 2004 10 janv. 2004 à 19:44
t0nt0n personellement je fait mes dialogs a la main et je trouve ca bcp mieux :p
cs_Kolibot
Messages postés817Date d'inscriptionmercredi 25 juin 2003StatutMembreDernière intervention19 avril 2004 10 janv. 2004 à 13:03
(lol) :D
ChAnG-Fu
Messages postés165Date d'inscriptiondimanche 2 novembre 2003StatutMembreDernière intervention 1 juillet 2006 10 janv. 2004 à 12:57
trompé pour le on open voila le bon :)
on ^1:open:?:{ if ($readini($shortfn($scriptdir) $+ repondeur.ini,repondeur,rep) = on) { msg $nick $hcolor(d,$replace($readini($shortfn($scriptdir) $+ repondeur.ini,repondeur,repmsg),<nick>,$nick)) } }
ChAnG-Fu
Messages postés165Date d'inscriptiondimanche 2 novembre 2003StatutMembreDernière intervention 1 juillet 2006 10 janv. 2004 à 12:49
Optimisation en ini:
alias rep { dialog -m rep rep }
alias -l hcolor { if ($1 e) { return $replace($2-,,~,,s,,§) } | if ($1 d) { return $replace($2-,~,,s,,§,) } }
on ^1:open:?:{ if ($iget(repondeur,rep) = on) { msg $nick $hcolor(d,$replace($iget(repondeur,repmsg),<nick>,$nick)) } }
dialog rep {
title "Repondeur By [thomas95"
size -1 -1 150 60
option dbu
text "Repondeur By Thomas",1,80 48 85 8,disable
edit "",7,9 8 132 10
box "Tapez Votre Msg ci-dessou",5,5 0 141 23
edit "",3, 60 27 86 10,disable
check "Activ/Desactiv",6,5 27 50 10
button "Enregistrer",2,5 45 54 12,flat,ok
}
on *:dialog:rep:init:*:{
if ($readini($shortfn($scriptdir) $+ repondeur.ini,repondeur,rep) = on) { did -c rep 6 | did -a rep 3 Répondeur: ACTIVÉ }
else { did -a rep 3 Répondeur: DESACTIVÉ }
did -a rep 7 $hcolor(d,$readini($shortfn($scriptdir) $+ repondeur.ini,repondeur,repmsg))
if (!$readini($shortfn($scriptdir) $+ repondeur.ini,repondeur,repmsg)) { did -a rep 7 12Salut 4<nick>12. Attend j'arrive. }
}
on *:dialog:rep:sclick:2:{
if ($did(7)) { writeini $shortfn($scriptdir) $+ repondeur.ini repondeur repmsg $hcolor(e,$did(rep,7)) }
else { remini $shortfn($scriptdir) $+ repondeur.ini repondeur repmsg }
}
on *:dialog:rep:sclick:6: {
if ($did(6).state = 1) { writeini $shortfn($scriptdir) $+ repondeur.ini repondeur rep on | did -ra rep 3 Repondeur: ACTIVÉ }
else { writeini $shortfn($scriptdir) $+ repondeur.ini repondeur rep off | did -ra rep 3 Repondeur: DESACTIVÉ }
}
menu * {
-
Mon Répondeur:/rep
-
}
on 1:load:{ echo -a 15Addon bien loadé | echo -a 15 Pour le lancer tape /rep | .timer 1 1 rep }
7/10.
Kerrigan
Messages postés708Date d'inscriptionlundi 15 juillet 2002StatutMembreDernière intervention17 mars 2005 10 janv. 2004 à 01:41
c'est pas eceptionel. certe le dialogue est bon mais je prefere un bon noyeau avec une interface moyenne plutot que le contraire.
Essai de develloper ça en mettant plus d'option, et vire deux trois variable avec des .ini c'est beaucoup plus interessant.
Ca merite vraiment une amelioration
t0nt0n
Messages postés133Date d'inscriptionvendredi 3 janvier 2003StatutMembreDernière intervention16 mars 2004 9 janv. 2004 à 23:38
thomas95 te cache pas mdr, presque tout le monde utilise dialog studio, enfin pour ma part, oui...
Tu n'as pas compri nos astuces?
menu * {
????
}
"????" cherche à remplacer, pour une utilisation plus facile, @+.
vesparo
Messages postés230Date d'inscriptionsamedi 6 septembre 2003StatutMembreDernière intervention13 mai 2004 9 janv. 2004 à 18:58
rien d'extra 6/10
[thomas95
Messages postés23Date d'inscriptiondimanche 5 octobre 2003StatutMembreDernière intervention 7 février 2006 9 janv. 2004 à 08:43
Kolibot je vais pas te cacher que j'ai utilisé Dialog studio...
Mais maintenant je pense avoirs compris les dialog !
cs_Kolibot
Messages postés817Date d'inscriptionmercredi 25 juin 2003StatutMembreDernière intervention19 avril 2004 9 janv. 2004 à 08:03
Pour une première source, c'est pas mal, tu sais magner les dialogs! Apprends maintenant à les structurer. 5/10
Astuce : menu *
t0nt0n
Messages postés133Date d'inscriptionvendredi 3 janvier 2003StatutMembreDernière intervention16 mars 2004 9 janv. 2004 à 07:42
"/rep" unknow command :)
alias rep {
/dialog -m rep rep
}
:)
Sinon ben... un peu trop court, je te conseil de faire un truc du genre, le mec te laisse un message en PV, ce message est enregistré dans une @Window et le PV est fermé après X temps grâce au timer, c'est super simple. Si tu as besoin demande moi: andre_chambry@hotmail.com.
C'est un début, je ne noterai pas :).
cs_ReMi34
Messages postés1025Date d'inscriptionvendredi 29 août 2003StatutMembreDernière intervention28 mars 20052 9 janv. 2004 à 06:40
En effet, c'est beaucoup mieux que la première fois. On se comprend n'est-ce pas ?
Je ne noterai pas cette source.
10 janv. 2004 à 23:10
10 janv. 2004 à 19:44
10 janv. 2004 à 13:03
10 janv. 2004 à 12:57
on ^1:open:?:{ if ($readini($shortfn($scriptdir) $+ repondeur.ini,repondeur,rep) = on) { msg $nick $hcolor(d,$replace($readini($shortfn($scriptdir) $+ repondeur.ini,repondeur,repmsg),<nick>,$nick)) } }
10 janv. 2004 à 12:49
alias rep { dialog -m rep rep }
alias -l hcolor { if ($1 e) { return $replace($2-,,~,,s,,§) } | if ($1 d) { return $replace($2-,~,,s,,§,) } }
on ^1:open:?:{ if ($iget(repondeur,rep) = on) { msg $nick $hcolor(d,$replace($iget(repondeur,repmsg),<nick>,$nick)) } }
dialog rep {
title "Repondeur By [thomas95"
size -1 -1 150 60
option dbu
text "Repondeur By Thomas",1,80 48 85 8,disable
edit "",7,9 8 132 10
box "Tapez Votre Msg ci-dessou",5,5 0 141 23
edit "",3, 60 27 86 10,disable
check "Activ/Desactiv",6,5 27 50 10
button "Enregistrer",2,5 45 54 12,flat,ok
}
on *:dialog:rep:init:*:{
if ($readini($shortfn($scriptdir) $+ repondeur.ini,repondeur,rep) = on) { did -c rep 6 | did -a rep 3 Répondeur: ACTIVÉ }
else { did -a rep 3 Répondeur: DESACTIVÉ }
did -a rep 7 $hcolor(d,$readini($shortfn($scriptdir) $+ repondeur.ini,repondeur,repmsg))
if (!$readini($shortfn($scriptdir) $+ repondeur.ini,repondeur,repmsg)) { did -a rep 7 12Salut 4<nick>12. Attend j'arrive. }
}
on *:dialog:rep:sclick:2:{
if ($did(7)) { writeini $shortfn($scriptdir) $+ repondeur.ini repondeur repmsg $hcolor(e,$did(rep,7)) }
else { remini $shortfn($scriptdir) $+ repondeur.ini repondeur repmsg }
}
on *:dialog:rep:sclick:6: {
if ($did(6).state = 1) { writeini $shortfn($scriptdir) $+ repondeur.ini repondeur rep on | did -ra rep 3 Repondeur: ACTIVÉ }
else { writeini $shortfn($scriptdir) $+ repondeur.ini repondeur rep off | did -ra rep 3 Repondeur: DESACTIVÉ }
}
menu * {
-
Mon Répondeur:/rep
-
}
on 1:load:{ echo -a 15Addon bien loadé | echo -a 15 Pour le lancer tape /rep | .timer 1 1 rep }
7/10.
10 janv. 2004 à 01:41
Essai de develloper ça en mettant plus d'option, et vire deux trois variable avec des .ini c'est beaucoup plus interessant.
Ca merite vraiment une amelioration
9 janv. 2004 à 23:38
Tu n'as pas compri nos astuces?
menu * {
????
}
"????" cherche à remplacer, pour une utilisation plus facile, @+.
9 janv. 2004 à 18:58
9 janv. 2004 à 08:43
Mais maintenant je pense avoirs compris les dialog !
9 janv. 2004 à 08:03
Astuce : menu *
9 janv. 2004 à 07:42
alias rep {
/dialog -m rep rep
}
:)
Sinon ben... un peu trop court, je te conseil de faire un truc du genre, le mec te laisse un message en PV, ce message est enregistré dans une @Window et le PV est fermé après X temps grâce au timer, c'est super simple. Si tu as besoin demande moi: andre_chambry@hotmail.com.
C'est un début, je ne noterai pas :).
9 janv. 2004 à 06:40
Je ne noterai pas cette source.