Accueil > > > AUTO-VOICE
AUTO-VOICE
Information sur la source
Description
Ce Script, vous permet de voicer que sur les channels souhaité. Pratique si vous etes op sur plusieur channel, et que vous ne voulais pas auto voice sur tout les channel.
Source
- alias autovoice { dialog -md autovoice autovoice }
-
- dialog autovoice {
- title "Auto Voice by Lod"
- size -1 -1 108 145
- option dbu
- list 4, 46 15 54 73, size
- check "Activer +v sur tout les channels", 5, 10 92 87 10, flat
- button "ok !", 6, 57 125 37 12, ok
- text "Chanel avec auto +v :", 7, 44 2 57 8, center
- box "Group Box", 8, -25 -23 166 129
- button "Ajouter", 9, 4 16 37 12
- button "Supprimer", 10, 4 38 37 12
- check "Désactiver Tout", 21, 11 110 50 10, flat
- menu "Fenetre", 13
- item "Cancel", 40, 13, cancel
- }
-
- dialog addvoice {
- title "Ajouter un chan"
- size -1 -1 106 36
- option dbu
- text "Entrer le nouveau channel :", 1, 4 7 80 8
- edit "", 2, 8 19 50 10
- button "Ajouter", 3, 65 18 31 11
- }
-
- on *:dialog:autovoice:init:*:{
- if ( %allvoice == 1 ) { did -c autovoice 5 }
- if ( %voice.actif == 0 ) { did -c autovoice 21 }
- voice.init
- }
-
- on *:dialog:autovoice:sclick:*:{
- if ($did = 6) {
- if ($did(autovoice,5).state == 1) { set %allvoice 1 }
- elseif ($did(autovoice,5).state == 0) { set %allvoice 0 }
- if ($did(autovoice,21).state == 1) { set %voice.actif 0 }
- elseif ($did(autovoice,21).state == 0) { set %voice.actif 1 }
- }
- elseif ($did = 9) { dialog -md addvoice addvoice }
- elseif ($did = 10) {
- set %chan.voice $remtok(%chan.voice,$gettok(%chan.voice,$did(4).sel,44),44)
- voice.init
- }
- }
-
- on *:dialog:addvoice:sclick:3:{
- if ( $chr(44) isin $did(2) ) { var %erreurr = $input(Ne met pas de point virgule !,300,Avertissement) | halt }
- var %addvoice = $did(2)
- set %chan.voice $sorttok($addtok(%chan.voice,%addvoice,44),44)
- /dialog -x addvoice addvoice
- voice.init
- }
-
-
- alias voice { mode $chan +v $nick }
-
- alias voice.init {
- did -r autovoice 4
- if (%chan.voice !== $null) {
- var %autovoice.loop.n = 1
- :loop
- did -a autovoice 4 $gettok(%chan.voice,%autovoice.loop.n,44)
- inc %autovoice.loop.n
- if ($gettok(%chan.voice,%autovoice.loop.n,44) !== $null) { goto loop }
- }
- else {
- unset %chan.voice
- } }
-
-
- on *:JOIN:*: {
- if (($me !isop $chan) || ($me !ishop $chan)) { halt }
- elseif ($chan isin %chan.voice && %voice.actif == 1) { voice }
- elseif (%allvoice == 1 && %voice.actif == 1) { voice }
- }
-
- on *:load:{ set %voice.actif 1 | set %allvoice 0 | echo -a 4 Auto-voice Chargé | echo -a 4Script by Lodtripe }
-
- menu menubar,channel {
- -
- :: Auto Voice ::
- .Lancer:/autovoice
- }
alias autovoice { dialog -md autovoice autovoice }
dialog autovoice {
title "Auto Voice by Lod"
size -1 -1 108 145
option dbu
list 4, 46 15 54 73, size
check "Activer +v sur tout les channels", 5, 10 92 87 10, flat
button "ok !", 6, 57 125 37 12, ok
text "Chanel avec auto +v :", 7, 44 2 57 8, center
box "Group Box", 8, -25 -23 166 129
button "Ajouter", 9, 4 16 37 12
button "Supprimer", 10, 4 38 37 12
check "Désactiver Tout", 21, 11 110 50 10, flat
menu "Fenetre", 13
item "Cancel", 40, 13, cancel
}
dialog addvoice {
title "Ajouter un chan"
size -1 -1 106 36
option dbu
text "Entrer le nouveau channel :", 1, 4 7 80 8
edit "", 2, 8 19 50 10
button "Ajouter", 3, 65 18 31 11
}
on *:dialog:autovoice:init:*:{
if ( %allvoice == 1 ) { did -c autovoice 5 }
if ( %voice.actif == 0 ) { did -c autovoice 21 }
voice.init
}
on *:dialog:autovoice:sclick:*:{
if ($did = 6) {
if ($did(autovoice,5).state == 1) { set %allvoice 1 }
elseif ($did(autovoice,5).state == 0) { set %allvoice 0 }
if ($did(autovoice,21).state == 1) { set %voice.actif 0 }
elseif ($did(autovoice,21).state == 0) { set %voice.actif 1 }
}
elseif ($did = 9) { dialog -md addvoice addvoice }
elseif ($did = 10) {
set %chan.voice $remtok(%chan.voice,$gettok(%chan.voice,$did(4).sel,44),44)
voice.init
}
}
on *:dialog:addvoice:sclick:3:{
if ( $chr(44) isin $did(2) ) { var %erreurr = $input(Ne met pas de point virgule !,300,Avertissement) | halt }
var %addvoice = $did(2)
set %chan.voice $sorttok($addtok(%chan.voice,%addvoice,44),44)
/dialog -x addvoice addvoice
voice.init
}
alias voice { mode $chan +v $nick }
alias voice.init {
did -r autovoice 4
if (%chan.voice !== $null) {
var %autovoice.loop.n = 1
:loop
did -a autovoice 4 $gettok(%chan.voice,%autovoice.loop.n,44)
inc %autovoice.loop.n
if ($gettok(%chan.voice,%autovoice.loop.n,44) !== $null) { goto loop }
}
else {
unset %chan.voice
} }
on *:JOIN:*: {
if (($me !isop $chan) || ($me !ishop $chan)) { halt }
elseif ($chan isin %chan.voice && %voice.actif == 1) { voice }
elseif (%allvoice == 1 && %voice.actif == 1) { voice }
}
on *:load:{ set %voice.actif 1 | set %allvoice 0 | echo -a 4 Auto-voice Chargé | echo -a 4Script by Lodtripe }
menu menubar,channel {
-
:: Auto Voice ::
.Lancer:/autovoice
}
Conclusion
Ce lance depuis le menu du Mirc ou en tappe /autovoice
Sources de la même categorie
Commentaires et avis
|
Derniers Blogs
[MIX10] KEYNOTE DEUXIèME JOURNéE - INTERNET EXPLORER 9, HTML5, VISUAL STUDIO 2010, ODATA[MIX10] KEYNOTE DEUXIèME JOURNéE - INTERNET EXPLORER 9, HTML5, VISUAL STUDIO 2010, ODATA par cyril
Le deuxième keynote du mix fut très riche en contenu. Internet Explorer 9 Juste un après le lancement de Internet Explorer 8, Microsoft a dévoilé les nouveautés de Internet Explorer 9. Désormais, IE supportera HTML5, SVG et CSS3. L'élément ...
Cliquez pour lire la suite de l'article par cyril CERTIFICATIONS BETA .NET 4CERTIFICATIONS BETA .NET 4 par KooKiz
Les inscriptions pour les certifications beta .NET 4 ont commencé. L'inscription est offerte pour les examens suivants : - 71-511, TS: Windows Applications Development with Microsoft .NET Framework 4 - 71-515, TS: Web Applications Development with...
Cliquez pour lire la suite de l'article par KooKiz [MIX 2010] - MICROSOFT TRANSLATOR TECHNOLOGY PREVIEW V2[MIX 2010] - MICROSOFT TRANSLATOR TECHNOLOGY PREVIEW V2 par redo
J'imagine que la plupart d'entre vous connaissent bien et utilisent le service de traduction de Google, mais connaissez-vous celui de Microsoft . Microsoft Translator ? Effectivement, Microsoft nous annoncé le lancement version 2 de la Technologie Preview...
Cliquez pour lire la suite de l'article par redo LANCEMENT EN PREVIEW DE CYCLONE LORS DES TECHDAYS 2010!LANCEMENT EN PREVIEW DE CYCLONE LORS DES TECHDAYS 2010! par MPOWARE
Toutes les vidéos de ce lancement sont en ligne!
Partie I - Intro
http://www.youtube.com/watch?v=LkQzTQ8T6CA
Partie II - Démo 1
http://www.youtube.com/watch?v=drAhYQ7lqvo
Partie III - Démo 2
http://www.youtube.com/watch?v=c8KM_1Gqybc...
Cliquez pour lire la suite de l'article par MPOWARE
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
|