Auto auth by nano ( se auth a la connect )

Contenu du snippet

voila ;)

Source / 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 

}

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.