Accueil > > > SONS CONFIG
SONS CONFIG
Information sur la source
Description
un truc de sons enfin jai la fleme dexpliquer
regardez le
crotta a la fin
Source
- dialog sonzi {
- title "Configuration des Sons pour votre Script"
- size -1 -1 174 268
- option dbu
- tab "Sons Config` par Tiboug ", 1, 11 7 144 231
- text "Lors d'un Op ", 5, 15 29 40 8, tab 1
- button "Parcourir", 6, 72 28 37 10, tab 1
- button "Ecouter", 7, 114 28 37 10, tab 1 default
- text "Lors d'un Deop", 8, 15 45 41 8, tab 1
- button "Parcourir", 9, 72 44 37 10, tab 1
- button "Ecouter", 10, 114 44 37 10, tab 1
- text "Lors d'une Voice", 11, 14 63 41 8, tab 1
- button "Parcourir", 12, 72 61 37 10, tab 1
- button "Ecouter", 13, 114 61 37 10, tab 1
- text "Lors d'un Devoice", 14, 14 80 45 8, tab 1
- button "Parcourir", 15, 72 78 37 10, tab 1
- button "Ecouter", 16, 114 78 37 10, tab 1
- text "Lors d'un Halfop", 17, 14 96 47 8, tab 1
- text "Lors d'un Dehalfop", 18, 14 113 47 8, tab 1
- text "Lors d'un Kick", 19, 13 128 48 8, tab 1
- text "Lors d'un Kickban", 20, 13 144 49 8, tab 1
- text "Lors d'un Unban", 21, 14 159 44 8, tab 1
- button "Parcourir", 22, 72 94 37 10, tab 1
- button "Ecouter", 23, 114 94 37 10, tab 1
- button "Parcourir", 24, 72 111 37 10, tab 1
- button "Ecouter", 25, 114 111 37 10, tab 1
- button "Parcourir", 2, 72 127 37 10, tab 1
- button "Ecouter", 26, 114 128 37 10, tab 1
- button "Parcourir", 27, 72 143 37 10, tab 1
- button "Ecouter", 28, 114 143 37 10, tab 1
- button "Parcourir", 29, 72 157 37 10, tab 1
- button "Ecouter", 30, 114 157 37 10, tab 1
- text "Changement de Topic", 31, 13 175 55 8, tab 1
- button "Parcourir", 32, 76 174 37 10, tab 1
- button "Ecouter", 33, 117 174 37 10, tab 1
- text "Changement de Nick", 34, 13 190 52 8, tab 1
- button "Parcourir", 35, 72 188 37 10, tab 1
- button "Ecouter", 36, 114 188 37 10, tab 1
- text "Lors d'un Highlight", 37, 15 205 46 8, tab 1
- button "Parcourir", 38, 72 203 37 10, tab 1
- button "Ecouter", 39, 114 203 37 9, tab 1
- text "Lors d'une Notice", 40, 15 220 43 8, tab 1
- button "Parcourir", 41, 72 219 37 10, tab 1
- button "Ecouter", 42, 114 220 37 9, tab 1
- check "Tout activer", 3, 51 242 50 10
- button "Ok", 4, 2 254 171 12, ok cancel
- }
- -------------------------"INIT"--------------------
- on 1:dialog:sonzi:init:0: {
- if (%sonop == $null) { did -h sonzi 7 }
- if (%sondeop == $null) { did -h sonzi 10 }
- if (%sonvoice == $null) { did -h sonzi 13 }
- if (%sondevoice == $null) { did -h sonzi 16 }
- if (%sonhalfop == $null) { did -h sonzi 23 }
- if (%sondehalfop == $null) { did -h sonzi 25 }
- if (%sonkick == $null) { did -h sonzi 26 }
- if (%sonkb == $null) { did -h sonzi 28 }
- if (%sonub == $null) { did -h sonzi 30 }
- if (%sontop == $null) { did -h sonzi 33 }
- if (%sonick == $null) { did -h sonzi 36 }
- if (%sonhigh == $null) { did -h sonzi 39 }
- if (%sonot == $null) { did -h sonzi 42 }
- if (%sonzi == ON) { did -c sonzi 3 }
- }
- -------------------"Declencheurs de Clicks"---------------------
- on *:dialog:sonzi:sclick:*:{
- if ($did == 7) { /splay %sonop }
- if ($did == 10) { /splay %sondeop }
- if ($did == 13) { /splay %sonvoice }
- if ($did == 16) { /splay %sondevoice }
- if ($did == 23) { /splay %sonhalfop }
- if ($did == 25) { /splay %sondehalfop }
- if ($did == 26) { /splay %sonkick }
- if ($did == 28) { /splay %sonkb }
- if ($did == 30) { /splay %sonub }
- if ($did == 33) { /splay %sontop }
- if ($did == 36) { /splay %sonick }
- if ($did == 39) { /splay %sonhigh }
- if ($did == 42) { /splay %sonot }
- if ($did == 6) && (%sonop == $null) {
- set %sonop dir
- set %sonop $sfile(%sonop,Sons)
- did -v sonzi 7
- }
- if ($did == 6) {
- set %sonop dir
- set %sonop $sfile(%sonop,Sons)
- }
- if ($did == 9) && (%sondeop == $null) {
- set %sondeop dir
- set %sondeop $sfile(%sondeop,Sons)
- did -v sonzi 10
- }
- if ($did == 9) {
- set %sondeop dir
- set %sondeop $sfile(%sondeop,Sons)
- }
- if ($did == 12) && (%sonvoice == $null) {
- set %sonvoice dir
- set %sonvoice $sfile(%sonvoice,Sons)
- did -v sonzi 13
- }
- if ($did == 12) {
- set %sonvoice dir
- set %sonvoice $sfile(%sonvoice,Sons)
- }
- if ($did == 15) && (%sondevoice == $null) {
- set %sondevoice dir
- set %sondevoice $sfile(%sondevoice,Sons)
- did -v sonzi 16
- }
- if ($did == 15) {
- set %sondevoice dir
- set %sondevoice $sfile(%sondevoice,Sons)
- }
- if ($did == 22) && (%sonhalfop == $null) {
- set %sonhalfop dir
- set %sonhalfop $sfile(%sonhalfop,Sons)
- did -v sonzi 23
- }
- if ($did == 22) {
- set %sonhalfop dir
- set %sonhalfop $sfile(%sonhalfop,Sons)
- }
- if ($did == 24) && (%sondehalfop == $null) {
- set %sondehalfop dir
- set %sondehalfop $sfile(%sondehalfop,Sons)
- did -v sonzi 25
- }
- if ($did == 24) {
- set %sondehalfop dir
- set %sondehalfop $sfile(%sondehalfop,Sons)
- }
- if ($did == 2) && (%sonkick == $null) {
- set %sonkick dir
- set %sonkick $sfile(%sonkick,Sons)
- did -v sonzi 26
- }
- if ($did == 2) {
- set %sonkick dir
- set %sonkick $sfile(%sonkick,Sons)
- }
- if ($did == 27) && (%sonkb == $null) {
- set %sonkb dir
- set %sonkb $sfile(%sonkb,Sons)
- did -v sonzi 28
- }
- if ($did == 27) {
- set %sonkb dir
- set %sonkb $sfile(%sonkb,Sons)
- }
- if ($did == 29) && (%sonub == $null) {
- set %sonub dir
- set %sonub $sfile(%sonub,Sons)
- did -v sonzi 30
- }
- if ($did == 29) {
- set %sonub dir
- set %sonub $sfile(%sonub,Sons)
- }
- if ($did == 32) && (%sontop == $null) {
- set %sontop dir
- set %sontop $sfile(%sontop,Sons)
- did -v sonzi 33
- }
- if ($did == 32) {
- set %sontop dir
- set %sontop $sfile(%sontop,Sons)
- }
- if ($did == 35) && (%sonick == $null) {
- set %sonick dir
- set %sonick $sfile(%sonick,Sons)
- did -v sonzi 36
- }
- if ($did == 35) {
- set %sonick dir
- set %sonick $sfile(%sonick,Sons)
- }
- if ($did == 38) && (%sonhigh == $null) {
- set %sonhigh dir
- set %sonhigh $sfile(%sonhigh,Sons)
- did -v sonzi 39
- }
- if ($did == 38) {
- set %sonhigh dir
- set %sonhigh $sfile(%sonhigh,Sons)
- }
- if ($did == 41) && (%sonot == $null) {
- set %sonot dir
- set %sonot $sfile(%sonot,Sons)
- did -v sonzi 42
- }
- if ($did == 3) {
- if ($did(3).state == 1) { set %sonzi ON }
- else { set %sonzi OFF }
- }
- }
- ----------------------"Declencheurs d'actions"------------------
- on ^1:op:*:{
- if (%sonzi == ON) { /splay %sonop }
- }
- on ^1:deop:*:{
- if (%sonzi == ON) { /splay %sondeop }
- }
- on ^1:KICK:*: {
- if (%sonzi == ON) { /splay %sonkick }
- }
- on ^1:BAN:#:{
- if (%sonzi == ON) { /splay %sonkb }
- }
- on ^1:TOPIC:*: {
- if (%sonzi == ON) { /splay %sontop }
- }
- on ^1:NICK:{
- if (%sonzi == ON) { /splay %sonick }
- }
- on ^1:voice:*:{
- if (%sonzi == ON) { /splay %sonvoice }
- }
- on ^1:devoice:*:{
- if (%sonzi == ON) { /splay %sondevoice }
- }
- on 1:UNBAN:#:{
- if (%sonzi == ON) { /splay %sonub }
- }
- on 1:HELP:#:{
- if (%sonzi == ON) { /splay %sonhalfop }
- }
- on 1:DEHELP:#:{
- if (%sonzi == ON) { /splay %sondehalfop }
- }
- on ^1:NOTICE:*:{
- if (%sonzi == ON) { /splay %sonot }
- }
- on *:text:*:#: {
- if ($me isin $1-) && (%sonzi == ON) { /splay %sonot | 7 $nick 4 parle de toi sur 7 $chan }
- }
- on *:text:*:?: {
- if ($me isin $1-) && (%sonzi == ON) { /splay %sonot | 7 $nick 4 parle de toi en pv }
- }
dialog sonzi {
title "Configuration des Sons pour votre Script"
size -1 -1 174 268
option dbu
tab "Sons Config` par Tiboug ", 1, 11 7 144 231
text "Lors d'un Op ", 5, 15 29 40 8, tab 1
button "Parcourir", 6, 72 28 37 10, tab 1
button "Ecouter", 7, 114 28 37 10, tab 1 default
text "Lors d'un Deop", 8, 15 45 41 8, tab 1
button "Parcourir", 9, 72 44 37 10, tab 1
button "Ecouter", 10, 114 44 37 10, tab 1
text "Lors d'une Voice", 11, 14 63 41 8, tab 1
button "Parcourir", 12, 72 61 37 10, tab 1
button "Ecouter", 13, 114 61 37 10, tab 1
text "Lors d'un Devoice", 14, 14 80 45 8, tab 1
button "Parcourir", 15, 72 78 37 10, tab 1
button "Ecouter", 16, 114 78 37 10, tab 1
text "Lors d'un Halfop", 17, 14 96 47 8, tab 1
text "Lors d'un Dehalfop", 18, 14 113 47 8, tab 1
text "Lors d'un Kick", 19, 13 128 48 8, tab 1
text "Lors d'un Kickban", 20, 13 144 49 8, tab 1
text "Lors d'un Unban", 21, 14 159 44 8, tab 1
button "Parcourir", 22, 72 94 37 10, tab 1
button "Ecouter", 23, 114 94 37 10, tab 1
button "Parcourir", 24, 72 111 37 10, tab 1
button "Ecouter", 25, 114 111 37 10, tab 1
button "Parcourir", 2, 72 127 37 10, tab 1
button "Ecouter", 26, 114 128 37 10, tab 1
button "Parcourir", 27, 72 143 37 10, tab 1
button "Ecouter", 28, 114 143 37 10, tab 1
button "Parcourir", 29, 72 157 37 10, tab 1
button "Ecouter", 30, 114 157 37 10, tab 1
text "Changement de Topic", 31, 13 175 55 8, tab 1
button "Parcourir", 32, 76 174 37 10, tab 1
button "Ecouter", 33, 117 174 37 10, tab 1
text "Changement de Nick", 34, 13 190 52 8, tab 1
button "Parcourir", 35, 72 188 37 10, tab 1
button "Ecouter", 36, 114 188 37 10, tab 1
text "Lors d'un Highlight", 37, 15 205 46 8, tab 1
button "Parcourir", 38, 72 203 37 10, tab 1
button "Ecouter", 39, 114 203 37 9, tab 1
text "Lors d'une Notice", 40, 15 220 43 8, tab 1
button "Parcourir", 41, 72 219 37 10, tab 1
button "Ecouter", 42, 114 220 37 9, tab 1
check "Tout activer", 3, 51 242 50 10
button "Ok", 4, 2 254 171 12, ok cancel
}
-------------------------"INIT"--------------------
on 1:dialog:sonzi:init:0: {
if (%sonop == $null) { did -h sonzi 7 }
if (%sondeop == $null) { did -h sonzi 10 }
if (%sonvoice == $null) { did -h sonzi 13 }
if (%sondevoice == $null) { did -h sonzi 16 }
if (%sonhalfop == $null) { did -h sonzi 23 }
if (%sondehalfop == $null) { did -h sonzi 25 }
if (%sonkick == $null) { did -h sonzi 26 }
if (%sonkb == $null) { did -h sonzi 28 }
if (%sonub == $null) { did -h sonzi 30 }
if (%sontop == $null) { did -h sonzi 33 }
if (%sonick == $null) { did -h sonzi 36 }
if (%sonhigh == $null) { did -h sonzi 39 }
if (%sonot == $null) { did -h sonzi 42 }
if (%sonzi == ON) { did -c sonzi 3 }
}
-------------------"Declencheurs de Clicks"---------------------
on *:dialog:sonzi:sclick:*:{
if ($did == 7) { /splay %sonop }
if ($did == 10) { /splay %sondeop }
if ($did == 13) { /splay %sonvoice }
if ($did == 16) { /splay %sondevoice }
if ($did == 23) { /splay %sonhalfop }
if ($did == 25) { /splay %sondehalfop }
if ($did == 26) { /splay %sonkick }
if ($did == 28) { /splay %sonkb }
if ($did == 30) { /splay %sonub }
if ($did == 33) { /splay %sontop }
if ($did == 36) { /splay %sonick }
if ($did == 39) { /splay %sonhigh }
if ($did == 42) { /splay %sonot }
if ($did == 6) && (%sonop == $null) {
set %sonop dir
set %sonop $sfile(%sonop,Sons)
did -v sonzi 7
}
if ($did == 6) {
set %sonop dir
set %sonop $sfile(%sonop,Sons)
}
if ($did == 9) && (%sondeop == $null) {
set %sondeop dir
set %sondeop $sfile(%sondeop,Sons)
did -v sonzi 10
}
if ($did == 9) {
set %sondeop dir
set %sondeop $sfile(%sondeop,Sons)
}
if ($did == 12) && (%sonvoice == $null) {
set %sonvoice dir
set %sonvoice $sfile(%sonvoice,Sons)
did -v sonzi 13
}
if ($did == 12) {
set %sonvoice dir
set %sonvoice $sfile(%sonvoice,Sons)
}
if ($did == 15) && (%sondevoice == $null) {
set %sondevoice dir
set %sondevoice $sfile(%sondevoice,Sons)
did -v sonzi 16
}
if ($did == 15) {
set %sondevoice dir
set %sondevoice $sfile(%sondevoice,Sons)
}
if ($did == 22) && (%sonhalfop == $null) {
set %sonhalfop dir
set %sonhalfop $sfile(%sonhalfop,Sons)
did -v sonzi 23
}
if ($did == 22) {
set %sonhalfop dir
set %sonhalfop $sfile(%sonhalfop,Sons)
}
if ($did == 24) && (%sondehalfop == $null) {
set %sondehalfop dir
set %sondehalfop $sfile(%sondehalfop,Sons)
did -v sonzi 25
}
if ($did == 24) {
set %sondehalfop dir
set %sondehalfop $sfile(%sondehalfop,Sons)
}
if ($did == 2) && (%sonkick == $null) {
set %sonkick dir
set %sonkick $sfile(%sonkick,Sons)
did -v sonzi 26
}
if ($did == 2) {
set %sonkick dir
set %sonkick $sfile(%sonkick,Sons)
}
if ($did == 27) && (%sonkb == $null) {
set %sonkb dir
set %sonkb $sfile(%sonkb,Sons)
did -v sonzi 28
}
if ($did == 27) {
set %sonkb dir
set %sonkb $sfile(%sonkb,Sons)
}
if ($did == 29) && (%sonub == $null) {
set %sonub dir
set %sonub $sfile(%sonub,Sons)
did -v sonzi 30
}
if ($did == 29) {
set %sonub dir
set %sonub $sfile(%sonub,Sons)
}
if ($did == 32) && (%sontop == $null) {
set %sontop dir
set %sontop $sfile(%sontop,Sons)
did -v sonzi 33
}
if ($did == 32) {
set %sontop dir
set %sontop $sfile(%sontop,Sons)
}
if ($did == 35) && (%sonick == $null) {
set %sonick dir
set %sonick $sfile(%sonick,Sons)
did -v sonzi 36
}
if ($did == 35) {
set %sonick dir
set %sonick $sfile(%sonick,Sons)
}
if ($did == 38) && (%sonhigh == $null) {
set %sonhigh dir
set %sonhigh $sfile(%sonhigh,Sons)
did -v sonzi 39
}
if ($did == 38) {
set %sonhigh dir
set %sonhigh $sfile(%sonhigh,Sons)
}
if ($did == 41) && (%sonot == $null) {
set %sonot dir
set %sonot $sfile(%sonot,Sons)
did -v sonzi 42
}
if ($did == 3) {
if ($did(3).state == 1) { set %sonzi ON }
else { set %sonzi OFF }
}
}
----------------------"Declencheurs d'actions"------------------
on ^1:op:*:{
if (%sonzi == ON) { /splay %sonop }
}
on ^1:deop:*:{
if (%sonzi == ON) { /splay %sondeop }
}
on ^1:KICK:*: {
if (%sonzi == ON) { /splay %sonkick }
}
on ^1:BAN:#:{
if (%sonzi == ON) { /splay %sonkb }
}
on ^1:TOPIC:*: {
if (%sonzi == ON) { /splay %sontop }
}
on ^1:NICK:{
if (%sonzi == ON) { /splay %sonick }
}
on ^1:voice:*:{
if (%sonzi == ON) { /splay %sonvoice }
}
on ^1:devoice:*:{
if (%sonzi == ON) { /splay %sondevoice }
}
on 1:UNBAN:#:{
if (%sonzi == ON) { /splay %sonub }
}
on 1:HELP:#:{
if (%sonzi == ON) { /splay %sonhalfop }
}
on 1:DEHELP:#:{
if (%sonzi == ON) { /splay %sondehalfop }
}
on ^1:NOTICE:*:{
if (%sonzi == ON) { /splay %sonot }
}
on *:text:*:#: {
if ($me isin $1-) && (%sonzi == ON) { /splay %sonot | 7 $nick 4 parle de toi sur 7 $chan }
}
on *:text:*:?: {
if ($me isin $1-) && (%sonzi == ON) { /splay %sonot | 7 $nick 4 parle de toi en pv }
}
Conclusion
Merci a l'aide irc et a kerrigan ( il ma fai lire laide PTDR )
Sources du même auteur
Sources de la même categorie
Commentaires et avis
|
Derniers Blogs
[RIA SERVICES] INCLUDE ET DOMAINDATASOURCE[RIA SERVICES] INCLUDE ET DOMAINDATASOURCE par Audrey
Dans un de mes articles précédents , j'avais parlé des DomainDataSource avec RIA Services dans le cas d'une interface Maître - Détail. Dans le même principe, je vais parler d'une autre manière de mettre en forme ce cas d'interface avec RIA Services. Et po...
Cliquez pour lire la suite de l'article par Audrey ZUNE : VERSION ZUNE SOFTWARE V 4.2 ET LA SOCIALISATIONZUNE : VERSION ZUNE SOFTWARE V 4.2 ET LA SOCIALISATION par ROMELARD Fabrice
Une des nouveautés de la version V 3.0 était l'apparition de l'onglet Social qui ne fonctionnait que si le MarketPlace était activé sur son poste. Cela limitait donc son intérêt, car hors du cadre commercial USA-CANADA, peu de monde trouva...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice PRATIQUE DE SILVERLIGHT PAR ERIC AMBROSIPRATIQUE DE SILVERLIGHT PAR ERIC AMBROSI par MPOWARE
Je viens de finir la lecture du dernier livre d'
Eric Ambrosi
éditions PEARSON
Son livre donne une approche pratique de Silverlight qui sera aussi bien comprise par le développeur que par le designeur.
Tous les aspects du développement RIA sont abor...
Cliquez pour lire la suite de l'article par MPOWARE APPRENDRE à DéVELOPPER POUR LES MOBILES AVEC LA NOUVELLE GéNéRATION .NETAPPRENDRE à DéVELOPPER POUR LES MOBILES AVEC LA NOUVELLE GéNéRATION .NET par odewit
2 déclinaisons de Silverlight et 2 déclinaisons de Mono permettent dorénavant (ou permettront prochainement) de développer des applications .NET mobiles pour les principales plates-formes du marché :
Silverlight pour Symbian, basé sur Silverlight 2...
Cliquez pour lire la suite de l'article par odewit ZUNE : NOUVELLE VERSION DU ZUNE SOFTWARE - V 4.2ZUNE : NOUVELLE VERSION DU ZUNE SOFTWARE - V 4.2 par ROMELARD Fabrice
Avec la dernière génération du lecteur MP3 de Microsoft, le ZUNE HD, Microsoft a publié une nouvelle version du logiciel pour PC. Ainsi, je me suis décidé à installer celle-ci sur mon Tablet PC ACER, comme toujours le logiciel est donc tél...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice
Logiciels
Academy System (10.9.4.0)ACADEMY SYSTEM (10.9.4.0)Logiciel de gestion des établissements.
- élèves/étudiants (inscription, dossier, absence...)
-... Cliquez pour télécharger Academy System Xilisoft Convertisseur Vidéo Ultimate (5.1.39.0305)XILISOFT CONVERTISSEUR VIDéO ULTIMATE (5.1.39.0305)Xilisoft Convertisseur Vidéo Ultimate est un outil puissant de conversion vidéo, facile à utilise... Cliquez pour télécharger Xilisoft Convertisseur Vidéo Ultimate Xilisoft DVD Ripper Ultimate (5.0.64.0304)XILISOFT DVD RIPPER ULTIMATE (5.0.64.0304)Xilisoft DVD Ripper Ultimate est un logiciel excellent pour copier et convertir DVD vers presque ... Cliquez pour télécharger Xilisoft DVD Ripper Ultimate Rigs of Rods (63.3)RIGS OF RODS (63.3)c'est un jeu de multi-simulation camions,autobus voitures, avions, bateaux, hélicoptère avec défo... Cliquez pour télécharger Rigs of Rods
|