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
L'INTERFACE NATURELLE DE WINDOWS PHONE 7 SERIESL'INTERFACE NATURELLE DE WINDOWS PHONE 7 SERIES par odewit
La tendance est aux interfaces naturelles (NUI), et le keynote de Bill Buxton au MIX l'a bien souligné.
La charte graphique et ergonomique de Windows Phone 7 a donc été entièrement repensée en vue d'obtenir un maximum d'efficacité sur ce point. En re...
Cliquez pour lire la suite de l'article par odewit COMMENT MAPPER UNE VUE SQL SUR UNE COLLECTION DE COMPLEX TYPE?COMMENT MAPPER UNE VUE SQL SUR UNE COLLECTION DE COMPLEX TYPE? par Matthieu MEZIL
Avec EF, les vues doivent être mappées sur des entity types. Le problème c'est que les entity types doivent avoir une clé. Avec EF, nous avons les complex type qui n'ont pas de clé mais les vues ne peuvent pas être mappées dessus. Avec EF4, il est possibl...
Cliquez pour lire la suite de l'article par Matthieu MEZIL [WF4] UN BINDING ACTIVITY/ACTIVITYDESIGNER QUI PASSE MAL?[WF4] UN BINDING ACTIVITY/ACTIVITYDESIGNER QUI PASSE MAL? par JeremyJeanson
Certain d'entre vous on peut être vécu cette situation embarrassante après quelques temps passer avec WF4 : Au début avec mon " ActivityDesigner" , tout allait bien. Et puis un jour j'ai au des problèmes de " Binding" . Alors nous sommes allé sur le site ...
Cliquez pour lire la suite de l'article par JeremyJeanson
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
Comparez les prix

HTC Hero
Entre 550€ et 550€
|