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
[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
|