Stats perso "détaillées" :)

Contenu du snippet

Addon qui donne les stats persos (j'pense que vous aviez compris) :)

Source / Exemple :


menu menubar,status,channel {
  -
  Stats perso:/stats
}
alias stats { dialog -mdie statistique statistique }
dialog statistique {
  title "Voici tes statistiques personnelles"
  size -1 -1 480 443
  button "",1,1 1 1 1,ok,hide

  box "Serveur",20,5 0 230 60
  text "Serveur",2,10 20 50 15
  edit "",3,80 15 150 20,read
  text "Port",4,10 40 30 15
  edit "",5,80 35 150 20,read

  box "Personnel",21,5 60 230 160
  text "Nick",6,10 80 50 15
  edit "",7,80 75 150 20,read
  text "Adresse",8,10 100 50 15
  edit "",9,80 95 150 20,read
  text "e-mail",10,10 120 50 15
  edit "",11,80 115 150 20,read
  text "Nom",12,10 140 50 15
  edit "",13,80 135 150 20,read autohs
  text "ircmode",14,10 160 50 15
  edit "",15,80 155 150 20,read
  text "aWay",16,10 180 50 15
  edit "",17,80 175 150 20,read
  text "Idle",18,10 200 50 15
  edit "",19,80 195 150 20,read

  box "Système",22,5 220 230 60
  text "Systeme",23,10 240 50 15
  edit "",24,80 235 150 20,read
  text "on depuis:",25,10 260 100 15
  edit "",26,80 255 150 20,read

  box "Channel, Dcc, Msg",27,5 280 230 120
  text "Channels",28,10 300 50 15
  edit "",29,80 295 150 20,read
  text "Dccsend in",30,10 320 70 15
  edit "",31,80 315 150 20,read
  text "Dccsend out",32,10 340 80 15
  edit "",33,80 335 150 20,read
  text "Dcc chat",34,10 360 55 15
  edit "",35,80 355 150 20,read
  text "Msg",36,10 380 50 15
  edit "",37,80 375 150 20,read

  box "Dcc options",38,250 0 225 80
  text "Dcc chat",39,260 20 60 15
  edit "",40,320 15 150 20,read
  text "Dcc send",41,260 40 60 15
  edit "",42,320 35 150 20,read
  text "Dcc port",43,260 60 60 15
  edit "",44,320 55 150 20,read

  box "Autres",45,250 80 225 180
  text "user@host",46,260 100 60 15
  edit "",47,320 95 150 20,read
  text "ip",48,260 120 30 15
  edit "",49,320 115 150 20,read
  text "Highlight",50,260 140 50 15
  edit "",51,320 135 150 20,read
  text "ignore",52,260 160 50 15
  edit "",53,320 155 150 20,read
  text "auto-op",54,260 180 50 15
  edit "",55,320 175 150 20,read
  text "Protect",56,260 200 50 15
  edit "",57,320 195 150 20,read
  text "ial",58,260 220 50 15
  edit "",59,320 215 150 20,read
  text "Fast send",60,260 240 50 15
  edit "",61,320 235 150 20,read

  box "Répertoires du Script",62,250 260 225 140
  text "Script",63,260 280 50 15
  edit "",64,320 275 150 20,read
  text "Wave",65,260 300 50 15
  edit "",66,320 295 150 20,read
  text "Midi",67,260 320 50 15
  edit "",68,320 315 150 20,read
  text "Download",69,260 340 60 15
  edit "",70,320 335 150 20,read
  text "Logs",71,260 360 50 15
  edit "",72,320 355 150 20,read
  text "Prog",73,260 380 50 15
  edit "",74,320 375 150 20,read
  button "V       A       L       I       D       E       R", 75, 7 404 465 35,ok
}

on *:dialog:statistique:init:0: { 
  if ($server == $null) { did -ra statistique 3 Pas Connecté(e) ! } | else { did -ra statistique 3 $server }
  did -ra statistique 5 $port
  did -ra statistique 7 $me
  if ($server == $null) { did -ra statistique 9 Pas Connecté(e) !  } | else { did -ra statistique 9 $address($me,1) }
  did -ra statistique 11 $email
  did -ra statistique 13 $readini mirc.ini mirc user
  if ($server == $null) { did -ra statistique 15 Pas Connecté(e) !  } | else { did -ra statistique 15 Tes modes sont : $usermode }
  if ($away == $true) { did -ra statistique 17 Tu es away! } | else { did -ra statistique 17 Tu n'es pas away! }
  if ($server == $null) { did -ra statistique 19 Pas Connecté(e) !  } | else { did -ra statistique 19 Ton idle est de $idle SeCS }
  did -ra statistique 24 Windows $+ $os
  did -ra statistique 26 $DURATION($CALC($TICKS / 1000))
  did -ra statistique 29 Tu es sur $chan(0) Salons !
  did -ra statistique 31 Tu Recois $get(0) fichier(s) !
  did -ra statistique 33 Tu envois $send(0) fichier(s) !
  did -ra statistique 35 Tu as $chat(0) dcc chat !
  did -ra statistique 37 Tu as $query(0) pv(s) ouvert !
  if ($creq == ask) { did -ra statistique 40 Dialog request }
  if ($creq == auto) { did -ra statistique 40 auto-accept }
  if ($creq == ignore) { did -ra statistique 40 ignore tout les dcc chats }
  if ($sreq == ask) { did -ra statistique 42 Dialog request }
  if ($sreq == auto) { did -ra statistique 42 auto-accept (Dangereux) }
  if ($sreq == ignore) { did -ra statistique 42 ignore tout les dcc sends }
  did -ra statistique 44 $dccport
  if ($server == $null) { did -ra statistique 47 Pas Connecté(e) ! } | else { did -ra statistique 47 $address($me,3) }
  if ($server == $null) { did -ra statistique 49 Pas Connecté(e) ! } | else { did -ra statistique 49 $ip }
  if ($highlight == $true) { did -ra statistique 51 on } | else { did -ra statistique 51 off }
  if ($ignore == $true) { did -ra statistique 53 on } | else { did -ra statistique 53 off }
  if ($auto == $true) { did -ra statistique 55 on } | else { did -ra statistique 55 off }
  if ($protect == $true) { did -ra statistique 57 on } | else { did -ra statistique 57 off }
  if ($ial == $true) { did -ra statistique 59 on } | else { did -ra statistique 59 off }
  did -ra statistique 61 on
  did -ra statistique 64 $mircdir
  did -ra statistique 66 $wavedir
  did -ra statistique 68 $mididir
  did -ra statistique 70 $getdir
  did -ra statistique 72 $logdir
  did -ra statistique 74 $mircexe
}

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.