Jump to content

Archived

This topic is now archived and is closed to further replies.

coders-irc_Bot

Quelques addons pour ircoderz

Recommended Posts

  • Administrators
;Enregsitrer votre nick

dialog RegNick {
  title "Register nick"
  size -1 -1 137 59
  option dbu
  text "Quel nick (pas prit):", 1, 3 6 53 9
  edit "", 2, 56 5 64 10
  text "e-mail valide:", 3, 3 18 54 8
  edit "", 4, 57 16 62 10
  button "Envoyer", 5, 11 32 37 12
  button "annuler", 6, 68 32 37 12, Cancel
}
on *:dialog:RegNick:sclick:5:{
  z register $did(2) $did(4) $did(4)
}

;vous loguez

dialog Login {
  title "Vous loguez"
  size -1 -1 137 59
  option dbu
  text "Votre username:", 1, 5 5 58 8
  text "Votre pass:", 2, 5 15 58 8
  edit "", 3, 63 4 56 10
  edit "", 4, 63 14 56 10
  button "OK", 5, 9 32 37 12, Ok
  button "Annuler", 6, 74 32 37 12, cancel
}

On *:dialog:Logue:sclick:5{
z login $did(3) $did(4)
}

;Changer de mot de passe 

dialog Set-Pass {
  title "Set-Pass"
  size -1 -1 124 37
  option dbu
  text "Votre nouveau pass", 1, 4 6 56 8
  edit "", 2, 60 5 61 10
  button "Ok", 3, 7 19 37 12, OK
  button "Annuler", 4, 72 18 37 12, cancel
}

on *:dialog:Set-Pass:sclick:3{
z set pass $did(2)
}

;Envoyer des des memos

dialog memos {
  title "Envoyer un memos"
  size -1 -1 154 93
  option dbu
  text "Destinataire du memos :", 1, 5 3 59 8
  edit "", 2, 66 2 82 9
  text "Message :", 3, 45 17 60 8, center
  edit "", 4, 10 28 129 38, multi
  button "Envoyer", 5, 10 74 37 12, ok
  button "Annuler", 6, 80 74 37 12, cancel
}

on *:dialog:memos:sclick:5:{
  z memos send $did(2) $did(4)
}

;reprendre votre username a quelqu'un qui vous l'a prit

dialog Recover {
  title "Recover"
  size -1 -1 129 70
  option dbu
  text "recover sert a reprendre votre username a quelqu'un", 1, 2 2 75 16
  text "Votre username :", 2, 4 24 46 8
  edit "", 3, 51 23 72 9
  text "Votre pass", 4, 4 35 46 8
  edit "", 5, 52 34 71 9
  button "Recover", 6, 5 50 37 12, ok
  button "Annuler", 7, 66 50 37 12, cancel
}

on *:dialog:recover:sclick:5:{
z recover $did(3) $did(5)
}

;enregistrer votre salon

dialog regchan {
  title "regchan"
  size -1 -1 129 69
  option dbu
  text "Créez votre Salon !!!", 1, 29 4 51 8, nowrap
  text "Nom du salon :", 2, 2 17 41 8
  edit "", 3, 45 16 78 9
  text "Description", 4, 2 27 42 8
  edit "", 5, 45 26 78 35, multi
  button "Créez", 6, 4 37 37 12
  button "Annuler", 7, 4 50 37 12
}

on *:dialog:regchan:sclick:6:{
z regchan $did(3) $did(5)
}

menu menubar,channel {
Commandes CoderZ
.enregsitrer votre nick:dialog -m Regnick Regnick
.Loguez vous:dialog -m login login
.Changer votre pass:dialog -m Set-Pass Set-Pass
.Envoyer un memos:dialog -m memos memos 
.Reprendre votre username (si il est prit):dialog -m recover recover
.Enregistrer votre salon:dialog -m regchan regchan
}

 

Link to comment
Share on other sites



×
×
  • Create New...