Accueil > > > HL PERSO
HL PERSO
Information sur la source
Description
un petit gestionnaire d'hl,il est pas top,mais bon,pour l'ouvrir /hl,et c tout (enfin,ne pas oublié de charger l'addon dans le script quand mm :)
Source
- on *:load: { echo -a 12[4Inf012]12 Hl personnalisable chargé! Tape /hl pour l'ouvrir :) }
- alias hl { dialog -m hl hl }
- dialog hl {
- title "hl perso ßy Sad_[A]nG3L"
- size -1 -1 202 266
- text "Pseudo 1", 1, 8 8 45 12
- button "Activer", 2, 6 232 60 30, ok
- button "Desactiver", 3, 71 232 60 30, ok
- button "Close", 4, 135 232 60 30, ok flat
- text "Pseudo 2", 5, 8 32 44 12
- text "Pseudo 4", 6, 8 80 45 13
- text "Pseudo 3", 7, 8 56 45 13
- text "Pseudo 7", 8, 8 152 45 13
- text "Pseudo 8", 9, 8 176 45 13
- text "Pseudo 6", 10, 7 128 45 13
- text "Pseudo 5", 11, 8 104 45 13
- text "Pseudo 9", 12, 7 199 44 13
- edit "%hl1", 13, 72 7 105 22, autohs
- edit "%hl2", 14, 72 32 105 22, autohs
- edit "%hl3", 15, 72 56 105 22, autohs
- edit "%hl4", 16, 72 80 105 22, autohs
- edit "%hl5", 17, 72 104 105 22, autohs
- edit "%hl6", 18, 72 127 105 22, autohs
- edit "%hl7", 19, 72 152 105 22, autohs
- edit "%hl8", 20, 72 176 105 22, autohs
- edit "%hl9", 21, 72 200 105 22, autohs
- }
- on *:dialog:hl:init:*: {
- dll hl\mdx.dll SetMircVersion $version
- dll hl\mdx.dll MarkDialog $dname
- dll hl\mdx.dll SetDialog $dname bgcolor $rgb(146,12,249)
- dll hl\mdx.dll SetColor $dname 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21 background $rgb(146,12,249)
- dll hl\mdx.dll SetColor $dname 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21 text $rgb(255,255,255)
- dll hl\mdx.dll SetColor $dname 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21 textbg $rgb(146,12,249)
- dll hl\mdx.dll SetFont 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21 verdana 8 verdana
- }
-
- on 1:dialog:hl:edit:*: {
- if ($did == 13) {
- set %hl1 $did($dname,13)
- }
- if ($did == 14) {
- set %hl2 $did($dname,14)
- }
- if ($did == 15) {
- set %hl3 $did($dname,15)
- }
- if ($did == 16) {
- set %hl4 $did($dname,16)
- }
- if ($did == 17) {
- set %hl5 $did($dname,17)
- }
- if ($did == 18) {
- set %hl6 $did($dname,18)
- }
- if ($did == 19) {
- set %hl7 $did($dname,19)
- }
- if ($did == 20) {
- set %hl8 $did($dname,20)
- }
- if ($did == 21) {
- set %hl9 $did($dname,21)
- }
- }
-
- on 1:dialog:hl:sclick:*: {
- if ($did == 2) {
- set %hl on | echo -a $timestamp 4 [12Inf04]13 L13es hl perso sont activés !
- }
- if ($did == 3) {
- set %hl off | echo -a $timestamp 4 [12Inf04]13 L13es hl perso sont desactivés
- }
- }
-
- on 1:TEXT:*:*:{
- if ($chan != $active) { if (%hl == on) {
- if (%hl1 isin $1- 1) {
-
- .echo -a $timestamp 4[12HL4]13 $nick sur $chan "$+ $1- $+" | halt }
- if (%hl2 isin $1- 1) {
-
- .echo -a $timestamp 4[12HL4]13 $nick sur $chan "$+ $1- $+" | halt }
- if (%hl3 isin $1- 1) {
-
- .echo -a $timestamp 4[12HL4]13 $nick sur $chan "$+ $1- $+" | halt }
- if (%hl4 isin $1- 1) {
-
- .echo -a $timestamp 4[12HL4]13 $nick sur $chan "$+ $1- $+" | halt }
- if (%hl5 isin $1- 1) {
-
- .echo -a $timestamp 4[12HL4]13 $nick sur $chan "$+ $1- $+" | halt }
- if (%hl6 isin $1- 1) {
-
- .echo -a $timestamp 4[12HL4]13 $nick sur $chan "$+ $1- $+" | halt }
- if (%hl7 isin $1- 1) {
-
- .echo -a $timestamp 4[12HL4]13 $nick sur $chan "$+ $1- $+" | halt }
- if (%hl8 isin $1- 1) {
-
- .echo -a $timestamp 4[12HL4]13 $nick sur $chan "$+ $1- $+" | halt }
- if (%hl9 isin $1- 1) {
- }
- }
- }
- }
on *:load: { echo -a 12[4Inf012]12 Hl personnalisable chargé! Tape /hl pour l'ouvrir :) }
alias hl { dialog -m hl hl }
dialog hl {
title "hl perso ßy Sad_[A]nG3L"
size -1 -1 202 266
text "Pseudo 1", 1, 8 8 45 12
button "Activer", 2, 6 232 60 30, ok
button "Desactiver", 3, 71 232 60 30, ok
button "Close", 4, 135 232 60 30, ok flat
text "Pseudo 2", 5, 8 32 44 12
text "Pseudo 4", 6, 8 80 45 13
text "Pseudo 3", 7, 8 56 45 13
text "Pseudo 7", 8, 8 152 45 13
text "Pseudo 8", 9, 8 176 45 13
text "Pseudo 6", 10, 7 128 45 13
text "Pseudo 5", 11, 8 104 45 13
text "Pseudo 9", 12, 7 199 44 13
edit "%hl1", 13, 72 7 105 22, autohs
edit "%hl2", 14, 72 32 105 22, autohs
edit "%hl3", 15, 72 56 105 22, autohs
edit "%hl4", 16, 72 80 105 22, autohs
edit "%hl5", 17, 72 104 105 22, autohs
edit "%hl6", 18, 72 127 105 22, autohs
edit "%hl7", 19, 72 152 105 22, autohs
edit "%hl8", 20, 72 176 105 22, autohs
edit "%hl9", 21, 72 200 105 22, autohs
}
on *:dialog:hl:init:*: {
dll hl\mdx.dll SetMircVersion $version
dll hl\mdx.dll MarkDialog $dname
dll hl\mdx.dll SetDialog $dname bgcolor $rgb(146,12,249)
dll hl\mdx.dll SetColor $dname 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21 background $rgb(146,12,249)
dll hl\mdx.dll SetColor $dname 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21 text $rgb(255,255,255)
dll hl\mdx.dll SetColor $dname 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21 textbg $rgb(146,12,249)
dll hl\mdx.dll SetFont 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21 verdana 8 verdana
}
on 1:dialog:hl:edit:*: {
if ($did == 13) {
set %hl1 $did($dname,13)
}
if ($did == 14) {
set %hl2 $did($dname,14)
}
if ($did == 15) {
set %hl3 $did($dname,15)
}
if ($did == 16) {
set %hl4 $did($dname,16)
}
if ($did == 17) {
set %hl5 $did($dname,17)
}
if ($did == 18) {
set %hl6 $did($dname,18)
}
if ($did == 19) {
set %hl7 $did($dname,19)
}
if ($did == 20) {
set %hl8 $did($dname,20)
}
if ($did == 21) {
set %hl9 $did($dname,21)
}
}
on 1:dialog:hl:sclick:*: {
if ($did == 2) {
set %hl on | echo -a $timestamp 4 [12Inf04]13 L13es hl perso sont activés !
}
if ($did == 3) {
set %hl off | echo -a $timestamp 4 [12Inf04]13 L13es hl perso sont desactivés
}
}
on 1:TEXT:*:*:{
if ($chan != $active) { if (%hl == on) {
if (%hl1 isin $1- 1) {
.echo -a $timestamp 4[12HL4]13 $nick sur $chan "$+ $1- $+" | halt }
if (%hl2 isin $1- 1) {
.echo -a $timestamp 4[12HL4]13 $nick sur $chan "$+ $1- $+" | halt }
if (%hl3 isin $1- 1) {
.echo -a $timestamp 4[12HL4]13 $nick sur $chan "$+ $1- $+" | halt }
if (%hl4 isin $1- 1) {
.echo -a $timestamp 4[12HL4]13 $nick sur $chan "$+ $1- $+" | halt }
if (%hl5 isin $1- 1) {
.echo -a $timestamp 4[12HL4]13 $nick sur $chan "$+ $1- $+" | halt }
if (%hl6 isin $1- 1) {
.echo -a $timestamp 4[12HL4]13 $nick sur $chan "$+ $1- $+" | halt }
if (%hl7 isin $1- 1) {
.echo -a $timestamp 4[12HL4]13 $nick sur $chan "$+ $1- $+" | halt }
if (%hl8 isin $1- 1) {
.echo -a $timestamp 4[12HL4]13 $nick sur $chan "$+ $1- $+" | halt }
if (%hl9 isin $1- 1) {
}
}
}
}
Conclusion
voila quelque temps que je m'acharne apres cette source,je me doute qu'elle est tres mal codé et qu'il y'a des beug,mais bon,je prend mon courage a deux mains et je decide de poster quand mm..
mon gestionnaire d'hl utilise MDX,je c tres bien que d'apprendre a utiliser MDX avant de savoir scripter comme il faut,c pas top mais bon..no comment
Historique
- 08 juillet 2006 08:24:22 :
- j'ai rajouter le nom de variables dans le dialog pour que sa regle le probleme du premier edit et que les mot reste dans le dialog apres réouverture
- 09 juillet 2006 15:46:32 :
- là correction est faite,merci pour ton aide RCA ArKanis,car j'avais oublié de rajouter les }
Pour le reste..je suis encore dessus,je pense galerer un petit moment,mais je vais m'en sortir :)
Sources du même auteur
Sources de la même categorie
Commentaires et avis
Discussions en rapport avec ce code source dans le forum
à la base un HL avec des options sup. svp... [ par aoane ]
bon... voilà... je vous explique ce que je voudrais (il y a des chance pour que vous ayez déjà répondu 10000x à ce type de questions..) je voudrais un
big defie pour les crack de scripting !!! [ par besky ]
Voila c'est un gros defie que je propose celui qui réussit ca pourras avoir je pense une certaine notoriétée sur ce site et sur tous le
Logger une @windows [ par BiGOuF ]
Bonjour,J'ai un petit soucis qu'il ne sera surement pas compliqué à résoudre .Je récupère dans des Windows les notices et les HL qui me sont envoyés,
Timestamp [ par Soprano71 ]
bonjour tlm je voudrai savoir si il y avait une commande pour mettre le Timestamp en une couleur désiré qd on me hl svp ? j'ai modifié le Timestamp su
fenetre pour Hl général des users qui hls les opérateurs [ par luv ]
Bonjour et ben je vous enoie ce message pour savoir si quelqu'un aurai la réponse et le code pour faire une fenetre de hls des personnes qui hl les op
réponse auto au hl [ par ptsca ]
Bonne année à tous , voilà je cherche un add-on que le script réponde autmatiquement et aléatoirement quand on me hl : Merci
hl abusif [ par ptsca ]
Hello , qui serait sympa pour me donner un alias pour kicker automatiquement quand on me hl , j'ai fait des alias pour des slaps et autre mot mais j'y
Réponse aux hl par /me [ par BiNd3rS ]
Bonjour, il existe un script (à entrer dans le remote) qui crée une autoréponse aux hl que les gens nous font en utilisant la fonction /me, seulement
|
Derniers Blogs
TECHDAYS PARIS 2010 : ADMINISTRATION SHAREPOINT 2010TECHDAYS PARIS 2010 : ADMINISTRATION SHAREPOINT 2010 par ROMELARD Fabrice
Animé par: Patrick Guimonet et Benoit Hamet Cette session traitera des différents points exigés durant les taches d'administration : Planification (architecture, hébergement, authentification, .) Opération e...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice [TECHDAYS 2010] #03 - WEB CONTENT MANAGEMENT SOUS SHAREPOINT 2010[TECHDAYS 2010] #03 - WEB CONTENT MANAGEMENT SOUS SHAREPOINT 2010 par pierre
Stephane Cordonnier de MCNext nous présente les fonctionnalités Web Content Management (WCM) sous SharePoint 2010. Qu'est-ce que le WCM ECM, GED, RM, WCM c'est quoi Plateforme SharePoint Versions SharePoint 2010 SharePoint Fondation...
Cliquez pour lire la suite de l'article par pierre [DESIGN PATTERNS] PARTIE 2: DIP: DEPENDENCY INVERSION PRINCIPLE[DESIGN PATTERNS] PARTIE 2: DIP: DEPENDENCY INVERSION PRINCIPLE par tja
C'est le dernier principe des principes du Design Orienté Objet (The Principles of Object Oriented Design) fondés par Robert C. Martin plus connu sous le pseudonyme d'Uncle Bob.
l'image empruntée de LosTechies.
Je ne traite pas les principes dans...
Cliquez pour lire la suite de l'article par tja TECHDAYS PARIS 2010 : SHAREPOINT 2010 POUR LES DéVELOPPEURSTECHDAYS PARIS 2010 : SHAREPOINT 2010 POUR LES DéVELOPPEURS par ROMELARD Fabrice
Animé par: Laurent Cotton Le développement dans SharePoint 2010 passe par plusieurs axes qui seront évoqués dans cette session, mais plus particulièrement les développements simples lié au besoin Business Business Connectivity Services Ce BCS es...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice TECHDAYS PARIS 2010 : PLEINIèRE DERNIER JOURTECHDAYS PARIS 2010 : PLEINIèRE DERNIER JOUR par ROMELARD Fabrice
Cette session est la dernière pleinière de ces 3 jours de TechDays Paris 2010. Généralement, cette troisième journée est plus axée sur l'avenir vu par Microsoft. Après un retour sur l'avenir vu par la Science Fiction ou par ...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice
Forum
RE : ON RAWMODERE : ON RAWMODE par WorldDMT
Cliquez pour lire la suite par WorldDMT AVERTISSMENT ET KIKKAVERTISSMENT ET KIKK par mouhcine951990
Cliquez pour lire la suite par mouhcine951990
Logiciels
DB-MAIN (9.1.0)DB-MAIN (9.1.0)DB-MAIN is a data-modeling and data-architecture tool. It is designed to help developers and anal... Cliquez pour télécharger DB-MAIN Xilisoft DPG Convertisseur (5.1.37.0120)XILISOFT DPG CONVERTISSEUR (5.1.37.0120)Xilisoft DPG Convertisseur offre aux fans de Nintendo DS une bonne solution leur permettant de dé... Cliquez pour télécharger Xilisoft DPG Convertisseur GraphicsGale (2.01.01)GRAPHICSGALE (2.01.01)GraphicsGale est un logiciel de PixelArt avec de nombreuse fonctionnalités permettant de réalisé ... Cliquez pour télécharger GraphicsGale Architecte 3D (Platinum 2010)ARCHITECTE 3D (PLATINUM 2010)Architecte 3D Platinium vous permet de concevoir facilement les plans votre future maison, de l'é... Cliquez pour télécharger Architecte 3D TeamViewer 5 (TeamViewer 5)TEAMVIEWER 5 (TEAMVIEWER 5)Dépanner un ami,expliquer une manipulation devient un jeu d'enfant.
Prise en main d'un autre ord... Cliquez pour télécharger TeamViewer 5
|