begin process at 2010 02 09 20:07:26
  Trouver un code source :
 
dans
 
Accueil > 

Code

 > 

AddOns

 > DES EFFETS D'OUVERTURE DE DIALOG

DES EFFETS D'OUVERTURE DE DIALOG


 Information sur la source

Note :
6 / 10 - par 2 personnes
6,00 / 10

  • 1

  • 2

  • 3

  • 4

  • 5

  • 6

  • 7

  • 8

  • 9

  • 10
Catégorie :AddOns Classé sous :effet, ouverture, dialog Niveau :Débutant Date de création :22/07/2005 Date de mise à jour :24/07/2005 19:10:03 Vu :1 972

Auteur : IceTempest

Ecrire un message privé
Commentaire sur cette source (7)
Ajouter un commentaire et/ou une note

 Description

Bon, et ben toujours le même système : Alt+R et c/c dans vos remotes.

Pour l'utiliser :
Alias <nom de l'alias> { opendl [a-k] x y w h }
Exemple :
Alias Style { opendl i 300 200 120 75 }

Source

  • ;utilisation : alias <nom de l'alias> { opendl <a,k> x y w h }
  • alias opendlr { opendl $rand(a,k) $$1 $$2 $$3 $$4 $$5 }
  • alias opendl {
  • if $$1- != $null {
  • if $$1 = a {
  • dialog -m $$2 $$2
  • set %temp.d $$2
  • set %temp.d.w 0 | set %temp.d.wd $$5 | set %temp.d.h $$6 | set %temp.d.x $calc($$3 + ($$5 / 2)) | set %temp.d.y $$4
  • dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  • .timeropendlw $calc(%temp.d.wd / 3) 0.001 opendl.w
  • }
  • if $$1 = nav {
  • dialog -md $$2 $$2
  • set %temp.d $$2
  • set %temp.d.h 0 | set %temp.d.w $$5 | set %temp.d.hd $$6 | set %temp.d.wd $$5 | set %temp.d.x $$3 | set %temp.d.y $$4
  • dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  • opendl.t
  • }
  • if $$1 = b {
  • dialog -m $$2 $$2
  • set %temp.d $$2
  • set %temp.d.h 0 | set %temp.d.w $$5 | set %temp.d.hd $$6 | set %temp.d.x $$3 | set %temp.d.y $calc($$4 + ($$6 / 2))
  • dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  • .timeropendlh $calc(%temp.d.hd / 3) 0.001 opendl.h
  • }
  • if $$1 = c {
  • dialog -m $$2 $$2
  • set %temp.d $$2
  • set %temp.d.h 0 | set %temp.d.w 0 | set %temp.d.hd $$6 | set %temp.d.wd $$5 | set %temp.d.x $calc($$3 + ($$5 / 2)) | set %temp.d.y $calc($$4 + ($$6 / 2))
  • dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  • .timeropendlwh $calc(%temp.d.hd / 3) 0.001 opendl.wh
  • }
  • if $$1 = d {
  • dialog -m $$2 $$2
  • set %temp.d $$2
  • set %temp.d.h 0 | set %temp.d.w 0 | set %temp.d.hd $$6 | set %temp.d.wd $$5 | set %temp.d.x $calc($$3 + ($$5 / 2)) | set %temp.d.y $calc($$4 + ($$6 / 2))
  • dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  • opendl.w
  • opendl.h
  • }
  • if $$1 = e {
  • dialog -m $$2 $$2
  • set %temp.d $$2
  • set %temp.d.h 0 | set %temp.d.w 0 | set %temp.d.hd $$6 | set %temp.d.wd $$5 | set %temp.d.x $calc($$3 + ($$5 / 2)) | set %temp.d.y $calc($$4 + ($$6 / 2))
  • dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  • opendl.h
  • opendl.w
  • }
  • if $$1 = f {
  • dialog -m $$2 $$2
  • set %temp.d $$2
  • set %temp.d.h $$6 | set %temp.d.w 0 | set %temp.d.hd $$6 | set %temp.d.wd $$5 | set %temp.d.x $calc($$3 + ($$5 / 2)) | set %temp.d.y $calc($$4 + ($$6 / 2))
  • dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  • opendl.mvr
  • }
  • if $$1 = g {
  • dialog -m $$2 $$2
  • set %temp.d $$2
  • set %temp.d.h 0 | set %temp.d.w $$5 | set %temp.d.hd $$6 | set %temp.d.wd $$5 | set %temp.d.x $$3 | set %temp.d.y $calc($$4 + $$6)
  • dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  • opendl.b
  • }
  • if $$1 = h {
  • dialog -m $$2 $$2
  • set %temp.d $$2
  • set %temp.d.h 0 | set %temp.d.w $$5 | set %temp.d.hd $$6 | set %temp.d.wd $$5 | set %temp.d.x $$3 | set %temp.d.y $$4
  • dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  • opendl.t
  • }
  • if $$1 = i {
  • dialog -m $$2 $$2
  • set %temp.d $$2
  • set %temp.d.h $$6 | set %temp.d.w 0 | set %temp.d.hd $$6 | set %temp.d.wd $$5 | set %temp.d.x $calc($$3 + $$5) | set %temp.d.y $$4
  • dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  • opendl.l
  • }
  • if $$1 = j {
  • dialog -m $$2 $$2
  • set %temp.d $$2
  • set %temp.d.h $$6 | set %temp.d.w 0 | set %temp.d.hd $$6 | set %temp.d.wd $$5 | set %temp.d.x $$3 | set %temp.d.y $$4
  • dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  • opendl.r
  • }
  • if $$1 = log {
  • dialog -md $$2 $$2
  • set %temp.d $$2
  • set %temp.d.h 0 | set %temp.d.w 0 | set %temp.d.hd $$6 | set %temp.d.wd $$5 | set %temp.d.x $calc($$3 + ($$5 / 2)) | set %temp.d.y $calc($$4 + ($$6 / 2))
  • dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  • opendl.h
  • opendl.w
  • }
  • if $$1 = mmp {
  • dialog -md $$2 $$2
  • set %temp.d $$2
  • set %temp.d.h $$6 | set %temp.d.w 0 | set %temp.d.hd $$6 | set %temp.d.wd $$5 | set %temp.d.x $$3 | set %temp.d.y $$4
  • dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  • opendl.r
  • }
  • if $$1 = k {
  • dialog -m $$2 $$2
  • set %temp.d $$2 | set %temp.d.r1 $rand(1,4) | set %temp.d.r2 $rand(1,2)
  • set %temp.d.h 0 | set %temp.d.w 0 | set %temp.d.hd $$6 | set %temp.d.wd $$5 | set %temp.d.x $$3 | set %temp.d.y $$4
  • dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  • if %temp.d.r1 = 1 {
  • if %temp.d.r2 = 1 { opendl.r | opendl.t }
  • if %temp.d.r2 = 2 { set %temp.d.y $calc(%temp.d.y + %temp.d.hd) | opendl.r | opendl.b }
  • }
  • if %temp.d.r1 = 2 {
  • if %temp.d.r2 = 1 { set %temp.d.x $calc(%temp.d.x + %temp.d.wd) | opendl.l | opendl.t }
  • if %temp.d.r2 = 2 { set %temp.d.x $calc(%temp.d.x + %temp.d.wd) | set %temp.d.y $calc(%temp.d.y + %temp.d.hd) | opendl.l | opendl.b }
  • }
  • if %temp.d.r1 = 3 {
  • if %temp.d.r2 = 1 { set %temp.d.x $calc(%temp.d.x + %temp.d.wd) | opendl.t | opendl.l }
  • if %temp.d.r2 = 2 { opendl.t | opendl.r }
  • }
  • if %temp.d.r1 = 4 {
  • if %temp.d.r2 = 1 { set %temp.d.y $calc(%temp.d.y + %temp.d.hd) | set %temp.d.x $calc(%temp.d.x + %temp.d.wd) | opendl.b | opendl.l }
  • if %temp.d.r2 = 2 { set %temp.d.y $calc(%temp.d.y + %temp.d.hd) | opendl.b | opendl.r }
  • }
  • }
  • }
  • }
  • alias opendl.w {
  • :start
  • inc %temp.d.w 2 | dec %temp.d.x 1
  • dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  • if %temp.d.w < %temp.d.wd { goto start } | else { goto end }
  • :end
  • .timeropendlw off
  • }
  • alias opendl.h {
  • :start
  • inc %temp.d.h 2 | dec %temp.d.y 1
  • dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  • if %temp.d.h < %temp.d.hd { goto start } | else { goto end }
  • :end
  • .timeropendlh off
  • }
  • alias opendl.wh {
  • :start
  • inc %temp.d.h 2 | inc %temp.d.w 2 | dec %temp.d.x 1 | dec %temp.d.y 1
  • dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  • if %temp.d.h < %temp.d.hd && %temp.d.w => %temp.d.wd { dec %temp.d.w 2 }
  • if %temp.d.h >= %temp.d.hd && %temp.d.w < %temp.d.wd { dec %temp.d.h 2 }
  • if %temp.d.h < %temp.d.hd || %temp.d.w < %temp.d.wd { goto start } | else { goto end }
  • :end
  • .timeropendlwh off
  • }
  • alias opendl.mvr {
  • set %temp.d.xd $calc(%temp.d.x - (%temp.d.x / 2))
  • set %temp.d.y $calc(%temp.d.y - (%temp.d.y / 2))
  • :start
  • inc %temp.d.w 1 | dec %temp.d.x 1
  • dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  • if %temp.d.w < %temp.d.wd { goto start } | else { goto end }
  • :end
  • :start2
  • inc %temp.d.x 1
  • dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  • if %temp.d.x < %temp.d.xd { goto start2 } | else { goto end2 }
  • :end2
  • }
  • alias opendl.b {
  • set %temp.d.yd $calc(%temp.d.y - %temp.d.hd)
  • :start
  • inc %temp.d.h 1 | dec %temp.d.y 1
  • dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  • if %temp.d.y > %temp.d.yd { goto start } | else { goto end }
  • :end
  • }
  • alias opendl.t {
  • :start
  • inc %temp.d.h 1
  • dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  • if %temp.d.h < %temp.d.hd { goto start } | else { goto end }
  • :end
  • }
  • alias opendl.l {
  • :start
  • inc %temp.d.w 1 | dec %temp.d.x 1
  • dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  • if %temp.d.w < %temp.d.wd { goto start } | else { goto end }
  • :end
  • }
  • alias opendl.r {
  • :start
  • inc %temp.d.w 1
  • dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  • if %temp.d.w < %temp.d.wd { goto start } | else { goto end }
  • :end
;utilisation : alias <nom de l'alias> { opendl <a,k> x y w h }
alias opendlr { opendl $rand(a,k) $$1 $$2 $$3 $$4 $$5 }
alias opendl {
  if $$1- != $null {
    if $$1 = a {
      dialog -m $$2 $$2
      set %temp.d $$2
      set %temp.d.w 0 | set %temp.d.wd $$5 | set %temp.d.h $$6 | set %temp.d.x $calc($$3 + ($$5 / 2)) | set %temp.d.y $$4
      dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
      .timeropendlw $calc(%temp.d.wd / 3) 0.001 opendl.w
    }
    if $$1 = nav {
      dialog -md $$2 $$2
      set %temp.d $$2
      set %temp.d.h 0 | set %temp.d.w $$5 | set %temp.d.hd $$6 | set %temp.d.wd $$5 | set %temp.d.x $$3 | set %temp.d.y $$4
      dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
      opendl.t
    }
    if $$1 = b {
      dialog -m $$2 $$2
      set %temp.d $$2
      set %temp.d.h 0 | set %temp.d.w $$5 | set %temp.d.hd $$6 | set %temp.d.x $$3 | set %temp.d.y $calc($$4 + ($$6 / 2))
      dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
      .timeropendlh $calc(%temp.d.hd / 3) 0.001 opendl.h
    }
    if $$1 = c {
      dialog -m $$2 $$2
      set %temp.d $$2
      set %temp.d.h 0 | set %temp.d.w 0 | set %temp.d.hd $$6 | set %temp.d.wd $$5 | set %temp.d.x $calc($$3 + ($$5 / 2)) | set %temp.d.y $calc($$4 + ($$6 / 2))
      dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
      .timeropendlwh $calc(%temp.d.hd / 3) 0.001 opendl.wh
    }
    if $$1 = d {
      dialog -m $$2 $$2
      set %temp.d $$2
      set %temp.d.h 0 | set %temp.d.w 0 | set %temp.d.hd $$6 | set %temp.d.wd $$5 | set %temp.d.x $calc($$3 + ($$5 / 2)) | set %temp.d.y $calc($$4 + ($$6 / 2))
      dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
      opendl.w
      opendl.h
    }
    if $$1 = e {
      dialog -m $$2 $$2
      set %temp.d $$2
      set %temp.d.h 0 | set %temp.d.w 0 | set %temp.d.hd $$6 | set %temp.d.wd $$5 | set %temp.d.x $calc($$3 + ($$5 / 2)) | set %temp.d.y $calc($$4 + ($$6 / 2))
      dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
      opendl.h
      opendl.w
    }
    if $$1 = f {
      dialog -m $$2 $$2
      set %temp.d $$2
      set %temp.d.h $$6 | set %temp.d.w 0 | set %temp.d.hd $$6 | set %temp.d.wd $$5 | set %temp.d.x $calc($$3 + ($$5 / 2)) | set %temp.d.y $calc($$4 + ($$6 / 2))
      dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
      opendl.mvr
    }
    if $$1 = g {
      dialog -m $$2 $$2
      set %temp.d $$2
      set %temp.d.h 0 | set %temp.d.w $$5 | set %temp.d.hd $$6 | set %temp.d.wd $$5 | set %temp.d.x $$3 | set %temp.d.y $calc($$4 + $$6)
      dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
      opendl.b
    }
    if $$1 = h {
      dialog -m $$2 $$2
      set %temp.d $$2
      set %temp.d.h 0 | set %temp.d.w $$5 | set %temp.d.hd $$6 | set %temp.d.wd $$5 | set %temp.d.x $$3 | set %temp.d.y $$4
      dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
      opendl.t
    }
    if $$1 = i {
      dialog -m $$2 $$2
      set %temp.d $$2
      set %temp.d.h $$6 | set %temp.d.w 0 | set %temp.d.hd $$6 | set %temp.d.wd $$5 | set %temp.d.x $calc($$3 + $$5) | set %temp.d.y $$4
      dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
      opendl.l
    }
    if $$1 = j {
      dialog -m $$2 $$2
      set %temp.d $$2
      set %temp.d.h $$6 | set %temp.d.w 0 | set %temp.d.hd $$6 | set %temp.d.wd $$5 | set %temp.d.x $$3 | set %temp.d.y $$4
      dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
      opendl.r
    }
    if $$1 = log {
      dialog -md $$2 $$2
      set %temp.d $$2
      set %temp.d.h 0 | set %temp.d.w 0 | set %temp.d.hd $$6 | set %temp.d.wd $$5 | set %temp.d.x $calc($$3 + ($$5 / 2)) | set %temp.d.y $calc($$4 + ($$6 / 2))
      dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
      opendl.h
      opendl.w
    }
    if $$1 = mmp {
      dialog -md $$2 $$2
      set %temp.d $$2
      set %temp.d.h $$6 | set %temp.d.w 0 | set %temp.d.hd $$6 | set %temp.d.wd $$5 | set %temp.d.x $$3 | set %temp.d.y $$4
      dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
      opendl.r
    }
    if $$1 = k {
      dialog -m $$2 $$2
      set %temp.d $$2 | set %temp.d.r1 $rand(1,4) | set %temp.d.r2 $rand(1,2)
      set %temp.d.h 0 | set %temp.d.w 0 | set %temp.d.hd $$6 | set %temp.d.wd $$5 | set %temp.d.x $$3 | set %temp.d.y $$4
      dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
      if %temp.d.r1 = 1 {
        if %temp.d.r2 = 1 { opendl.r | opendl.t }
        if %temp.d.r2 = 2 { set %temp.d.y $calc(%temp.d.y + %temp.d.hd) | opendl.r | opendl.b }
      }
      if %temp.d.r1 = 2 {
        if %temp.d.r2 = 1 { set %temp.d.x $calc(%temp.d.x + %temp.d.wd) | opendl.l | opendl.t }
        if %temp.d.r2 = 2 { set %temp.d.x $calc(%temp.d.x + %temp.d.wd) | set %temp.d.y $calc(%temp.d.y + %temp.d.hd) | opendl.l | opendl.b }
      }
      if %temp.d.r1 = 3 {
        if %temp.d.r2 = 1 { set %temp.d.x $calc(%temp.d.x + %temp.d.wd) | opendl.t | opendl.l }
        if %temp.d.r2 = 2 { opendl.t | opendl.r }
      }
      if %temp.d.r1 = 4 {
        if %temp.d.r2 = 1 { set %temp.d.y $calc(%temp.d.y + %temp.d.hd) | set %temp.d.x $calc(%temp.d.x + %temp.d.wd) | opendl.b | opendl.l }
        if %temp.d.r2 = 2 { set %temp.d.y $calc(%temp.d.y + %temp.d.hd) | opendl.b | opendl.r }
      }
    }
  }
}
alias opendl.w {
  :start
  inc %temp.d.w 2 | dec %temp.d.x 1
  dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  if %temp.d.w < %temp.d.wd { goto start } | else { goto end }
  :end
  .timeropendlw off
}
alias opendl.h {
  :start
  inc %temp.d.h 2 | dec %temp.d.y 1
  dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  if %temp.d.h < %temp.d.hd { goto start } | else { goto end }
  :end
  .timeropendlh off
}
alias opendl.wh {
  :start
  inc %temp.d.h 2 | inc %temp.d.w 2 | dec %temp.d.x 1 | dec %temp.d.y 1
  dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  if %temp.d.h < %temp.d.hd && %temp.d.w => %temp.d.wd { dec %temp.d.w 2 }
  if %temp.d.h >= %temp.d.hd && %temp.d.w < %temp.d.wd { dec %temp.d.h 2 }
  if %temp.d.h < %temp.d.hd || %temp.d.w < %temp.d.wd { goto start } | else { goto end }
  :end
  .timeropendlwh off
}
alias opendl.mvr {
  set %temp.d.xd $calc(%temp.d.x - (%temp.d.x / 2))
  set %temp.d.y $calc(%temp.d.y - (%temp.d.y / 2))
  :start
  inc %temp.d.w 1 | dec %temp.d.x 1
  dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  if %temp.d.w < %temp.d.wd { goto start } | else { goto end }
  :end
  :start2
  inc %temp.d.x 1
  dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  if %temp.d.x < %temp.d.xd { goto start2 } | else { goto end2 }
  :end2
}
alias opendl.b {
  set %temp.d.yd $calc(%temp.d.y - %temp.d.hd)
  :start
  inc %temp.d.h 1 | dec %temp.d.y 1
  dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  if %temp.d.y > %temp.d.yd { goto start } | else { goto end }
  :end
}
alias opendl.t {
  :start
  inc %temp.d.h 1
  dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  if %temp.d.h < %temp.d.hd { goto start } | else { goto end }
  :end
}
alias opendl.l {
  :start
  inc %temp.d.w 1 | dec %temp.d.x 1
  dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  if %temp.d.w < %temp.d.wd { goto start } | else { goto end }
  :end
}
alias opendl.r {
  :start
  inc %temp.d.w 1
  dialog -s %temp.d %temp.d.x %temp.d.y %temp.d.w %temp.d.h
  if %temp.d.w < %temp.d.wd { goto start } | else { goto end }
  :end



 Historique

24 juillet 2005 19:10:03 :
Erreur de signe et meilleure explication avec un exemple

 Sources du même auteur

Source avec une capture "RESIZE" SANS DLL
LECTEUR MP3, WAV ET WMA
MENU DE CONNECTION
AUTO VOICE ET AUTO MESSAGE À LA CONNECTION
POST-IT

 Sources de la même categorie

BLACKLIST PSEUDOS/MASKS par usurpateur
Source avec une capture [XCHAT] ANTI KICK / AWAY C++ par GeroXXXX
JEU DU CODE par alanpersonproject
SERVEUR FTP par hisoka2501
BANNIR LES AGES, LES HOMMES, LES FEMMES ET PSEUDO AVEC CHIFF... par cougar_du_havre

 Sources en rapport avec celle ci

Source avec Zip Source avec une capture [DLL] DESSINER COMME LES PICWINS SUR UNE DIALOGBOX (BONUS: J... par uaip
CONNEXION DES SERVEURS PROPOSÉE ET PERSONNALISÉ par XaDaZ
Source avec Zip Source avec une capture GEOTOOLS : GESTION D'UN UWORLD par PaDa
SELPOS - SELECTION ET POSITION ! par wims
Source avec une capture TELNET DANS UN DIALOG par monsieur_canard

Commentaires et avis

Commentaire de sebmafate le 22/07/2005 12:14:03 administrateur CS

déjà que le langage n'est pas forcément facile à lire... mais sans aucune explication... c'est encore plus diffice !!!
Une question bête : "A quoi ça sert de publier une source sans la commenter ?"

Commentaire de S333 le 22/07/2005 13:49:16

Alors, j'ai mis aussi un peu de temps à comprendre... ne serais-ce que: Comment faire marcher ce truc :)

L'utilisation est la suivante en réalité...

/opendlr nomdudialog x y w h
x y w h sont ceux précisé dans le size du dialog.

Il fait ensuite un effet au hasard. Chaque effet est une lettre de [a-k].
J'ai testé, et je trouve ce code sympa :)
Les effets sont biens, avec un bon timing sur mon PC. Cependant j'ai trouvé des bugs :D Hé oui ça va vite !

Tout d'abord, ta source est pas très belle..., pas expliquée ne serais-ce que pour l'utilisation !
Essaie ton code avec l'effet C et un h de valeur impair(ex: 433)

Tu remarqueras que ton dialog sera trop grand, en hauteur. J'ai corrigé ton code très simplement, juste une erreur de signe:

dans  "alias opendl.wh"
remplace la ligne :
if %temp.d.h => %temp.d.hd && %temp.d.w < %temp.d.wd { dec %temp.d.h 2 }
par :
if %temp.d.h >= %temp.d.hd && %temp.d.w < %temp.d.wd { dec %temp.d.h 2 }

Il n'y a que le signe => qui devient >= sinon, l'évaluation se fait juste sur le égal et sur un nombre impair, on aura jamais de égal en ajoutant 2 :)

Voilà

Commentaire de PaDa le 22/07/2005 15:12:06

beurk les goto
beurk les vars globales
mets une option pour régler la vitesse de l'effet, selon les pc ca va pas du tout faire la même chose sinon ;)
au besoin regarde les snippets de nazario sur tismania, qui doivent etre du même genre
bonne continuation

Commentaire de IceTempest le 24/07/2005 19:01:15

Désolé, j'ai oublier de mettre les explications, je vais le faire.

Commentaire de cr4kill le 02/08/2005 16:12:07

c chaud à comprendre la..

Commentaire de SaD_AnG3L le 07/04/2006 19:04:02

j'arrive pas a le faire fonctionner.. :/

Commentaire de hisoka2501 le 24/11/2006 15:37:49

ARGGGGGGGGGGGGGGGGGGGGGGGGGgggggggggggggggg

une boucle ne se fais JAMMAIS avec un goto
TOUJOURS avec un while en mirc scirpt (pour d'autres language il y a le for et le do en plus)

idem les | qui rendes illisible et qui ralentisse le code
les () des if manquantes (ca marche quand meme mais c'est pas du tout recomendé cf: /help)

 Ajouter un commentaire


Discussions en rapport avec ce code source dans le forum

Text dialog [ par koko ] J'aimerais savoir comment mettre dans un text d'un dialog un texte ou une variable... mercihttp://www.forumscvh.be.tf-]CVH[-@|_p]-[@ j'ai un blem avec un dialog [ par Djo21 ] Bonjour tout le monde.Alors voila mon problem, j'ai fait une fenetre dialog pour un systeme d'auto join mais quand "j'appelle" ma fenetre, pour qu'ell Prog Dialog DL [ par TroXsA ] Salut allvous savez ou je peut trouver des progs pour faire des dialog en francais, si sa existe biensur :pj'ai le prog Dialog Studio il est bien je d Dialog prog ! [ par TroXsA ] Salut allvous savez ou je peut trouver des progs pour faire des dialog en francais, si sa existe biensur :pj'ai le prog Dialog Studio il est bien je d Tuto ?? Dialog VF !!! [ par TroXsA ] Qui connais un site mortelement bien expliquer pour faire des dialog et les actions sur un check, bouton, radio ext ....Google G trouver mais pas en f Dialog Fonction check ? help [ par TroXsA ] salut allvoila G besoin d'un ti coup de main pour faire un bout de script je vous laisse looker le script et j'esplique plus bas---------------------- Help problème Dialog !!!! [ par Ziboo ] Voilà je joue a counter strike et je fais des train et il faut a chaque fois que je donne l'IP de notre server avec le pass.Bon voilà mon scriptServeu /DID avec $nick comment faire ? [ par TroXsA ] salut all :pj'ai besoin d'un coup de main sur un dialogsa fait deux jour que je me tire les cheveux, oui il m'en reste pas beaucoup ;)bon mon probleme Rafraichir un dialog [ par Ziboo ] Voilà je fais mon lecteur MP3G un bouton CHOISIR pour demander ou est le MP:button "Choisir", 6, 185 3 37 12if ( $did == 6 ) { /set %chemin $sfile(C: Dialog mIRC [ par wbr ] Bonjour, je voudrais savoir comment faire pour sauvegarder les valeurs de ce dialog dans des variables et comment cocher des options par défaut pour c


Nos sponsors


Sondage...

Comparez les prix

CalendriCode

Février 2010
LMMJVSD
1234567
891011121314
15161718192021
22232425262728

Consulter la suite du CalendriCode

 
Développement réalisé par Nicolas SOREL (Nix) avec l'aide de : Cyril DURAND et Emmanuel (EBArtSoft), Merci à Vincent pour ses précieux conseils.
CodeS-SourceS.com© Toute reproduction même partielle est interdite sauf accord écrit du Webmaster
CodeS-SourceS.com© est une marque déposée tous droits réservés

Google Coop CodeS-SourceS Google Coop CodeS-SourceS
Temps d'éxécution de la page : 1,201 sec (4)

Nous contacter | Annoncer sur CodeS-SourceS | Mentions légales