AUTO AUTH BY NANO ( SE AUTH A LA CONNECT )

ZeuS-SueZ Messages postés 6 Date d'inscription mercredi 15 octobre 2003 Statut Membre Dernière intervention 15 octobre 2003 - 15 oct. 2003 à 05:15
cs_Aesculus Messages postés 11 Date d'inscription jeudi 10 février 2011 Statut Membre Dernière intervention 17 février 2013 - 27 mai 2012 à 05:59
Cette discussion concerne un article du site. Pour la consulter dans son contexte d'origine, cliquez sur le lien ci-dessous.

https://codes-sources.commentcamarche.net/source/17074-auto-auth-by-nano-se-auth-a-la-connect

cs_Aesculus Messages postés 11 Date d'inscription jeudi 10 février 2011 Statut Membre Dernière intervention 17 février 2013
27 mai 2012 à 05:59
On 1:connect:{
ns identify TON_MDP
.timer 1 1 cs invite #Staff ( c le salon de mon équipe)
oper TON_PSEUDO TON_MDP
.timer 1 3 os set superadmin on
}

En gros a qui elle sert:
1) Auto identification a nickserv
2) Tu rejoin le salon #Staff
3) Auto identification Ircop il me semble
4) Auto Superadmin si tu es admin sur le serveur ou tu te trouve

La source ne vient pas de moi mais de Noriyaki qui est sur mon serveur irc.
je trouve cela plus simple moi perso et je en suis pas un scripteur.

Bonne continuation. Pour les scripteurs pros je vous souhaite bon courage il y a des sources qui sont géniale. Merci a vous d'aider les bizu en irc comme moi mdr.
devorZ Messages postés 46 Date d'inscription dimanche 27 juillet 2008 Statut Membre Dernière intervention 21 février 2009 1
2 août 2008 à 04:56
Bonjour,
1) Sa mérite niveau 1
2) c'est mal codé les / ne servent a rien
3) tu aurrais pu largement optimisé se code
4) Exemple :

# dialog auto_auth {
# title " .:: Auto Auth IriX By NaNo ::."
# size -1 -1 237 116
# option dbu
# box "salon avec le #", 1, 5 18 72 81
# edit %1, 2, 6 25 69 10, autohs
# edit %2, 3, 6 37 69 10, autohs
# edit %3, 4, 6 49 69 10
# edit %4, 5, 6 61 69 10
# edit %5, 6, 6 73 69 10
# edit %6, 7, 6 85 69 10
# text " Ton Pseudo", 8, 55 5 40 9
# edit %pseudo, 9, 95 8 117 10, autohs
# box "PASS pour irix", 10, 77 18 76 81
# edit %p1, 11, 79 25 69 10
# edit %p2, 12, 79 37 69 10
# edit %p3, 13, 79 49 69 10
# edit %p4, 14, 79 61 69 10
# edit %p5, 15, 79 73 69 10
# edit %p6, 16, 79 85 69 10
# button "SE AUTH !!!", 17, 155 26 64 10
# button "SE AUTH !!!", 18, 155 38 64 10
# button "SE AUTH !!!", 19, 155 50 64 10
# button "SE AUTH !!!", 20, 155 62 64 10
# button "SE AUTH !!!", 21, 155 74 64 10
# button "SE AUTH !!!", 22, 155 86 64 10
# button "Ok", 23, 5 99 37 12, ok
# button "ExiT", 24, 43 99 37 12, cancel
# }
#
# on *:dialog:auto_auth:init:*:{
# dll mdx.dll SetMircVersion $version
# dll mdx.dll MarkDialog auto_auth
# dll mdx.dll SetDialog auto_auth bgcolor $rgb(10,25,255)
# dll mdx.dll SetFont auto_auth 1 +abg 16 400 comic sans ms
# dll mdx.dll SetFont auto_auth 2 +abg 16 400 comic sans ms
# dll mdx.dll SetFont auto_auth 3 +abg 16 400 comic sans ms
# dll mdx.dll SetFont auto_auth 4 +abg 16 400 comic sans ms
# dll mdx.dll SetFont auto_auth 5 +abg 16 400 comic sans ms
# dll mdx.dll SetFont auto_auth 6 +abg 16 400 comic sans ms
# dll mdx.dll SetFont auto_auth 7 +abg 16 400 comic sans ms
# dll mdx.dll SetFont auto_auth 8 +abg 16 400 comic sans ms
# dll mdx.dll SetFont auto_auth 9 +abg 16 400 comic sans ms
# dll mdx.dll SetFont auto_auth 10 +abg 16 400 comic sans ms
# dll mdx.dll SetFont auto_auth 11 +abg 16 400 comic sans ms
# dll mdx.dll SetFont auto_auth 12 +abg 16 400 comic sans ms
# dll mdx.dll SetFont auto_auth 13 +abg 16 400 comic sans ms
# dll mdx.dll SetFont auto_auth 14 +abg 16 400 comic sans ms
# dll mdx.dll SetFont auto_auth 15 +abg 16 400 comic sans ms
# dll mdx.dll SetFont auto_auth 16 +abg 16 400 comic sans ms
# dll mdx.dll SetFont auto_auth 17 +abg 16 400 comic sans ms
# dll mdx.dll SetFont auto_auth 18 +abg 16 400 comic sans ms
# dll mdx.dll SetFont auto_auth 19 +abg 16 400 comic sans ms
# dll mdx.dll SetFont auto_auth 20 +abg 16 400 comic sans ms
# dll mdx.dll SetFont auto_auth 21 +abg 16 400 comic sans ms
# dll mdx.dll SetFont auto_auth 22 +abg 16 400 comic sans ms
# dll mdx.dll SetFont auto_auth 23 +abg 16 400 comic sans ms
# dll mdx.dll SetFont auto_auth 24 +abg 16 400 comic sans ms
# dll mdx.dll SetColor auto_auth 1 text $rgb(255,255,0)
# dll mdx.dll SetColor auto_auth 1 background $rgb(255,255,0)
# dll mdx.dll SetColor auto_auth 10 text $rgb(255,255,0)
# dll mdx.dll SetColor auto_auth 10 background $rgb(255,255,0)
# }
#
#
# on *:dialog:auto_auth:edit:9:set %pseudo $did(9)
# on *:dialog:auto_auth:edit:2:set %1 $did(2)
# on *:dialog:auto_auth:edit:3:set %2 $did(3)
# on *:dialog:auto_auth:edit:4:set %3 $did(4)
# on *:dialog:auto_auth:edit:5:set %4 $did(5)
# on *:dialog:auto_auth:edit:6:set %5 $did(6)
# on *:dialog:auto_auth:edit:7:set %6 $did(7)
# on *:dialog:auto_auth:edit:11:set %p1 $did(11)
# on *:dialog:auto_auth:edit:12:set %p2 $did(12)
# on *:dialog:auto_auth:edit:13:set %p3 $did(13)
# on *:dialog:auto_auth:edit:14:set %p4 $did(14)
# on *:dialog:auto_auth:edit:15:set %p5 $did(15)
# on *:dialog:auto_auth:edit:16:set %p6 $did(16)
#
# on *:dialog:auto_auth:sclick:17:{ /msg IriX auth %1 %pseudo %p1 }
# on *:dialog:auto_auth:sclick:18:{ /msg IriX auth %2 %pseudo %p2 }
# on *:dialog:auto_auth:sclick:19:{ /msg IriX auth %3 %pseudo %p3 }
# on *:dialog:auto_auth:sclick:20:{ /msg IriX auth %4 %pseudo %p4 }
# on *:dialog:auto_auth:sclick:21:{ /msg IriX auth %5 %pseudo %p5 }
# on *:dialog:auto_auth:sclick:22:{ /msg IriX auth %6 %pseudo %p6 }
#
# on 1:connect:{
#
# /msg IriX auth %1 %pseudo %p1
# /msg IriX auth %2 %pseudo %p2
# /msg IriX auth %3 %pseudo %p3
# /msg IriX auth %4 %pseudo %p4
# /msg IriX auth %5 %pseudo %p5
# /msg IriX auth %6 %pseudo %p6
#
# }
moi j'aurrais deja optimisé sa :

dialog auto_auth {
title " .:: Auto Auth IriX By NaNo ::."
size -1 -1 237 116
option dbu
box "salon avec le #", 1, 5 18 72 81
edit %1, 2, 6 25 69 10, autohs
edit %2, 3, 6 37 69 10, autohs
edit %3, 4, 6 49 69 10
edit %4, 5, 6 61 69 10
edit %5, 6, 6 73 69 10
edit %6, 7, 6 85 69 10
text " Ton Pseudo", 8, 55 5 40 9
edit %pseudo, 9, 95 8 117 10, autohs
box "PASS pour irix", 10, 77 18 76 81
edit %p1, 11, 79 25 69 10
edit %p2, 12, 79 37 69 10
edit %p3, 13, 79 49 69 10
edit %p4, 14, 79 61 69 10
edit %p5, 15, 79 73 69 10
edit %p6, 16, 79 85 69 10
button "SE AUTH !!!", 17, 155 26 64 10
button "SE AUTH !!!", 18, 155 38 64 10
button "SE AUTH !!!", 19, 155 50 64 10
button "SE AUTH !!!", 20, 155 62 64 10
button "SE AUTH !!!", 21, 155 74 64 10
button "SE AUTH !!!", 22, 155 86 64 10
button "Ok", 23, 5 99 37 12, ok
button "ExiT", 24, 43 99 37 12, cancel
}
On *:dialog:Auto_Auth:*:*:{
If ($devent == Init) {
dll mdx.dll SetMircVersion $version
dll mdx.dll MarkDialog auto_auth
dll mdx.dll SetDialog auto_auth bgcolor $rgb(10,25,255)
dll mdx.dll SetFont auto_auth 1 +abg 16 400 comic sans ms
dll mdx.dll SetFont auto_auth 2 +abg 16 400 comic sans ms
dll mdx.dll SetFont auto_auth 3 +abg 16 400 comic sans ms
dll mdx.dll SetFont auto_auth 4 +abg 16 400 comic sans ms
dll mdx.dll SetFont auto_auth 5 +abg 16 400 comic sans ms
dll mdx.dll SetFont auto_auth 6 +abg 16 400 comic sans ms
dll mdx.dll SetFont auto_auth 7 +abg 16 400 comic sans ms
dll mdx.dll SetFont auto_auth 8 +abg 16 400 comic sans ms
dll mdx.dll SetFont auto_auth 9 +abg 16 400 comic sans ms
dll mdx.dll SetFont auto_auth 10 +abg 16 400 comic sans ms
dll mdx.dll SetFont auto_auth 11 +abg 16 400 comic sans ms
dll mdx.dll SetFont auto_auth 12 +abg 16 400 comic sans ms
dll mdx.dll SetFont auto_auth 13 +abg 16 400 comic sans ms
dll mdx.dll SetFont auto_auth 14 +abg 16 400 comic sans ms
dll mdx.dll SetFont auto_auth 15 +abg 16 400 comic sans ms
dll mdx.dll SetFont auto_auth 16 +abg 16 400 comic sans ms
dll mdx.dll SetFont auto_auth 17 +abg 16 400 comic sans ms
dll mdx.dll SetFont auto_auth 18 +abg 16 400 comic sans ms
dll mdx.dll SetFont auto_auth 19 +abg 16 400 comic sans ms
dll mdx.dll SetFont auto_auth 20 +abg 16 400 comic sans ms
dll mdx.dll SetFont auto_auth 21 +abg 16 400 comic sans ms
dll mdx.dll SetFont auto_auth 22 +abg 16 400 comic sans ms
dll mdx.dll SetFont auto_auth 23 +abg 16 400 comic sans ms
dll mdx.dll SetFont auto_auth 24 +abg 16 400 comic sans ms
dll mdx.dll SetColor auto_auth 1 text $rgb(255,255,0)
dll mdx.dll SetColor auto_auth 1 background $rgb(255,255,0)
dll mdx.dll SetColor auto_auth 10 text $rgb(255,255,0)
dll mdx.dll SetColor auto_auth 10 background $rgb(255,255,0)
}
Elseif ($devent == Sclick) {
if ($did = 17) { msg Irix auth %1 %Pseudo %P1 }
if ($did = 18) { msg Irix auth %2 %Pseudo %P2 }
if ($did = 19) { msg Irix auth %3 %Pseudo %P3 }
if ($did = 20) { msg Irix auth %4 %Pseudo %P4 }
if ($did = 21) { msg Irix auth %5 %Pseudo %P5 }
if ($did = 22) { msg Irix auth %6 %Pseudo %P6 }
}
Elseif ($devent == Edit) {
if ($did = 9) { set %pseudo $did(9) }
if ($did = 2) { set %1 $did(2) }
if ($did = 3) { set %2 $did(3) }
if ($did = 4) { set %3 $did(4) }
if ($did = 5) { set %4 $did(5) }
if ($did = 6) { set %5 $did(6) }
if ($did = 7) { set %6 $did(7) }
if ($did = 11) { set %p1 $did(11) }
if ($did = 12) { set %p2 $did(12) }
if ($did = 13) { set %p3 $did(13) }
if ($did = 14) { set %p4 $did(14) }
if ($did = 15) { set %p5 $did(15) }
if ($did = 16) { set %p6 $did(16) }
}
}
on 1:connect:{
msg IriX auth %1 %pseudo %p1
msg IriX auth %2 %pseudo %p2
msg IriX auth %3 %pseudo %p3
msg IriX auth %4 %pseudo %p4
msg IriX auth %5 %pseudo %p5
msg IriX auth %6 %pseudo %p6
}
tipexx94 Messages postés 60 Date d'inscription vendredi 12 novembre 2004 Statut Membre Dernière intervention 20 juin 2007
25 août 2005 à 17:42
han mdr le truc est bien mais comment c'est laid :/

regarde bleu jaune gris ....
ZaKarthur Messages postés 1 Date d'inscription jeudi 3 juin 2004 Statut Membre Dernière intervention 19 août 2004
19 août 2004 à 21:28
Ué j'aime pas trop le design, mais c un bon peit auto-Auth! Rien de special, c simple pratike... donc je me plaint pas! il est bien !! =)
cs_NaifoX Messages postés 22 Date d'inscription mercredi 30 avril 2003 Statut Membre Dernière intervention 17 janvier 2004
18 oct. 2003 à 21:34
Bon petit résumé :
1/ Cette source ne m'hérite pas un niveau 3 mais 1
2/ C'est pas toujours le même pseudo qui est enregistrer sous IriX
3/ Sinon Tu devrais faire peu être 10 edits car Voila/Wanadoo autorise un Max de 10 Salons :)

Sinon Bonne continuation !
NaNo45 Messages postés 81 Date d'inscription mercredi 2 juillet 2003 Statut Membre Dernière intervention 29 juin 2004
17 oct. 2003 à 11:54
lol ^^
Paper183 Messages postés 18 Date d'inscription jeudi 20 juin 2002 Statut Membre Dernière intervention 11 juin 2004
16 oct. 2003 à 01:05
Bon ok dsl davoir poster ce message jai aps tout regarder la source je croyait ke ct encore pour de auto connect a un serveur... encore dsl :)
c'est pas mal mais encore ce n'est pas vraiment niveau 3...
Paper183 Messages postés 18 Date d'inscription jeudi 20 juin 2002 Statut Membre Dernière intervention 11 juin 2004
16 oct. 2003 à 01:00
c'est pas expert dutout sans compter kil y a environ une dixaine de sources pareilles sur ce site...
cs_Mip Messages postés 17 Date d'inscription lundi 25 novembre 2002 Statut Membre Dernière intervention 18 janvier 2006
15 oct. 2003 à 12:49
Niveau expert c'est un peu gros quand même :)

Essaye de l'ameliorer : auto ident sur tous les serveurs avec un nombre illimité de pseudo en un minimum de ligne ! et là oui tu poura mettre niveau exper :)

Sinon bonne continuation,
cs_tofu Messages postés 1726 Date d'inscription vendredi 12 septembre 2003 Statut Membre Dernière intervention 13 juin 2009 1
15 oct. 2003 à 07:51
je peux pas donner d'avis vu que je traine sur aucun serveur ou il y a IriX.. juste un niveau expert sa me parait unpeu exagéré mais bon .. :)
ZeuS-SueZ Messages postés 6 Date d'inscription mercredi 15 octobre 2003 Statut Membre Dernière intervention 15 octobre 2003
15 oct. 2003 à 05:15
Hum que dire seulement si ce n'est que c'est une source trés "commune" qui de plus ne correspond pas à l'idée que je me fais d'un niveau 3. Mais je peux me tromper :))

En tout cas elle a le mérite de marcher, c'est dèjà pas mal :o)
Rejoignez-nous