Accueil > > > SYSTEME D'UTILISATION DES SERVICES (CHANSERV, NICKSERV, ...)
SYSTEME D'UTILISATION DES SERVICES (CHANSERV, NICKSERV, ...)
Information sur la source
Description
Voila ma deuxième source, elle permet de ne plus avoir a taper les commandes pour utiliser les services chanserv, nickserv, mémoserv, botserv). Pour l'instant seul nickserv et chanserv sont opérationnels, je coderé les autres prochainement. PS: je débute en MIRC scripting alors soyez pas trop dur avec moi ;-)
Source
- menu * {
- Services:dialog -m services services
- }
-
- dialog services {
- title ".:: Utilisation des Services IRC ::."
- size -1 -1 243 167
- option dbu
- tab "Nickserv", 1, 3 0 237 148
- tab "Chanserv", 2
- tab "Botserv", 3
- button "Fermer", 5, 105 154 33 12
- box "T'enregistrer ou t'authentifier", 4, 7 33 110 56, tab 1
- edit "", 6, 92 19 65 10, multi return tab 1
- edit "", 7, 40 42 65 10, multi return tab 1
- text "Nick :", 8, 72 22 17 6, right tab 1
- text "Pass :", 9, 20 45 17 6, right tab 1
- check "Enregistrement", 10, 40 55 49 6, tab 1
- button "Identifier", 11, 43 77 32 10, tab 1
- box "Récupérer ton nick", 12, 125 33 110 56, tab 1
- text "Nick :", 13, 135 50 17 6, right tab 1
- edit "", 14, 155 47 65 10, multi return tab 1
- button "Release", 15, 140 67 37 12, tab 1
- box "Options", 16, 7 89 227 55, tab 1
- box "T'enregistrer ou t'authentifier", 17, 7 33 110 63, tab 2
- edit "", 19, 95 20 65 10, multi return tab 2
- edit "", 20, 44 42 65 10, multi return tab 2
- text "Pass :", 22, 24 45 17 6, right tab 2
- text "Channel :", 23, 67 23 25 6, right tab 2
- check "Enregistrement", 24, 47 56 45 6, tab 2
- button "OK", 25, 55 82 20 10, tab 2
- box "Gestion SOP/AOP/VOP", 26, 125 33 110 63, tab 2
- text "Nick :", 32, 135 55 17 6, right tab 2
- edit "", 33, 155 53 65 10, multi return tab 2
- radio "Ajouter", 34, 133 44 25 6, tab 2
- radio "Supprimer", 35, 194 44 33 6, tab 2
- radio "Lister", 36, 165 44 21 6, tab 2
- button "OK", 37, 171 82 20 10, tab 2
- box "Options", 38, 7 96 227 48, tab 2
- edit "", 39, 40 63 65 10, multi return tab 1
- text "Mail :", 40, 19 64 17 6, tab 1
- edit "", 41, 44 65 65 10, multi return tab 2
- text "Description :", 42, 12 68 29 6, right tab 2
- check "SOP", 28, 134 70 21 6, tab 2
- check "AOP", 29, 156 70 21 6, tab 2
- check "HOP", 18, 179 70 21 6, tab 2
- check "VOP", 30, 203 70 21 6, tab 2
- button "Recover", 31, 184 59 37 12, tab 1
- button "Topic", 43, 65 106 37 12, tab 2
- button "Modes", 44, 105 106 37 12, tab 2
- button "Message d'entrée", 45, 12 106 49 12, tab 2
- button "Drop", 21, 145 106 37 12, tab 2
- button "Founder", 27, 190 106 37 12, tab 2
- button "Successeur", 46, 16 122 37 12, tab 2
- button "Pass", 47, 58 122 37 12, tab 2
- button "Description", 48, 100 122 37 12, tab 2
- button "Url", 49, 141 122 37 12, tab 2
- button "Email", 50, 184 122 37 12, tab 2
- button "Logout", 51, 12 99 37 12, tab 1
- button "Status", 52, 52 99 37 12, tab 1
- button "Send Pass", 53, 93 99 37 12, tab 1
- button "Drop", 54, 134 99 37 12, tab 1
- button "&Hide", 55, 0 0 0 0, hide Ok
- }
-
-
- on *:dialog:services:*:*: {
- if $devent == init {
- did -c services 1
- did -b services 39
- did -b services 41
- did -a services 6,14 $me
- did -a services 33 $snick($active,1)
- if ($left($active,1) == $chr(35)) { did -a services 19 $active }
- }
- if $devent == sclick {
- if $did == 5 { dialog -x services services }
- if $did == 10 {
- if ($did(10).state == 1) { did -e services 39 | did -ra services 11 Enregistrer }
- if ($did(10).state == 0) { did -b services 39 | did -ra services 11 Identifier }
- }
- if $did == 11 {
- if $did(10).state == 1 {
- if ($did(6)) || ($did(7)) || ($did(39)) { msg NickServ register $did(6) $did(7) $did(39) }
- }
- if $did(10).state == 0 {
- if ($did(6)) || ($did(7)) { msg NickServ identify $did(6) $did(7) }
- }
- }
- if $did == 15 {
- if ($did(14)) { msg NickServ release $did(14) }
- }
- if $did == 31 {
- if ($did(14)) { msg NickServ recover $did(14) }
- }
- if $did == 25 {
- if $did(24).state == 1 {
- if ($did(19)) || ($did(20)) || ($did(41)) { msg ChanServ register $did(19) $did(20) $did(41) }
- }
- if $did(24).state == 0 {
- if ($did(19)) || ($did(20)) { msg ChanServ identify $did(19) $did(20) }
- }
- }
- if $did == 24 {
- if ($did(24).state == 1) { did -e services 41 }
- if ($did(24).state == 0) { did -b services 41 }
- }
-
- if $did == 37 {
- if ($did(34).state == 1) && ($did(33)) && ($did(19)) && ($did(28).state == 1) { msg ChanServ sop $did(19) add $did(33) }
- if ($did(34).state == 1) && ($did(33)) && ($did(19)) && ($did(29).state == 1) { msg ChanServ aop $did(19) add $did(33) }
- if ($did(34).state == 1) && ($did(33)) && ($did(19)) && ($did(18).state == 1) { msg ChanServ hop $did(19) add $did(33) }
- if ($did(34).state == 1) && ($did(33)) && ($did(19)) && ($did(30).state == 1) { msg ChanServ vop $did(19) add $did(33) }
- if ($did(35).state == 1) && ($did(33)) && ($did(19)) && ($did(28).state == 1) { msg ChanServ sop $did(19) del $did(33) }
- if ($did(35).state == 1) && ($did(33)) && ($did(19)) && ($did(29).state == 1) { msg ChanServ aop $did(19) del $did(33) }
- if ($did(35).state == 1) && ($did(33)) && ($did(19)) && ($did(18).state == 1) { msg ChanServ hop $did(19) del $did(33) }
- if ($did(35).state == 1) && ($did(33)) && ($did(19)) && ($did(30).state == 1) { msg ChanServ vop $did(19) del $did(33) }
- if ($did(36).state == 1) && ($did(19)) { msg ChanServ list $did(19) }
- if ($did(36).state == 1) && ($did(19)) && ($did(28).state == 1) { msg ChanServ sop $did(19) list }
- if ($did(36).state == 1) && ($did(19)) && ($did(29).state == 1) { msg ChanServ aop $did(19) list }
- if ($did(36).state == 1) && ($did(19)) && ($did(18).state == 1) { msg ChanServ hop $did(19) list }
- if ($did(36).state == 1) && ($did(19)) && ($did(30).state == 1) { msg ChanServ vop $did(19) list }
- }
- if $did == 36 {
- if ($did(36).state == 0) { did -e services 33 }
- if ($did(36).state == 1) { did -b services 33 }
- }
- if $did == 34 {
- if ($did(34).state == 1) { did -e services 33 }
- }
- if $did == 35 {
- if ($did(35).state == 1) { did -e services 33 }
- }
- if $did == 45 {
- set %var $?="Entrez le message d'entrée (laissez un espace pour effacer l'ancien) :"
- if (%var) { msg ChanServ set $did(19) EntryMsg %var }
- else { halt }
- }
- if $did == 44 {
- set %var $?="Entrez les modes (ex: +nt-iklps) :"
- if (%var) { msg ChanServ set $did(19) MLock %var }
- else { halt }
- }
- if $did == 43 {
- set %var $?="Entrez le topic à afficher (laissez un espace pour effacer l'ancien) :"
- if (%var) { msg ChanServ set $did(19) TopicLock Off | msg chanserv Topic $did(19) %var | msg chanserv set $did(19) TopicLock On }
- else { halt }
- }
- if $did == 21 {
- set %var $input(Cette commande effacera votre channel. Il n'y a aucun moyen de faire marche arrière. Etes-vous sûr de vouloir le faire ?,adwy,ATTENTION !!!,ATTENTION !!!)
- if (%var) { msg ChanServ Drop $did(19) }
- else { halt }
- }
- if $did == 27 {
- set %var $?="Entrez le nouveau propriétaire :"
- if (%var) { msg ChanServ set $did(19) Founder %var }
- else { halt }
- }
- if $did == 46 {
- set %var $?="Entrez le nouveau successeur :"
- if (%var) { msg ChanServ set $did(19) Successor %var }
- else { halt }
- }
- if $did == 47 {
- set %var $?="Entrez le nouveau mot de passe :"
- if (%var) { msg ChanServ set $did(19) Password %var }
- else { halt }
- }
- if $did == 48 {
- set %var $?="Entrez la nouvelle description :"
- if (%var) { msg ChanServ set $did(19) Desc %var }
- else { halt }
- }
- if $did == 49 {
- set %var $?="Entrez la nouvelle url (laissez un espace pour effacer l'ancienne) :"
- if (%var) { msg ChanServ set $did(19) Url %var }
- else { halt }
- }
- if $did == 50 {
- set %var $?="Entrez la nouvelle email (laissez un espace pour effacer l'ancienne) :"
- if (%var) { msg ChanServ set $did(19) Email %var }
- else { halt }
- }
- if $did == 51 { msg NickServ LogOut }
- if $did == 52 { msg NickServ Status $did(6) }
- if $did == 53 { msg NickServ SendPass $did(6) }
- if $did == 54 {
- set %var $input(Cette commande effacera votre nick. Il n'y a aucun moyen de faire marche arrière. Etes-vous sûr de vouloir le faire ?,adwy,ATTENTION !!!,ATTENTION !!!)
- if (%var) { msg NickServ Drop $did(6) }
- else { halt }
- }
- }
- }
menu * {
Services:dialog -m services services
}
dialog services {
title ".:: Utilisation des Services IRC ::."
size -1 -1 243 167
option dbu
tab "Nickserv", 1, 3 0 237 148
tab "Chanserv", 2
tab "Botserv", 3
button "Fermer", 5, 105 154 33 12
box "T'enregistrer ou t'authentifier", 4, 7 33 110 56, tab 1
edit "", 6, 92 19 65 10, multi return tab 1
edit "", 7, 40 42 65 10, multi return tab 1
text "Nick :", 8, 72 22 17 6, right tab 1
text "Pass :", 9, 20 45 17 6, right tab 1
check "Enregistrement", 10, 40 55 49 6, tab 1
button "Identifier", 11, 43 77 32 10, tab 1
box "Récupérer ton nick", 12, 125 33 110 56, tab 1
text "Nick :", 13, 135 50 17 6, right tab 1
edit "", 14, 155 47 65 10, multi return tab 1
button "Release", 15, 140 67 37 12, tab 1
box "Options", 16, 7 89 227 55, tab 1
box "T'enregistrer ou t'authentifier", 17, 7 33 110 63, tab 2
edit "", 19, 95 20 65 10, multi return tab 2
edit "", 20, 44 42 65 10, multi return tab 2
text "Pass :", 22, 24 45 17 6, right tab 2
text "Channel :", 23, 67 23 25 6, right tab 2
check "Enregistrement", 24, 47 56 45 6, tab 2
button "OK", 25, 55 82 20 10, tab 2
box "Gestion SOP/AOP/VOP", 26, 125 33 110 63, tab 2
text "Nick :", 32, 135 55 17 6, right tab 2
edit "", 33, 155 53 65 10, multi return tab 2
radio "Ajouter", 34, 133 44 25 6, tab 2
radio "Supprimer", 35, 194 44 33 6, tab 2
radio "Lister", 36, 165 44 21 6, tab 2
button "OK", 37, 171 82 20 10, tab 2
box "Options", 38, 7 96 227 48, tab 2
edit "", 39, 40 63 65 10, multi return tab 1
text "Mail :", 40, 19 64 17 6, tab 1
edit "", 41, 44 65 65 10, multi return tab 2
text "Description :", 42, 12 68 29 6, right tab 2
check "SOP", 28, 134 70 21 6, tab 2
check "AOP", 29, 156 70 21 6, tab 2
check "HOP", 18, 179 70 21 6, tab 2
check "VOP", 30, 203 70 21 6, tab 2
button "Recover", 31, 184 59 37 12, tab 1
button "Topic", 43, 65 106 37 12, tab 2
button "Modes", 44, 105 106 37 12, tab 2
button "Message d'entrée", 45, 12 106 49 12, tab 2
button "Drop", 21, 145 106 37 12, tab 2
button "Founder", 27, 190 106 37 12, tab 2
button "Successeur", 46, 16 122 37 12, tab 2
button "Pass", 47, 58 122 37 12, tab 2
button "Description", 48, 100 122 37 12, tab 2
button "Url", 49, 141 122 37 12, tab 2
button "Email", 50, 184 122 37 12, tab 2
button "Logout", 51, 12 99 37 12, tab 1
button "Status", 52, 52 99 37 12, tab 1
button "Send Pass", 53, 93 99 37 12, tab 1
button "Drop", 54, 134 99 37 12, tab 1
button "&Hide", 55, 0 0 0 0, hide Ok
}
on *:dialog:services:*:*: {
if $devent == init {
did -c services 1
did -b services 39
did -b services 41
did -a services 6,14 $me
did -a services 33 $snick($active,1)
if ($left($active,1) == $chr(35)) { did -a services 19 $active }
}
if $devent == sclick {
if $did == 5 { dialog -x services services }
if $did == 10 {
if ($did(10).state == 1) { did -e services 39 | did -ra services 11 Enregistrer }
if ($did(10).state == 0) { did -b services 39 | did -ra services 11 Identifier }
}
if $did == 11 {
if $did(10).state == 1 {
if ($did(6)) || ($did(7)) || ($did(39)) { msg NickServ register $did(6) $did(7) $did(39) }
}
if $did(10).state == 0 {
if ($did(6)) || ($did(7)) { msg NickServ identify $did(6) $did(7) }
}
}
if $did == 15 {
if ($did(14)) { msg NickServ release $did(14) }
}
if $did == 31 {
if ($did(14)) { msg NickServ recover $did(14) }
}
if $did == 25 {
if $did(24).state == 1 {
if ($did(19)) || ($did(20)) || ($did(41)) { msg ChanServ register $did(19) $did(20) $did(41) }
}
if $did(24).state == 0 {
if ($did(19)) || ($did(20)) { msg ChanServ identify $did(19) $did(20) }
}
}
if $did == 24 {
if ($did(24).state == 1) { did -e services 41 }
if ($did(24).state == 0) { did -b services 41 }
}
if $did == 37 {
if ($did(34).state == 1) && ($did(33)) && ($did(19)) && ($did(28).state == 1) { msg ChanServ sop $did(19) add $did(33) }
if ($did(34).state == 1) && ($did(33)) && ($did(19)) && ($did(29).state == 1) { msg ChanServ aop $did(19) add $did(33) }
if ($did(34).state == 1) && ($did(33)) && ($did(19)) && ($did(18).state == 1) { msg ChanServ hop $did(19) add $did(33) }
if ($did(34).state == 1) && ($did(33)) && ($did(19)) && ($did(30).state == 1) { msg ChanServ vop $did(19) add $did(33) }
if ($did(35).state == 1) && ($did(33)) && ($did(19)) && ($did(28).state == 1) { msg ChanServ sop $did(19) del $did(33) }
if ($did(35).state == 1) && ($did(33)) && ($did(19)) && ($did(29).state == 1) { msg ChanServ aop $did(19) del $did(33) }
if ($did(35).state == 1) && ($did(33)) && ($did(19)) && ($did(18).state == 1) { msg ChanServ hop $did(19) del $did(33) }
if ($did(35).state == 1) && ($did(33)) && ($did(19)) && ($did(30).state == 1) { msg ChanServ vop $did(19) del $did(33) }
if ($did(36).state == 1) && ($did(19)) { msg ChanServ list $did(19) }
if ($did(36).state == 1) && ($did(19)) && ($did(28).state == 1) { msg ChanServ sop $did(19) list }
if ($did(36).state == 1) && ($did(19)) && ($did(29).state == 1) { msg ChanServ aop $did(19) list }
if ($did(36).state == 1) && ($did(19)) && ($did(18).state == 1) { msg ChanServ hop $did(19) list }
if ($did(36).state == 1) && ($did(19)) && ($did(30).state == 1) { msg ChanServ vop $did(19) list }
}
if $did == 36 {
if ($did(36).state == 0) { did -e services 33 }
if ($did(36).state == 1) { did -b services 33 }
}
if $did == 34 {
if ($did(34).state == 1) { did -e services 33 }
}
if $did == 35 {
if ($did(35).state == 1) { did -e services 33 }
}
if $did == 45 {
set %var $?="Entrez le message d'entrée (laissez un espace pour effacer l'ancien) :"
if (%var) { msg ChanServ set $did(19) EntryMsg %var }
else { halt }
}
if $did == 44 {
set %var $?="Entrez les modes (ex: +nt-iklps) :"
if (%var) { msg ChanServ set $did(19) MLock %var }
else { halt }
}
if $did == 43 {
set %var $?="Entrez le topic à afficher (laissez un espace pour effacer l'ancien) :"
if (%var) { msg ChanServ set $did(19) TopicLock Off | msg chanserv Topic $did(19) %var | msg chanserv set $did(19) TopicLock On }
else { halt }
}
if $did == 21 {
set %var $input(Cette commande effacera votre channel. Il n'y a aucun moyen de faire marche arrière. Etes-vous sûr de vouloir le faire ?,adwy,ATTENTION !!!,ATTENTION !!!)
if (%var) { msg ChanServ Drop $did(19) }
else { halt }
}
if $did == 27 {
set %var $?="Entrez le nouveau propriétaire :"
if (%var) { msg ChanServ set $did(19) Founder %var }
else { halt }
}
if $did == 46 {
set %var $?="Entrez le nouveau successeur :"
if (%var) { msg ChanServ set $did(19) Successor %var }
else { halt }
}
if $did == 47 {
set %var $?="Entrez le nouveau mot de passe :"
if (%var) { msg ChanServ set $did(19) Password %var }
else { halt }
}
if $did == 48 {
set %var $?="Entrez la nouvelle description :"
if (%var) { msg ChanServ set $did(19) Desc %var }
else { halt }
}
if $did == 49 {
set %var $?="Entrez la nouvelle url (laissez un espace pour effacer l'ancienne) :"
if (%var) { msg ChanServ set $did(19) Url %var }
else { halt }
}
if $did == 50 {
set %var $?="Entrez la nouvelle email (laissez un espace pour effacer l'ancienne) :"
if (%var) { msg ChanServ set $did(19) Email %var }
else { halt }
}
if $did == 51 { msg NickServ LogOut }
if $did == 52 { msg NickServ Status $did(6) }
if $did == 53 { msg NickServ SendPass $did(6) }
if $did == 54 {
set %var $input(Cette commande effacera votre nick. Il n'y a aucun moyen de faire marche arrière. Etes-vous sûr de vouloir le faire ?,adwy,ATTENTION !!!,ATTENTION !!!)
if (%var) { msg NickServ Drop $did(6) }
else { halt }
}
}
}
Conclusion
Comme je l'ai di plus haut, le code sera mis à jour bientôt (dès que j'en aurait le temps) Je remercie Sorn_Drixer, Kolibot, tofu\ et Re[M]i_34 pour leur aide ;-)
Sources de la même categorie
Commentaires et avis
|
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
Comparez les prix

HTC Hero
Entre 550€ et 550€
|