bon voila j'y mes dans le meme four une mis a jours il ya encore 2 heure il ni avait que 4 commande dispo en unput bon ba.. je les optimiser..
alor sa sert a faire des commandes racoursi exemple !oper peut etre un racourci pour vous oper sur votre salon IrIx... plus des fonction de commande de bot exemple pour des info de salon..
Source / Exemple :
on 1:load:/dialog -m commande commande | /dialog -m avncom avncom | /echo -a 4 vous vener de load le script pour les commande en ! | /echo -a 4je vous en remerci | /echo -a 4 se script a eter commencer le 1/04/04 | /echo -a 4 et fini se mm jour :) | echo -a 12slide-waxe®
menu menubar {
commande en !
.configuration !:/dialog -m commande commande
.aide chargenment:/dialog -m avncom avncom
}
dialog commande {
title "gestion de commande en ! par slide-waxe®"
size -1 -1 427 159
option dbu
box "commandes en unput (apliquable sur soi)", 1, 238 0 192 6
box "", 2, 0 66 429 4
box "", 3, 236 84 192 4
box "", 4, 236 1 2 139
box "", 5, -1 101 430 4
edit "", 6, 285 72 31 10
edit "", 7, 283 54 31 10
edit "", 8, 284 34 31 10
edit "", 9, 285 16 31 10
edit "", 10, 353 16 69 10, autohs
edit "", 11, 353 35 69 10, autohs
edit "", 12, 353 54 69 10, autohs
edit "", 13, 353 72 69 10, autohs
text "!1", 14, 253 17 30 8, center
text "!2", 15, 252 35 31 8, center
text "!3", 16, 252 55 31 8, center
text "!4", 17, 252 73 32 8, center
text "commande1", 18, 317 17 35 8, center
text "commande2", 19, 317 36 35 8, center
text "commande3", 20, 316 55 35 8, center
text "commande4", 21, 317 73 35 8, center
button "sauvegarder", 22, 153 142 71 15, ok cancel
edit "", 25, 353 90 69 10, autohs
edit "", 26, 353 107 69 10, autohs
edit "", 27, 353 125 69 10, autohs
edit "", 28, 285 91 31 10
edit "", 29, 286 107 31 10
edit "", 30, 286 125 31 10
text "commande5", 31, 317 92 35 8, center
text "commande6", 32, 318 108 35 8, center
text "commande7", 33, 318 127 35 8, center
text "!5", 34, 252 92 32 8, center
text "!6", 35, 252 108 32 8, center
text "!7", 36, 252 126 32 8, center
box "", 37, 238 119 193 4
box "", 38, 236 47 197 4
box "", 39, 0 28 431 4
box "", 40, 106 2 2 138
box "commandes par tchateur ( fonction de bot)", 41, 106 0 132 6
box "commandes executable en pv", 42, -2 0 109 6
box "", 43, -1 136 432 4
edit "", 44, 197 9 34 10
edit "", 45, 181 20 50 10, autohs
edit "", 46, 196 37 35 10
edit "", 47, 182 54 50 10, autohs
edit "", 48, 195 75 36 10
edit "", 49, 181 92 50 10, autohs
edit "", 50, 193 109 37 10
edit "", 51, 180 125 50 10, autohs
text "com!?:", 52, 112 10 83 8, right
text "koi dire?:", 53, 111 21 67 8, right
text "com!?:", 54, 116 38 77 8, right
text "koi dire?:", 55, 117 55 63 8, right
text "com!?:", 56, 116 76 76 8, right
text "koi dire?:", 57, 122 93 59 8, right
text "com!?:", 58, 115 110 75 8, right
text "koi dire?:", 59, 119 126 61 8, right
edit "", 60, 68 9 34 10
edit "", 61, 52 20 50 10, autohs
text "koi dire?:", 62, -15 21 67 8, right
text "com!?:", 63, -15 10 83 8, right
edit "", 64, 66 36 35 10
edit "", 65, 66 75 35 10
edit "", 66, 64 108 35 10
edit "", 67, 51 90 50 10, autohs
edit "", 68, 51 53 50 10, autohs
edit "", 69, 49 123 50 10, autohs
text "koi dire?:", 70, -13 124 61 8, right
text "koi dire?:", 71, -10 91 61 8, right
text "koi dire?:", 72, -10 54 61 8, right
text "com!?:", 73, -11 37 77 8, right
text "com!?:", 74, -11 76 77 8, right
text "com!?:", 75, -14 109 77 8, right
}
on *:dialog:commande:edit:*: {
if ( $did == 9 ) { /set %bret $did(commande,9).text }
if ( $did == 10 ) { /set %barba $did(commande,10).text }
if ( $did == 8 ) { /set %desk $did(commande,8).text }
if ( $did == 11 ) { /set %greata $did(commande,11).text }
if ( $did == 7 ) { /set %fito $did(commande,7).text }
if ( $did == 12 ) { /set %kikou $did(commande,12).text }
if ( $did == 6 ) { /set %hogo $did(commande,6).text }
if ( $did == 13 ) { /set %jula $did(commande,13).text }
if ( $did == 25 ) { /set %gnifi $did(commande,25).text }
if ( $did == 26 ) { /set %holola $did(commande,26).text }
if ( $did == 27 ) { /set %santo $did(commande,27).text }
if ( $did == 28 ) { /set %mopek $did(commande,28).text }
if ( $did == 29 ) { /set %ruyo $did(commande,29).text }
if ( $did == 30 ) { /set %quar $did(commande,30).text }
if ( $did == 44 ) { /set %balou $did(commande,44).text }
if ( $did == 45 ) { /set %elo $did(commande,45).text }
if ( $did == 46 ) { /set %fira $did(commande,46).text }
if ( $did == 47 ) { /set %wuje $did(commande,47).text }
if ( $did == 48 ) { /set %vuio $did(commande,48).text }
if ( $did == 49 ) { /set %lort $did(commande,49).text }
if ( $did == 50 ) { /set %eret $did(commande,50).text }
if ( $did == 51 ) { /set %tosn $did(commande,51).text }
if ( $did == 66 ) { /set %beude $did(commande,66).text }
if ( $did == 69 ) { /set %jisca $did(commande,69).text }
if ( $did == 64 ) { /set %vofs $did(commande,64).text }
if ( $did == 68 ) { /set %chyus $did(commande,68).text }
if ( $did == 65 ) { /set %glun $did(commande,65).text }
if ( $did == 67 ) { /set %monio $did(commande,67).text }
if ( $did == 60 ) { /set %brust $did(commande,60).text }
if ( $did == 61 ) { /set %xeart $did(commande,61).text }
}
on *:dialog:commande:sclick:*: {
if ( $did == 22 ) { set %Active 1 | /echo -a 4les commandes en ! sont sauvegarder }
}
on *:dialog:commande:init:0: {
did -ra commande 9 %bret
did -ra commande 10 %barba
did -ra commande 8 %desk
did -ra commande 11 %greata
did -ra commande 7 %fito
did -ra commande 12 %kikou
did -ra commande 6 %hogo
did -ra commande 13 %jula
did -ra commande 25 %gnifi
did -ra commande 26 %holola
did -ra commande 27 %santo
did -ra commande 28 %mopek
did -ra commande 29 %ruyo
did -ra commande 30 %quar
did -ra commande 44 %balou
did -ra commande 45 %elo
did -ra commande 46 %fira
did -ra commande 47 %wuje
did -ra commande 48 %vuio
did -ra commande 49 %lort
did -ra commande 50 %eret
did -ra commande 51 %tosn
did -ra commande 66 %beude
did -ra commande 69 %jisca
did -ra commande 64 %vofs
did -ra commande 68 %chyus
did -ra commande 65 %glun
did -ra commande 67 %monio
did -ra commande 60 %brust
did -ra commande 61 %xeart
}
alias commande { dialog -m commande commande }
on 1:input:#: {
if ( %bret == $1 ) { %barba }
if ( %desk == $1 ) { %greata }
if ( %fito == $1 ) { %kikou }
if ( %hogo == $1 ) { %jula }
if ( %mopek == $1 ) { %gnifi }
if ( %ruyo == $1 ) { %holola }
if ( %quar == $1 ) { %santo }
}
on 1:text:*:#: {
if ( %balou == $1 ) { /msg # %elo }
if ( %fira == $1 ) { /msg # %wuje }
if ( %vuio == $1 ) { /msg # %lort }
if ( %eret == $1 ) { /msg # %tosn }
}
on 1:text:*:?: {
if ( %brust == $1 ) { /msg $nick %xeart }
if ( %beude == $1 ) { /msg $nick %jisca }
if ( %vofs == $1 ) { /msg $nick %chyus }
if ( %glun == $1 ) { /msg $nick %monio }
}
dialog avncom {
title "aide au chargement"
size -1 -1 122 111
option dbu
box "", 1, 4 1 113 91
text "AVANT TOUTE CHOSE", 2, 8 8 102 10, center
text "un peut daide.... Partou ou il ya marquer des ! <= c'est la ou on met les commande du genre !op et ou il ya marquer koi dire se ke doit dire la commande.. ne mettez pas une commande du genre /nick a cette place elle son deja configurer en fonction de leur place a dire soit en pv soit sur le salon.. ceci ne tien pa compte des imput", 3, 8 27 105 59
box "", 4, 14 18 90 4
button "ok", 5, 45 95 37 12, ok
}
Conclusion :
a placer dans les remotes.. faire un nouveau fichier et metre la sorce dedans elle se load toute seul
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.