Accueil > > > CONFIGURATION DES ACCESS+RACCOURCI (EN DIALOG)
CONFIGURATION DES ACCESS+RACCOURCI (EN DIALOG)
Information sur la source
Description
Ben voila un ptit dialog qui vous permettra de configurer vos access sur les différents bots avec des raccourci de type !bot. Ainsi d'une simple commande vous serez authentifier (voir oper si vous rajouter la ligne de commande : me demander si vous ne savez pas faire.
Source
- -----------------------------------
- ;Dialog pour configuration de pass;
- ; By Leoden ;
- -----------------------------------
-
- on *:LOAD:{
- /echo -a 2Tu viens de Loader mon ptit addon!
- /echo -a 2Merci et j'espere qu'il te plaira!
- set %robot1 nom du robot
- set %robot2 nom du robot
- set %robot3 nom du robot
- set %robot4 nom du robot
- set %robot5 nom du robot
- set %robot6 nom du robot
- set %auth1 ton pass
- set %auth2 ton pass
- set %auth3 ton pass
- set %auth4 ton pass
- set %auth5 ton pass
- set %auth6 ton pass
- }
-
- menu channel,menubar,query {
- -
- Configuration pass:/dialog -m pass pass
- }
-
- dialog pass {
- title "Pass pour Eggdrop"
- size -1 -1 200 161
- option dbu
- text "!Bot1", 1, 7 22 25 8, center
- ;la aussi vous pouvez changer le nom du raccourci selon votre envie mais n'oubliez pas les ""
- text "!Bot2", 2, 7 42 25 8, center
- text "!Bot3", 3, 7 62 25 8, center
- text "!Bot4", 4, 7 82 25 8, center
- text "!Bot5", 5, 7 102 25 8, center
- text "!Bot6", 6, 7 122 25 8, center
- edit "", 7, 37 20 71 10, autohs
- edit "", 8, 37 40 71 10, autohs
- edit "", 9, 37 60 71 10, autohs
- edit "", 10, 37 80 71 10, autohs
- edit "", 11, 37 100 71 10, autohs
- edit "", 12, 37 120 71 10, autohs
- edit "", 13, 120 20 71 10, autohs
- edit "", 14, 120 40 71 10, autohs
- edit "", 15, 120 60 71 10, autohs
- edit "", 16, 120 80 71 10, autohs
- edit "", 17, 120 100 71 10, autohs
- edit "", 18, 120 120 71 10, autohs
- box "Nom du Robot", 19, 34 7 77 130
- box "Auth/pass", 20, 116 8 79 129
- button "OK", 21, 144 140 49 13, ok
- link "Création Leoden : Leoden@hotmail.com", 22, 34 143 98 10
- }
-
- on *:dialog:pass:init:0:{
- did -a pass 7 %robot1
- did -a pass 8 %robot2
- did -a pass 9 %robot3
- did -a pass 10 %robot4
- did -a pass 11 %robot5
- did -a pass 12 %robot6
- did -a pass 13 %auth1
- did -a pass 14 %auth2
- did -a pass 15 %auth3
- did -a pass 16 %auth4
- did -a pass 17 %auth5
- did -a pass 18 %auth6
- }
-
- on *:dialog:pass:sclick:21:{
- set %robot1 $did(7)
- set %robot2 $did(8)
- set %robot3 $did(9)
- set %robot4 $did(11)
- set %robot5 $did(12)
- set %robot6 $did(13)
- set %auth1 $did(14)
- set %auth2 $did(15)
- set %auth3 $did(16)
- set %auth4 $did(17)
- set %auth5 $did(18)
- set %auth6 $did(19)
- }
-
- on *:INPUT:*: {
- if ($1 == !bot1) { msg $chan $1- | /msg %robot1 auth %auth1 | halt }
- ;il vous est toutefois possible de changer le "auth" par "pass" si le bot le demande
- ;le racourci "!bot1" pareil en mettant ce que vous voulez ceci n'est qu'un exemple
- if ($1 == !bot2) { msg $chan $1- | /msg %robot2 auth %auth2 | halt }
- if ($1 == !bot3) { msg $chan $1- | /msg %robot3 auth %auth3 | halt }
- if ($1 == !bot4) { msg $chan $1- | /msg %robot4 auth %auth4 | halt }
- if ($1 == !bot5) { msg $chan $1- | /msg %robot5 auth %auth5 | halt }
- if ($1 == !bot6) { msg $chan $1- | /msg %robot6 auth %auth6 | halt }
- }
-
-----------------------------------
;Dialog pour configuration de pass;
; By Leoden ;
-----------------------------------
on *:LOAD:{
/echo -a 2Tu viens de Loader mon ptit addon!
/echo -a 2Merci et j'espere qu'il te plaira!
set %robot1 nom du robot
set %robot2 nom du robot
set %robot3 nom du robot
set %robot4 nom du robot
set %robot5 nom du robot
set %robot6 nom du robot
set %auth1 ton pass
set %auth2 ton pass
set %auth3 ton pass
set %auth4 ton pass
set %auth5 ton pass
set %auth6 ton pass
}
menu channel,menubar,query {
-
Configuration pass:/dialog -m pass pass
}
dialog pass {
title "Pass pour Eggdrop"
size -1 -1 200 161
option dbu
text "!Bot1", 1, 7 22 25 8, center
;la aussi vous pouvez changer le nom du raccourci selon votre envie mais n'oubliez pas les ""
text "!Bot2", 2, 7 42 25 8, center
text "!Bot3", 3, 7 62 25 8, center
text "!Bot4", 4, 7 82 25 8, center
text "!Bot5", 5, 7 102 25 8, center
text "!Bot6", 6, 7 122 25 8, center
edit "", 7, 37 20 71 10, autohs
edit "", 8, 37 40 71 10, autohs
edit "", 9, 37 60 71 10, autohs
edit "", 10, 37 80 71 10, autohs
edit "", 11, 37 100 71 10, autohs
edit "", 12, 37 120 71 10, autohs
edit "", 13, 120 20 71 10, autohs
edit "", 14, 120 40 71 10, autohs
edit "", 15, 120 60 71 10, autohs
edit "", 16, 120 80 71 10, autohs
edit "", 17, 120 100 71 10, autohs
edit "", 18, 120 120 71 10, autohs
box "Nom du Robot", 19, 34 7 77 130
box "Auth/pass", 20, 116 8 79 129
button "OK", 21, 144 140 49 13, ok
link "Création Leoden : Leoden@hotmail.com", 22, 34 143 98 10
}
on *:dialog:pass:init:0:{
did -a pass 7 %robot1
did -a pass 8 %robot2
did -a pass 9 %robot3
did -a pass 10 %robot4
did -a pass 11 %robot5
did -a pass 12 %robot6
did -a pass 13 %auth1
did -a pass 14 %auth2
did -a pass 15 %auth3
did -a pass 16 %auth4
did -a pass 17 %auth5
did -a pass 18 %auth6
}
on *:dialog:pass:sclick:21:{
set %robot1 $did(7)
set %robot2 $did(8)
set %robot3 $did(9)
set %robot4 $did(11)
set %robot5 $did(12)
set %robot6 $did(13)
set %auth1 $did(14)
set %auth2 $did(15)
set %auth3 $did(16)
set %auth4 $did(17)
set %auth5 $did(18)
set %auth6 $did(19)
}
on *:INPUT:*: {
if ($1 == !bot1) { msg $chan $1- | /msg %robot1 auth %auth1 | halt }
;il vous est toutefois possible de changer le "auth" par "pass" si le bot le demande
;le racourci "!bot1" pareil en mettant ce que vous voulez ceci n'est qu'un exemple
if ($1 == !bot2) { msg $chan $1- | /msg %robot2 auth %auth2 | halt }
if ($1 == !bot3) { msg $chan $1- | /msg %robot3 auth %auth3 | halt }
if ($1 == !bot4) { msg $chan $1- | /msg %robot4 auth %auth4 | halt }
if ($1 == !bot5) { msg $chan $1- | /msg %robot5 auth %auth5 | halt }
if ($1 == !bot6) { msg $chan $1- | /msg %robot6 auth %auth6 | halt }
}
Conclusion
rien a signaler ça marche normalement :o)
Sources de la même categorie
Commentaires et avis
|
Derniers Blogs
SESSION SILVERLIGHT 5 3D : SLIDES ET DEMOSSESSION SILVERLIGHT 5 3D : SLIDES ET DEMOS par Groc
Durant les techdays, j'ai eu le plaisir d'animer une session sur Silverlight 5 et la 3D avec Simon Ferquel. Comme promis, voici nos slides et mes démos (celles avec le viper BSG) ici et là. Pour mémoire, les démos utilisent toutes le viper BSG...
Cliquez pour lire la suite de l'article par Groc [TECHDAYS 2012] SESSION WEBMATRIX 2 : LE COUTEAU SUISSE GRATUIT POUR VOS DéVELOPPEMENTS WEB - SLIDES[TECHDAYS 2012] SESSION WEBMATRIX 2 : LE COUTEAU SUISSE GRATUIT POUR VOS DéVELOPPEMENTS WEB - SLIDES par gpommier
Suite à la session que j'ai présenté sur WebMatrix 2, vous pouvez trouver les slides ici, ainsi que les démos en packages nuget : démos1 et démos2 J'en profite pour remercier chaleureusement tous ceux qui sont venus très nombreux à cette sess...
Cliquez pour lire la suite de l'article par gpommier [SHAREPOINT] LES SESSIONS TECHDAYS 2012.[SHAREPOINT] LES SESSIONS TECHDAYS 2012. par Patrick Guimonet
Voici donc pour ceux qui n'ont pas pu venir, ou ceux qui n'ont pas pu toutes les suivre la liste des sessions SharePoint aux TechDays 2012, que je mettrais à jour dès que les liens des vidéo seront disponibles. Ou ici : http...
Cliquez pour lire la suite de l'article par Patrick Guimonet TECHDAYS PARIS 2012 : SESSION PLEINIèRE JOUR 3TECHDAYS PARIS 2012 : SESSION PLEINIèRE JOUR 3 par ROMELARD Fabrice
Speaker: Bernard Ourghanlian Cette session est comme chaque jour transmise en live par BrainSonic, et j'ai donc suivi cette troisième pleinière par ce moyen sur mon iPad . Elle est dédiée comme chaque année à la mise en perspective de l'é...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice MISHRA READER : UN LECTEUR RSS TRèS ZUNE STYLE EN OPEN SOURCE !MISHRA READER : UN LECTEUR RSS TRèS ZUNE STYLE EN OPEN SOURCE ! par Vko
Hier durant une session dédiée aux Techdays 2012, j'ai eu le plaisir d'annoncer la sortie de la Béta 2 de Mishra Reader. C'est quoi ? Pour les utilisateurs, c'est une vraie expérience de lecture de flux RSS sur Windows. Rien à voir avec les produit...
Cliquez pour lire la suite de l'article par Vko
Forum
RE : AIDERE : AIDE par Nico26000
Cliquez pour lire la suite par Nico26000 RE : AIDERE : AIDE par WorldDMT
Cliquez pour lire la suite par WorldDMT AIDEAIDE par Nico26000
Cliquez pour lire la suite par Nico26000
Logiciels
Tribler (2012)TRIBLER (2012)Tribler est un client pair à pair (P2P/Peer-to-Peer) open source avec la capacité de regarder des... Cliquez pour télécharger Tribler OneSwarm (2012)ONESWARM (2012)Le peer-to-peer qui protège votre vie privée, c'est OneSwarm.
Ce logiciel de peer-to-peer crypté... Cliquez pour télécharger OneSwarm PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO (V8.4)PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO (V8.4)PONAMEDIA TV DEVIENS HELLLOOO FLASH
LA TV SUR VOTRE ORDINATEUR.
Toute une plateforme Multi... Cliquez pour télécharger PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO Academy System (17.2.1.0)ACADEMY SYSTEM (17.2.1.0)Logiciel de gestion des établissements.
- élèves/étudiants (inscription, dossier, absence...)
-... Cliquez pour télécharger Academy System Easy-Planning (1.0.0.1)EASY-PLANNING (1.0.0.1)Basé sur les mêmes principes que MyPlanning, Easy-Planning permet de créer des plannings sous la ... Cliquez pour télécharger Easy-Planning
|