Petit addons pour bot sert a s'identifyer au bot

Contenu du snippet

se code sert a vous identifyer a votre bot .
il es en popup
mais marche .....
addons facile d'emploie es tres simple
je suis debutant ( je sais , ces pas une excuse ), voila
mettez moi vos appreciation merci

Source / Exemple :


menu menubar {
  access admin
  .admin( $+ %master $+ ):/set %master $$?="quel speudo" | /set %password1 $$?"quel pass"
  .admin( $+ %nickk2 $+ ):/set %nickk2 $$?="quel speudo" | /set %password2 $$?"quel pass"
  .admin( $+ %nickk3 $+ ):/set %nickk3 $$?="quel speudo" | /set %password3 $$?"quel pass"
  .admin( $+ %nickk4 $+ ):/set %nickk4 $$?="quel speudo" | /set %password4 $$?"quel pass"
  .admin( $+ %nickk5 $+ ):/set %nickk5 $$?="quel speudo" | /set %password5 $$?"quel pass"
  .admin( $+ %nickk6 $+ ):/set %nickk6 $$?="quel speudo" | /set %password6 $$?"quel pass"
  .admin( $+ %nickk7 $+ ):/set %nickk7 $$?="quel speudo" | /set %password7 $$?"quel pass"
  .admin( $+ %nickk8 $+ ):/set %nickk8 $$?="quel speudo" | /set %password8 $$?"quel pass"
  .admin( $+ %nickk9 $+ ):/set %nickk9 $$?="quel speudo" | /set %password9 $$?"quel pass"
  .admin( $+ %nickk10 $+ ):/set %nickk10 $$?="quel speudo" | /set %password10 $$?"quel pass"
}
#identifycation on

on *:text:identify*:?:{
  if ($nick == %master && %password1 == $2) { /notice $nick Bienvenue $nick au toi mon maitre prefere,si ces la premiere que tu es avec moi tape !listeop | /set %access1 oui }
  if ($nick == %nickk2 && %password2 == $2) { /notice $nick Bienvenue $nick , presque toute mes commandes sont à ta disposition | /set %access2 oui }
  if ($nick == %nickk3 && %password3 == $2) { /notice $nick Bienvenue $nick , presque toute mes commandes sont à ta disposition | /set %access3 oui }
  if ($nick == %nickk4 && %password4 == $2) { /notice $nick Bienvenue $nick , presque toute mes commandes sont à ta disposition | /set %access4 oui }
  if ($nick == %nickk5 && %password5 == $2) { /notice $nick Bienvenue $nick , presque toute mes commandes sont à ta disposition | /set %access5 oui }
  if ($nick == %nickk6 && %password6 == $2) { /notice $nick Bienvenue $nick , presque toute mes commandes sont à ta disposition | /set %access6 oui }
  if ($nick == %nickk7 && %password7 == $2) { /notice $nick Bienvenue $nick , presque toute mes commandes sont à ta disposition | /set %access7 oui }
  if ($nick == %nickk8 && %password8 == $2) { /notice $nick Bienvenue $nick , presque toute mes commandes sont à ta disposition | /set %access8 oui }
  if ($nick == %nickk9 && %password9 == $2) { /notice $nick Bienvenue $nick , presque toute mes commandes sont à ta disposition | /set %access9 oui }
  if ($nick == %nickk10 && %password10 == $2) { /notice $nick Bienvenue $nick , presque toute mes commandes sont à ta disposition | /set %access10 oui }
  if (%password1 != $2 && %password2 != $2 && %password3 != $2 && %password4 != $2 && %password5 != $2 && %password6 != $2 && %password7 != $2 && %password8 != $2 && %password9 != $2 %password10 != $2)  { /notice $nick 4Password incorrect !!!! }
  if (%password1 != $2 ) { /set %access1 non }
  if (%password2 != $2 ) { /set %access2 non }
  if (%password3 != $2 ) { /set %access3 non }
  if (%password4 != $2 ) { /set %access4 non }
  if (%password5 != $2 ) { /set %access5 non }
  if (%password6 != $2 ) { /set %access6 non }
  if (%password7 != $2 ) { /set %access7 non }
  if (%password8 != $2 ) { /set %access8 non }
  if (%password9 != $2 ) { /set %access9 non }
  if (%password10 != $2 ) { /set %access10 non }
}

on *:connect:{ 
  if ($me == $nick) { /set %access1 non | /set %access2 non | /set %access3 non | /set %access4 non | /set %access5 non | /set %access6 non | /set %access7 non | /set %access8 non | /set %access9 non | /set %access10 non }
}
on *:text:*:#:{
  if (!o isin $left($1-,2)) {
    if ($2 == $null) {
      if (%access1 == oui) { /mode $chan +oooo %nickk1 }
      if (%access2 == oui) { /mode $chan +oooo %nickk2 }
      if (%access3 == oui) { /mode $chan +oooo %nickk3 }
      if (%access4 == oui) { /mode $chan +oooo %nickk4 }
      if (%access5 == oui) { /mode $chan +oooo %nickk5 }
      if (%access6 == oui) { /mode $chan +oooo %nickk6 }
      if (%access7 == oui) { /mode $chan +oooo %nickk7 }
      if (%access8 == oui) { /mode $chan +oooo %nickk8 }
      if (%access9 == oui) { /mode $chan +oooo %nickk9 }
      if (%access10 == oui) { /mode $chan +oooo %nickk10 }
    }
    if (%access1 == oui) { /mode $chan +oooo $2 }
    if (%access2 == oui) { /mode $chan +oooo $2 }
    if (%access3 == oui) { /mode $chan +oooo $2 }
    if (%access4 == oui) { /mode $chan +oooo $2 }
    if (%access5 == oui) { /mode $chan +oooo $2 }
    if (%access6 == oui) { /mode $chan +oooo $2 }
    if (%access7 == oui) { /mode $chan +oooo $2 }
    if (%access8 == oui) { /mode $chan +oooo $2 }
    if (%access9 == oui) { /mode $chan +oooo $2 }
    if (%access10 == oui) { /mode $chan +oooo $2 }
  }
  if (!do isin $left($1-,3)) {
    if ($2 == $null) {
      if (%access1 == oui) { /mode $chan -oooo %nickk1 }
      if (%access2 == oui) { /mode $chan -oooo %nickk2 }
      if (%access3 == oui) { /mode $chan -oooo %nickk3 }
      if (%access4 == oui) { /mode $chan -oooo %nickk4 }
      if (%access5 == oui) { /mode $chan -oooo %nickk5 }
      if (%access6 == oui) { /mode $chan -oooo %nickk6 }
      if (%access7 == oui) { /mode $chan -oooo %nickk7 }
      if (%access8 == oui) { /mode $chan -oooo %nickk8 }
      if (%access9 == oui) { /mode $chan -oooo %nickk9 }
      if (%access10 == oui) { /mode $chan -oooo %nickk10 }
    }
    if (%access1 == oui) { /mode $chan -oooo $2 }
    if (%access2 == oui) { /mode $chan -oooo $2 }
    if (%access3 == oui) { /mode $chan -oooo $2 }
    if (%access4 == oui) { /mode $chan -oooo $2 }
    if (%access5 == oui) { /mode $chan -oooo $2 }
    if (%access6 == oui) { /mode $chan -oooo $2 }
    if (%access7 == oui) { /mode $chan -oooo $2 }
    if (%access8 == oui) { /mode $chan -oooo $2 }
    if (%access9 == oui) { /mode $chan -oooo $2 }
    if (%access10 == oui) { /mode $chan -oooo $2 }
  }
  if (!v isin $left($1-,2)) {
    if ($2 == $null) {
      if (%access1 == oui) { /mode $chan +vvvv %nickk1 }
      if (%access2 == oui) { /mode $chan +vvvv %nickk2 }
      if (%access3 == oui) { /mode $chan +vvvv %nickk3 }
      if (%access4 == oui) { /mode $chan +vvvv %nickk4 }
      if (%access5 == oui) { /mode $chan +vvvv %nickk5 }
      if (%access6 == oui) { /mode $chan +vvvv %nickk6 }
      if (%access7 == oui) { /mode $chan +vvvv %nickk7 }
      if (%access8 == oui) { /mode $chan +vvvv %nickk8 }
      if (%access9 == oui) { /mode $chan +vvvv %nickk9 }
      if (%access10 == oui) { /mode $chan +vvvv %nickk10 }
    }
    if (%access1 == oui) { /mode $chan +vvvv $2 }
    if (%access2 == oui) { /mode $chan +vvvv $2 }
    if (%access3 == oui) { /mode $chan +vvvv $2 }
    if (%access4 == oui) { /mode $chan +vvvv $2 }
    if (%access5 == oui) { /mode $chan +vvvv $2 }
    if (%access6 == oui) { /mode $chan +vvvv $2 }
    if (%access7 == oui) { /mode $chan +vvvv $2 }
    if (%access8 == oui) { /mode $chan +vvvv $2 }
    if (%access9 == oui) { /mode $chan +vvvv $2 }
    if (%access10 == oui) { /mode $chan +vvvv $2 }
  }
  if (!dv isin $left($1-,3)) {
    if ($2 == $null) {
      if (%access1 == oui) { /mode $chan -vvvv %nickk1 }
      if (%access2 == oui) { /mode $chan -vvvv %nickk2 }
      if (%access3 == oui) { /mode $chan -vvvv %nickk3 }
      if (%access4 == oui) { /mode $chan -vvvv %nickk4 }
      if (%access5 == oui) { /mode $chan -vvvv %nickk5 }
      if (%access6 == oui) { /mode $chan -vvvv %nickk6 }
      if (%access7 == oui) { /mode $chan -vvvv %nickk7 }
      if (%access8 == oui) { /mode $chan -vvvv %nickk8 }
      if (%access9 == oui) { /mode $chan -vvvv %nickk9 }
      if (%access10 == oui) { /mode $chan -vvvv %nickk10 }
    }
    if (%access1 == oui) { /mode $chan -vvvv $2 }
    if (%access2 == oui) { /mode $chan -vvvv $2 }
    if (%access3 == oui) { /mode $chan -vvvv $2 }
    if (%access4 == oui) { /mode $chan -vvvv $2 }
    if (%access5 == oui) { /mode $chan -vvvv $2 }
    if (%access6 == oui) { /mode $chan -vvvv $2 }
    if (%access7 == oui) { /mode $chan -vvvv $2 }
    if (%access8 == oui) { /mode $chan -vvvv $2 }
    if (%access9 == oui) { /mode $chan -vvvv $2 }
    if (%access10 == oui) { /mode $chan -vvvv $2 }
  }
  if (!b isin $left($1-,2)) {
    if (%access1 == oui) { /mode $chan +b $2 }
    if (%access2 == oui) { /mode $chan +b $2 }
    if (%access3 == oui) { /mode $chan +b $2 }
    if (%access4 == oui) { /mode $chan +b $2 }
    if (%access5 == oui) { /mode $chan +b $2 }
    if (%access6 == oui) { /mode $chan +b $2 }
    if (%access7 == oui) { /mode $chan +b $2 }
    if (%access8 == oui) { /mode $chan +b $2 }
    if (%access9 == oui) { /mode $chan +b $2 }
    if (%access10 == oui) { /mode $chan +b $2 }
  }
  if (!k isin $left($1-,2)) {
    if (%access1 == oui) { /kick $chan $2 }
    if (%access2 == oui) { /kick $chan $2 }
    if (%access3 == oui) { /kick $chan  $2 }
    if (%access4 == oui) { /kick $chan  $2 }
    if (%access5 == oui) { /kick $chan  $2 }
    if (%access6 == oui) { /kick $chan  $2 }
    if (%access7 == oui) { /kick $chan  $2 }
    if (%access8 == oui) { /kick $chan  $2 }
    if (%access9 == oui) { /kick $chan  $2 }
    if (%access10 == oui) { /kick $chan $2 }
  }
  if (!kb isin $left($1-,3)) {
    if (%access1 == oui) { /timer1 1 1 /kick $chan $2 | /timer2 1 1 /mode $chan +b $2 }
    if (%access2 == oui) { /timer1 1 1 /kick $chan $2 | /timer2 1 1 /mode $chan +b $2 }
    if (%access3 == oui) { /timer1 1 1 /kick $chan $2 | /timer2 1 1 /mode $chan +b $2 }
    if (%access4 == oui) { /timer1 1 1 /kick $chan $2 | /timer2 1 1 /mode $chan +b $2 }
    if (%access5 == oui) { /timer1 1 1 /kick $chan $2 | /timer2 1 1 /mode $chan +b $2 }
    if (%access6 == oui) { /timer1 1 1 /kick $chan $2 | /timer2 1 1 /mode $chan +b $2 }
    if (%access7 == oui) { /timer1 1 1 /kick $chan $2 | /timer2 1 1 /mode $chan +b $2 }
    if (%access8 == oui) { /timer1 1 1 /kick $chan $2 | /timer2 1 1 /mode $chan +b $2 }
    if (%access9 == oui) { /timer1 1 1 /kick $chan $2 | /timer2 1 1 /mode $chan +b $2 }
    if (%access10 == oui) { /timer1 1 1 /kick $chan $2 | /timer2 1 1 /mode $chan +b $2 }
  }
  if (!listeop isin $left($1-,8)) { /notice $nick la liste des commade est !o (pour te op) , !o "pseudo" , !do (pour te deop) , !do "pseudo" , !v (pour te voice) , !v "pseudo" , !dv (pour te devoice) , !dv "pseudo" , !k "speudo" pour kicker , !b "pseudo" pour ban , !kb "pseudo" pour kick ban }
}
}
#identifycation end

Conclusion :


au revoir !!! :)

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.