Auto auth

Contenu du snippet

Ceci est un Auto-Auth simple ! Configurable avec tous les Robots de tous serveurs !

Source / Exemple :


;------------------------------------------
;  Auto-Auth scriptez par Jefof06         -
;------------------------------------------

dialog auther {
  title Auto Auth by Jefof06
  size -1 -1 600 360
  text "Robot",1,35 22 80 15
  edit "",2,20 45 70 20,autohs
  edit "",3,20 65 70 20,autohs
  edit "",4,20 85 70 20,autohs
  edit "",5,20 105 70 20,autohs
  edit "",6,20 125 70 20,autohs
  edit "",7,20 145 70 20,autohs
  edit "",8,20 165 70 20,autohs
  edit "",9,20 185 70 20,autohs
  edit "",10,20 205 70 20,autohs
  edit "",53,20 225 70 20,autohs
  edit "",61,20 245 70 20,autohs
  edit "",62,20 265 70 20,autohs
  edit "",63,20 285 70 20,autohs
  text "Salon",11,160 22 80 15
  edit "",12,145 45 70 20,autohs
  edit "",13,145 65 70 20,autohs
  edit "",14,145 85 70 20,autohs
  edit "",15,145 105 70 20,autohs
  edit "",16,145 125 70 20,autohs
  edit "",17,145 145 70 20,autohs
  edit "",18,145 165 70 20,autohs
  edit "",19,145 185 70 20,autohs
  edit "",20,145 205 70 20,autohs
  edit "",54,145 225 70 20,autohs
  edit "",64,145 245 70 20,autohs
  edit "",65,145 265 70 20,autohs
  edit "",66,145 285 70 20,autohs
  text "Idnick",21,285 22 80 15
  edit "",22,270 45 70 20,autohs
  edit "",23,270 65 70 20,autohs
  edit "",24,270 85 70 20,autohs
  edit "",25,270 105 70 20,autohs
  edit "",26,270 125 70 20,autohs
  edit "",27,270 145 70 20,autohs
  edit "",28,270 165 70 20,autohs
  edit "",29,270 185 70 20,autohs
  edit "",30,270 205 70 20,autohs
  edit "",55,270 225 70 20,autohs
  edit "",67,270 245 70 20,autohs
  edit "",68,270 265 70 20,autohs
  edit "",69,270 285 70 20,autohs
  text "Mot de passe",31,400 22 80 15
  edit "",32,395 45 70 20,autohs
  edit "",33,395 65 70 20,autohs
  edit "",34,395 85 70 20,autohs
  edit "",35,395 105 70 20,autohs
  edit "",36,395 125 70 20,autohs
  edit "",37,395 145 70 20,autohs
  edit "",38,395 165 70 20,autohs
  edit "",39,395 185 70 20,autohs
  edit "",40,395 205 70 20,autohs
  edit "",56,395 225 70 20,autohs
  edit "",70,395 245 70 20,autohs
  edit "",71,395 265 70 20,autohs
  edit "",72,395 285 70 20,autohs
  text "Activer",42,510 22 80 15
  check "",43,515 45 70 20
  check "",44,515 65 70 20
  check "",45,515 85 70 20
  check "",46,515 105 70 20
  check "",47,515 125 70 20
  check "",48,515 145 70 20
  check "",49,515 165 70 20
  check "",50,515 185 70 20
  check "",51,515 205 70 20
  check "",57,515 225 70 20
  check "",73,515 245 70 20
  check "",74,515 265 70 20
  check "",75,515 285 70 20
  button "Fermer",41,150 315 50 25,ok
  button "Se Auth",52,250 315 50 25
  text "La case doit-être cochée",58,215 340 120 15
  button "Aide",59,350 315 50 25
}
on *:dialog:auther:edit:61:{
  set %autherbot11 $did(61)
}
on *:dialog:auther:edit:62:{
  set %autherbot12 $did(62)
}
on *:dialog:auther:edit:63:{
  set %autherbot13 $did(63)
}
on *:dialog:auther:edit:53:{
  set %autherbot10 $did(53)
}
on *:dialog:auther:edit:54:{
  set %authersa10 $did(54)
}
on *:dialog:auther:edit:64:{
  set %authersa11 $did(64)
}
on *:dialog:auther:edit:65:{
  set %authersa12 $did(65)
}
on *:dialog:auther:edit:66:{
  set %authersa13 $did(66)
}
on *:dialog:auther:edit:55:{
  set %autherpse10 $did(55)
}
on *:dialog:auther:edit:67:{
  set %autherpse11 $did(67)
}
on *:dialog:auther:edit:68:{
  set %autherpse12 $did(68)
}
on *:dialog:auther:edit:69:{
  set %autherpse13 $did(69)
}
on *:dialog:auther:edit:56:{
  set %autherpas10 $did(56)
}
on *:dialog:auther:edit:70:{
  set %autherpas11 $did(70)
}
on *:dialog:auther:edit:71:{
  set %autherpas12 $did(71)
}
on *:dialog:auther:edit:72:{
  set %autherpas13 $did(72)
}
on *:dialog:auther:sclick:57:{
  if $did(57).state == 1 { set %auther10act Oui }
  else { set %auther10act Non }
}
on *:dialog:auther:sclick:73:{
  if $did(73).state == 1 { set %auther11act Oui }
  else { set %auther11act Non }
}
on *:dialog:auther:sclick:74:{
  if $did(74).state == 1 { set %auther12act Oui }
  else { set %auther12act Non }
}
on *:dialog:auther:sclick:75:{
  if $did(75).state == 1 { set %auther13act Oui }
  else { set %auther13act Non }
}
on *:dialog:auther:sclick:59:{
  /dialog -m aideauther aideauther
}
on *:dialog:auther:edit:2:{
  set %autherbot1 $did(2)
}
on *:dialog:auther:edit:3:{
  set %autherbot2 $did(3)
}
on *:dialog:auther:edit:4:{
  set %autherbot3 $did(4)
}
on *:dialog:auther:edit:5:{
  set %autherbot4 $did(5)
}
on *:dialog:auther:edit:6:{
  set %autherbot5 $did(6)
}
on *:dialog:auther:edit:7:{
  set %autherbot6 $did(7)
}
on *:dialog:auther:edit:8:{
  set %autherbot7 $did(8)
}
on *:dialog:auther:edit:9:{
  set %autherbot8 $did(9)
}
on *:dialog:auther:edit:10:{
  set %autherbot9 $did(10)
}
on *:dialog:auther:edit:12:{
  set %authersa1 $did(12)
}
on *:dialog:auther:edit:13:{
  set %authersa2 $did(13)
}
on *:dialog:auther:edit:14:{
  set %authersa3 $did(14)
}
on *:dialog:auther:edit:15:{
  set %authersa4 $did(15)
}
on *:dialog:auther:edit:16:{
  set %authersa5 $did(16)
}
on *:dialog:auther:edit:17:{
  set %authersa6 $did(17)
}
on *:dialog:auther:edit:18:{
  set %authersa7 $did(18)
}
on *:dialog:auther:edit:19:{
  set %authersa8 $did(19)
}
on *:dialog:auther:edit:20:{
  set %authersa9 $did(20)
}
on *:dialog:auther:edit:22:{
  set %autherpse1 $did(22)
}
on *:dialog:auther:edit:23:{
  set %autherpse2 $did(23)
}
on *:dialog:auther:edit:24:{
  set %autherpse3 $did(24)
}
on *:dialog:auther:edit:25:{
  set %autherpse4 $did(25)
}
on *:dialog:auther:edit:26:{
  set %autherpse5 $did(26)
}
on *:dialog:auther:edit:27:{
  set %autherpse6 $did(27)
}
on *:dialog:auther:edit:28:{
  set %autherpse7 $did(28)
}
on *:dialog:auther:edit:29:{
  set %autherpse8 $did(29)
}
on *:dialog:auther:edit:30:{
  set %autherpse9 $did(30)
}
on *:dialog:auther:edit:32:{
  set %autherpas1 $did(32)
}
on *:dialog:auther:edit:33:{
  set %autherpas2 $did(33)
}
on *:dialog:auther:edit:34:{
  set %autherpas3 $did(34)
}
on *:dialog:auther:edit:35:{
  set %autherpas4 $did(35)
}
on *:dialog:auther:edit:36:{
  set %autherpas5 $did(36)
}
on *:dialog:auther:edit:37:{
  set %autherpas6 $did(37)
}
on *:dialog:auther:edit:38:{
  set %autherpas7 $did(38)
}
on *:dialog:auther:edit:39:{
  set %autherpas8 $did(39)
}
on *:dialog:auther:edit:40:{
  set %autherpas9 $did(40)
}
on *:dialog:auther:init:*:{
  if %autherbot1 { did -a auther 2 %autherbot1 }
  if %autherbot2 { did -a auther 3 %autherbot2 }
  if %autherbot3 { did -a auther 4 %autherbot3 }
  if %autherbot4 { did -a auther 5 %autherbot4 }
  if %autherbot5 { did -a auther 6 %autherbot5 }
  if %autherbot6 { did -a auther 7 %autherbot6 }
  if %autherbot7 { did -a auther 8 %autherbot7 }
  if %autherbot8 { did -a auther 9 %autherbot8 }
  if %autherbot9 { did -a auther 10 %autherbot9 }
  if %autherbot10 { did -a auther 53 %autherbot10 }
  if %autherbot11 { did -a auther 61 %autherbot11 }
  if %autherbot12 { did -a auther 62 %autherbot12 }
  if %autherbot13 { did -a auther 63 %autherbot13 }
  if %authersa1 { did -a auther 12 %authersa1 }
  if %authersa2 { did -a auther 13 %authersa2 }
  if %authersa3 { did -a auther 14 %authersa3 }
  if %authersa4 { did -a auther 15 %authersa4 }
  if %authersa5 { did -a auther 16 %authersa5 }
  if %authersa6 { did -a auther 17 %authersa6 }
  if %authersa7 { did -a auther 18 %authersa7 }
  if %authersa8 { did -a auther 19 %authersa8 }
  if %authersa9 { did -a auther 20 %authersa9 }
  if %authersa10 { did -a auther 54 %authersa10 }
  if %authersa11 { did -a auther 64 %authersa11 }
  if %authersa12 { did -a auther 65 %authersa12 }
  if %authersa13 { did -a auther 66 %authersa13 }
  if %autherpse1 { did -a auther 22 %autherpse1 }
  if %autherpse2 { did -a auther 23 %autherpse2 }
  if %autherpse3 { did -a auther 24 %autherpse3 }
  if %autherpse4 { did -a auther 25 %autherpse4 }
  if %autherpse5 { did -a auther 26 %autherpse5 }
  if %autherpse6 { did -a auther 27 %autherpse6 }
  if %autherpse7 { did -a auther 28 %autherpse7 }
  if %autherpse8 { did -a auther 29 %autherpse8 }
  if %autherpse9 { did -a auther 30 %autherpse9 }
  if %autherpse10 { did -a auther 55 %autherpse10 }
  if %autherpse11 { did -a auther 67 %autherpse11 }
  if %autherpse12 { did -a auther 68 %autherpse12 }
  if %autherpse13 { did -a auther 69 %autherpse13 }
  if %autherpas1 { did -a auther 32 %autherpas1 }
  if %autherpas2 { did -a auther 33 %autherpas2 }
  if %autherpas3 { did -a auther 34 %autherpas3 }
  if %autherpas4 { did -a auther 35 %autherpas4 }
  if %autherpas5 { did -a auther 36 %autherpas5 }
  if %autherpas6 { did -a auther 37 %autherpas6 }
  if %autherpas7 { did -a auther 38 %autherpas7 }
  if %autherpas8 { did -a auther 39 %autherpas8 }
  if %autherpas9 { did -a auther 40 %autherpas9 }
  if %autherpas10 { did -a auther 56 %autherpas10 }
  if %autherpas11 { did -a auther 70 %autherpas11 }
  if %autherpas12 { did -a auther 71 %autherpas12 }
  if %autherpas13 { did -a auther 72 %autherpas13 }
  if %auther1act == Oui { did -c auther 43 }
  if %auther2act == Oui { did -c auther 44 }
  if %auther3act == Oui { did -c auther 45 }
  if %auther4act == Oui { did -c auther 46 }
  if %auther5act == Oui { did -c auther 47 }
  if %auther6act == Oui { did -c auther 48 }
  if %auther7act == Oui { did -c auther 49 }
  if %auther8act == Oui { did -c auther 50 }
  if %auther9act == Oui { did -c auther 51 }
  if %auther10act == Oui { did -c auther 57 }
  if %auther11act == Oui { did -c auther 73 }
  if %auther12act == Oui { did -c auther 74 }
  if %auther13act == Oui { did -c auther 75 }
}

on *:dialog:auther:sclick:43:{
  if $did(43).state == 1 { set %auther1act Oui }
  else { set %auther1act Non }
}
on *:dialog:auther:sclick:44:{
  if $did(44).state == 1 { set %auther2act Oui }
  else { set %auther2act Non }
}
on *:dialog:auther:sclick:45:{
  if $did(45).state == 1 { set %auther3act Oui }
  else { set %auther3act Non }
}
on *:dialog:auther:sclick:46:{
  if $did(46).state == 1 { set %auther4act Oui }
  else { set %auther4act Non }
}
on *:dialog:auther:sclick:47:{
  if $did(47).state == 1 { set %auther5act Oui }
  else { set %auther5act Non }
}
on *:dialog:auther:sclick:48:{
  if $did(48).state == 1 { set %auther6act Oui }
  else { set %auther6act Non }
}
on *:dialog:auther:sclick:49:{
  if $did(49).state == 1 { set %auther7act Oui }
  else { set %auther7act Non }
}
on *:dialog:auther:sclick:50:{
  if $did(50).state == 1 { set %auther8act Oui }
  else { set %auther8act Non }
}
on *:dialog:auther:sclick:51:{
  if $did(51).state == 1 { set %auther9act Oui }
  else { set %auther9act Non }
}

on *:connect:{
  if %auther1act == Oui { /msg %autherbot1 auth %authersa1 %autherpse1 %autherpas1 }
  if %auther2act == Oui { /msg %autherbot2 auth %authersa2 %autherpse2 %autherpas2 }
  if %auther3act == Oui { /msg %autherbot3 auth %authersa3 %autherpse3 %autherpas3 }
  if %auther4act == Oui { /msg %autherbot4 auth %authersa4 %autherpse4 %autherpas4 }
  if %auther5act == Oui { /msg %autherbot5 auth %authersa5 %autherpse5 %autherpas5 }
  if %auther6act == Oui { /msg %autherbot6 auth %authersa6 %autherpse6 %autherpas6 }
  if %auther7act == Oui { /msg %autherbot7 auth %authersa7 %autherpse7 %autherpas7 }
  if %auther8act == Oui { /msg %autherbot8 auth %authersa8 %autherpse8 %autherpas8 }
  if %auther9act == Oui { /msg %autherbot9 auth %authersa9 %autherpse9 %autherpas9 }
  if %auther10act == Oui { /msg %autherbot10 auth %authersa10 %autherpse10 %autherpas10 }
  if %auther11act == Oui { /msg %autherbot11 auth %authersa11 %autherpse11 %autherpas11 }
  if %auther12act == Oui { /msg %autherbot12 auth %authersa12 %autherpse12 %autherpas12 }
  if %auther13act == Oui { /msg %autherbot13 auth %authersa13 %autherpse13 %autherpas13 }
}

on *:dialog:auther:sclick:52:{
  if %auther1act == Oui { /msg %autherbot1 auth %authersa1 %autherpse1 %autherpas1 }
  if %auther2act == Oui { /msg %autherbot2 auth %authersa2 %autherpse2 %autherpas2 }
  if %auther3act == Oui { /msg %autherbot3 auth %authersa3 %autherpse3 %autherpas3 }
  if %auther4act == Oui { /msg %autherbot4 auth %authersa4 %autherpse4 %autherpas4 }
  if %auther5act == Oui { /msg %autherbot5 auth %authersa5 %autherpse5 %autherpas5 }
  if %auther6act == Oui { /msg %autherbot6 auth %authersa6 %autherpse6 %autherpas6 }
  if %auther7act == Oui { /msg %autherbot7 auth %authersa7 %autherpse7 %autherpas7 }
  if %auther8act == Oui { /msg %autherbot8 auth %authersa8 %autherpse8 %autherpas8 }
  if %auther9act == Oui { /msg %autherbot9 auth %authersa9 %autherpse9 %autherpas9 }
  if %auther10act == Oui { /msg %autherbot10 auth %authersa10 %autherpse10 %autherpas10 }
  if %auther11act == Oui { /msg %autherbot11 auth %authersa11 %autherpse11 %autherpas11 }
  if %auther12act == Oui { /msg %autherbot12 auth %authersa12 %autherpse12 %autherpas12 }
  if %auther13act == Oui { /msg %autherbot13 auth %authersa13 %autherpse13 %autherpas13 }
}

alias /auth {
  dialog -m auther auther
}

dialog aideauther {
  title Aide du Auto-Auth
  size -1 -1 235 115
  option dbu
  text "Remplissez les bons renseignements dans les cases .",1,5 15 275 20
  text "Ensuite cochez les cases correspondantes au lignes .",2,5 30 150 20
  text "Vous mettez les bon renseignements dans les bonne cases et tout ira bien",3,5 40 275 20
  text "Il y a le bouton Se auth , il sert a se Auther au moment ou vous cliquez dessus",4,5 50 250 20
  text "Jefof06",6,5 70 275 20,center
  button "Fermer",7,105 90 25 15,ok
}

Conclusion :


Vous mettez tous sa dans les remotes puis :

menu bar ,menu channel
Auto-Auth :/dialog -m auther auther

( j'attend vos commentaires , merci )

A voir également

Vous n'êtes pas encore membre ?

inscrivez-vous, c'est gratuit et ça prend moins d'une minute !

Les membres obtiennent plus de réponses que les utilisateurs anonymes.

Le fait d'être membre vous permet d'avoir un suivi détaillé de vos demandes et codes sources.

Le fait d'être membre vous permet d'avoir des options supplémentaires.