begin process at 2012 02 10 19:39:16
  Trouver un code source :
 
dans
 
Accueil > 

Code

 > 

AddOns

 > PANNEAU DE CONFIGURATION EN PICWIN

PANNEAU DE CONFIGURATION EN PICWIN


 Information sur la source

Note :
Aucune note
Catégorie :AddOns Niveau :Débutant Date de création :09/11/2003 Vu / téléchargé :2 787 / 186

Auteur : abdoulax

Ecrire un message privé
Site perso
Ce membre participe au partage de revenus publicitaires
Commentaire sur cette source (3)
Ajouter un commentaire et/ou une note


 Description

Ce script vous permet de faire un panneau de configuration en associant des image à une commande ( et description ) .
La parti disign n'est poa encore au point , je compte l'ameliorer ...

Je vs conseille de prendre le .zip car sinon vs allez jms arriver à faire marcher le script à moins que vs le lisiez entierement ( lol , bon courage ) .

Dans le zip allé ds le repertoir setting\ et ouvrer le fichier config :
à chaque ligne son image associé a sa commande et description :

image.jpg echo test : test du script

si vs mettez un commantaire vs devez séparer la commande et le commantaire par ":" . Sinon de poa mettre les ":" au risq de faire bugger le script .

pour les images la couleur regb est : $rgb(255,0,255)
petit conseille pour éviter les bug : pour creer de nouvel image prenner la mem taille que cel donné en exemple ( perso j'ouvre cel déjà fé et je la modifi ) .

Source

  • ;/!\ prenner le zip /!\
  • ;#########################
  • ;#########################
  • ;### ###
  • ;### configuration ###
  • ;### ###
  • ;#########################
  • ;### ###
  • ;### by aBd0ulaX ###
  • ;### ###
  • ;#########################
  • ;#########################
  • alias configuration {
  • window -dapBkzC +dL @config 1 1 450 300
  • set %confread 0
  • configuration1
  • }
  • alias configuration1 {
  • drawrect -f @config 1 1 0 0 450 300
  • if ( $read(setting\config, $calc(15+ %confread)) ) { drawpic -t @config $rgb(255,0,255) 0 0 -340 -210 420 280 $read(setting\config,$calc(15+ %confread)) }
  • if ( $read(setting\config, $calc(14+ %confread)) ) { drawpic -t @config $rgb(255,0,255) 0 0 -260 -210 340 280 $read(setting\config,$calc(14+ %confread)) }
  • if ( $read(setting\config, $calc(13+ %confread)) ) { drawpic -t @config $rgb(255,0,255) 0 0 -180 -210 260 280 $read(setting\config,$calc(13+ %confread)) }
  • if ( $read(setting\config, $calc(12+ %confread)) ) { drawpic -t @config $rgb(255,0,255) 0 0 -100 -210 180 280 $read(setting\config,$calc(12+ %confread)) }
  • if ( $read(setting\config, $calc(11+ %confread)) ) { drawpic -t @config $rgb(255,0,255) 0 0 -20 -210 100 280 $read(setting\config,$calc(11+ %confread)) }
  • if ( $read(setting\config, $calc(10+ %confread)) ) { drawpic -t @config $rgb(255,0,255) 0 0 -340 -125 420 195 $read(setting\config,$calc(10+ %confread)) }
  • if ( $read(setting\config, $calc(9+ %confread)) ) { drawpic -t @config $rgb(255,0,255) 0 0 -260 -125 340 195 $read(setting\config,$calc(9+ %confread)) }
  • if ( $read(setting\config, $calc(8+ %confread)) ) { drawpic -t @config $rgb(255,0,255) 0 0 -180 -125 260 195 $read(setting\config,$calc(8+ %confread)) }
  • if ( $read(setting\config, $calc(7+ %confread)) ) { drawpic -t @config $rgb(255,0,255) 0 0 -100 -125 180 195 $read(setting\config,$calc(7+ %confread)) }
  • if ( $read(setting\config, $calc(6+ %confread)) ) { drawpic -t @config $rgb(255,0,255) 0 0 -20 -125 100 195 $read(setting\config,$calc(6+ %confread)) }
  • if ( $read(setting\config, $calc(5+ %confread)) ) { drawpic -t @config $rgb(255,0,255) 0 0 -340 -40 420 110 $read(setting\config,$calc(5+ %confread)) }
  • if ( $read(setting\config, $calc(4+ %confread)) ) { drawpic -t @config $rgb(255,0,255) 0 0 -260 -40 340 110 $read(setting\config,$calc(4+ %confread)) }
  • if ( $read(setting\config, $calc(3+ %confread)) ) { drawpic -t @config $rgb(255,0,255) 0 0 -180 -40 260 110 $read(setting\config,$calc(3+ %confread)) }
  • if ( $read(setting\config, $calc(2+ %confread)) ) { drawpic -t @config $rgb(255,0,255) 0 0 -100 -40 180 110 $read(setting\config,$calc(2+ %confread)) }
  • if ( $read(setting\config, $calc(1+ %confread)) ) { drawpic -t @config $rgb(255,0,255) 0 0 -20 -40 100 110 $read(setting\config,$calc(1+ %confread)) }
  • drawrect @config 15 3 0 0 450 300
  • drawrect @config 15 2 0 0 450 24
  • drawrect @config 14 1 0 0 450 300
  • drawtext @config 3 435 3 x
  • drawrect -f @config 3 2 425 42 10 10
  • drawrect -f @config 3 2 425 270 10 10
  • drawtext @config 9 429 40 -
  • drawtext @config 9 427 267 +
  • }
  • menu @config {
  • mouse {
  • if ($mouse.x >= 425) && ($mouse.x <= 435) && ($mouse.y >= 42) && ($mouse.y <= 52) { drawrect @config 9 1 425 42 10 10 }
  • elseif ($mouse.x >= 425) && ($mouse.x <= 435) && ($mouse.y >= 270) && ($mouse.y <= 280) { drawrect @config 9 1 425 270 10 10 }
  • elseif ($mouse.x >= 435) && ($mouse.x <= 445) && ($mouse.y >= 3) && ($mouse.y <= 13) { drawtext @config 9 435 3 x }
  • elseif ($mouse.x >= 20) && ($mouse.x <= 90) && ($mouse.y >= 40) && ($mouse.y <= 110) && ( $read(setting\config, $calc(1+ %confread)) ) { drawrect @config 14 1 20 40 70 70 | if ( : isin $read(setting\config, $calc(1+ %confread)) ) { drawrect -f @config 1 1 3 3 430 17 | drawtext @config 4 6 3 $mid($read(setting\config, $calc(1+ %confread)),$calc($pos($read(setting\config, $calc(1+ %confread)),:)+2),999999) } }
  • elseif ($mouse.x >= 100) && ($mouse.x <= 170) && ($mouse.y >= 40) && ($mouse.y <= 110) && ( $read(setting\config, $calc(2+ %confread)) ) { drawrect @config 14 1 100 40 70 70 | if ( : isin $read(setting\config, $calc(2+ %confread)) ) { drawrect -f @config 1 1 3 3 430 17 | drawtext @config 4 6 3 $mid($read(setting\config, $calc(2+ %confread)),$calc($pos($read(setting\config, $calc(2+ %confread)),:)+2),999999) } }
  • elseif ($mouse.x >= 180) && ($mouse.x <= 250) && ($mouse.y >= 40) && ($mouse.y <= 110) && ( $read(setting\config, $calc(3+ %confread)) ) { drawrect @config 14 1 180 40 70 70 | if ( : isin $read(setting\config, $calc(3+ %confread)) ) { drawrect -f @config 1 1 3 3 430 17 | drawtext @config 4 6 3 $mid($read(setting\config, $calc(3+ %confread)),$calc($pos($read(setting\config, $calc(3+ %confread)),:)+2),999999) } }
  • elseif ($mouse.x >= 260) && ($mouse.x <= 330) && ($mouse.y >= 40) && ($mouse.y <= 110) && ( $read(setting\config, $calc(4+ %confread)) ) { drawrect @config 14 1 260 40 70 70 | if ( : isin $read(setting\config, $calc(4+ %confread)) ) { drawrect -f @config 1 1 3 3 430 17 | drawtext @config 4 6 3 $mid($read(setting\config, $calc(4+ %confread)),$calc($pos($read(setting\config, $calc(4+ %confread)),:)+2),999999) } }
  • elseif ($mouse.x >= 340) && ($mouse.x <= 410) && ($mouse.y >= 40) && ($mouse.y <= 110) && ( $read(setting\config, $calc(5+ %confread)) ) { drawrect @config 14 1 340 40 70 70 | if ( : isin $read(setting\config, $calc(5+ %confread)) ) { drawrect -f @config 1 1 3 3 430 17 | drawtext @config 4 6 3 $mid($read(setting\config, $calc(5+ %confread)),$calc($pos($read(setting\config, $calc(5+ %confread)),:)+2),999999) } }
  • elseif ($mouse.x >= 20) && ($mouse.x <= 90) && ($mouse.y >= 125) && ($mouse.y <= 195) && ( $read(setting\config, $calc(6+ %confread)) ) { drawrect @config 14 1 20 125 70 70 | if ( : isin $read(setting\config, $calc(6+ %confread)) ) { drawrect -f @config 1 1 3 3 430 17 | drawtext @config 4 6 3 $mid($read(setting\config, $calc(6+ %confread)),$calc($pos($read(setting\config, $calc(6+ %confread)),:)+2),999999) } }
  • elseif ($mouse.x >= 100) && ($mouse.x <= 170) && ($mouse.y >= 125) && ($mouse.y <= 195) && ( $read(setting\config, $calc(7+ %confread)) ) { drawrect @config 14 1 100 125 70 70 | if ( : isin $read(setting\config, $calc(7+ %confread)) ) { drawrect -f @config 1 1 3 3 430 17 | drawtext @config 4 6 3 $mid($read(setting\config, $calc(7+ %confread)),$calc($pos($read(setting\config, $calc(7+ %confread)),:)+2),999999) } }
  • elseif ($mouse.x >= 180) && ($mouse.x <= 250) && ($mouse.y >= 125) && ($mouse.y <= 195) && ( $read(setting\config, $calc(8+ %confread)) ) { drawrect @config 14 1 180 125 70 70 | if ( : isin $read(setting\config, $calc(8+ %confread)) ) { drawrect -f @config 1 1 3 3 430 17 | drawtext @config 4 6 3 $mid($read(setting\config, $calc(8+ %confread)),$calc($pos($read(setting\config, $calc(8+ %confread)),:)+2),999999) } }
  • elseif ($mouse.x >= 260) && ($mouse.x <= 330) && ($mouse.y >= 125) && ($mouse.y <= 195) && ( $read(setting\config, $calc(9+ %confread)) ) { drawrect @config 14 1 260 125 70 70 | if ( : isin $read(setting\config, $calc(9+ %confread)) ) { drawrect -f @config 1 1 3 3 430 17 | drawtext @config 4 6 3 $mid($read(setting\config, $calc(9+ %confread)),$calc($pos($read(setting\config, $calc(9+ %confread)),:)+2),999999) } }
  • elseif ($mouse.x >= 340) && ($mouse.x <= 410) && ($mouse.y >= 125) && ($mouse.y <= 195) && ( $read(setting\config, $calc(10+ %confread)) ) { drawrect @config 14 1 340 125 70 70 | if ( : isin $read(setting\config, $calc(10+ %confread)) ) { drawrect -f @config 1 1 3 3 430 17 | drawtext @config 4 6 3 $mid($read(setting\config, $calc(10+ %confread)),$calc($pos($read(setting\config, $calc(10+ %confread)),:)+2),999999) } }
  • elseif ($mouse.x >= 20) && ($mouse.x <= 90) && ($mouse.y >= 210) && ($mouse.y <= 280) && ( $read(setting\config, $calc(11+ %confread)) ) { drawrect @config 14 1 20 210 70 70 | if ( : isin $read(setting\config, $calc(11+ %confread)) ) { drawrect -f @config 1 1 3 3 430 17 | drawtext @config 4 6 3 $mid($read(setting\config, $calc(11+ %confread)),$calc($pos($read(setting\config, $calc(11+ %confread)),:)+2),999999) } }
  • elseif ($mouse.x >= 100) && ($mouse.x <= 170) && ($mouse.y >= 210) && ($mouse.y <= 280) && ( $read(setting\config, $calc(12+ %confread)) ) { drawrect @config 14 1 100 210 70 70 | if ( : isin $read(setting\config, $calc(12+ %confread)) ) { drawrect -f @config 1 1 3 3 430 17 | drawtext @config 4 6 3 $mid($read(setting\config, $calc(12+ %confread)),$calc($pos($read(setting\config, $calc(12+ %confread)),:)+2),999999) } }
  • elseif ($mouse.x >= 180) && ($mouse.x <= 250) && ($mouse.y >= 210) && ($mouse.y <= 280) && ( $read(setting\config, $calc(13+ %confread)) ) { drawrect @config 14 1 180 210 70 70 | if ( : isin $read(setting\config, $calc(13+ %confread)) ) { drawrect -f @config 1 1 3 3 430 17 | drawtext @config 4 6 3 $mid($read(setting\config, $calc(13+ %confread)),$calc($pos($read(setting\config, $calc(13+ %confread)),:)+2),999999) } }
  • elseif ($mouse.x >= 260) && ($mouse.x <= 330) && ($mouse.y >= 210) && ($mouse.y <= 280) && ( $read(setting\config, $calc(14+ %confread)) ) { drawrect @config 14 1 260 210 70 70 | if ( : isin $read(setting\config, $calc(14+ %confread)) ) { drawrect -f @config 1 1 3 3 430 17 | drawtext @config 4 6 3 $mid($read(setting\config, $calc(14+ %confread)),$calc($pos($read(setting\config, $calc(14+ %confread)),:)+2),999999) } }
  • elseif ($mouse.x >= 340) && ($mouse.x <= 410) && ($mouse.y >= 210) && ($mouse.y <= 280) && ( $read(setting\config, $calc(15+ %confread)) ) { drawrect @config 14 1 340 210 70 70 | if ( : isin $read(setting\config, $calc(15+ %confread)) ) { drawrect -f @config 1 1 3 3 430 17 | drawtext @config 4 6 3 $mid($read(setting\config, $calc(15+ %confread)),$calc($pos($read(setting\config, $calc(15+ %confread)),:)+2),999999) } }
  • else {
  • drawrect @config 3 1 425 42 10 10
  • drawrect @config 3 1 425 270 10 10
  • drawrect @config 1 1 20 40 70 70
  • drawrect @config 1 1 100 40 70 70
  • drawrect @config 1 1 180 40 70 70
  • drawrect @config 1 1 260 40 70 70
  • drawrect @config 1 1 340 40 70 70
  • drawrect @config 1 1 20 125 70 70
  • drawrect @config 1 1 100 125 70 70
  • drawrect @config 1 1 180 125 70 70
  • drawrect @config 1 1 260 125 70 70
  • drawrect @config 1 1 340 125 70 70
  • drawrect @config 1 1 20 210 70 70
  • drawrect @config 1 1 100 210 70 70
  • drawrect @config 1 1 180 210 70 70
  • drawrect @config 1 1 260 210 70 70
  • drawrect @config 1 1 340 210 70 70
  • drawrect -f @config 1 1 3 3 430 17
  • drawtext @config 3 435 3 x
  • }
  • }
  • sclick {
  • if ($mouse.x >= 425) && ($mouse.x <= 435) && ($mouse.y >= 42) && ($mouse.y <= 52) && ( %confread > 0 ) { set %confread $calc(%confread -5) | configuration1 }
  • elseif ($mouse.x >= 425) && ($mouse.x <= 435) && ($mouse.y >= 270) && ($mouse.y <= 280) && ( %confread < $calc($lines(setting\config)/5+5) ) { set %confread $calc(%confread +5) | configuration1 }
  • elseif ($mouse.x >= 20) && ($mouse.x <= 90) && ($mouse.y >= 40) && ($mouse.y <= 110) && ( $read(setting\config, $calc(1+ %confread)) ) { $cmdconfig(1) }
  • elseif ($mouse.x >= 100) && ($mouse.x <= 170) && ($mouse.y >= 40) && ($mouse.y <= 110) && ( $read(setting\config, $calc(2+ %confread)) ) { $cmdconfig(2) }
  • elseif ($mouse.x >= 180) && ($mouse.x <= 250) && ($mouse.y >= 40) && ($mouse.y <= 110) && ( $read(setting\config, $calc(3+ %confread)) ) { $cmdconfig(3) }
  • elseif ($mouse.x >= 260) && ($mouse.x <= 330) && ($mouse.y >= 40) && ($mouse.y <= 110) && ( $read(setting\config, $calc(4+ %confread)) ) { $cmdconfig(4) }
  • elseif ($mouse.x >= 340) && ($mouse.x <= 410) && ($mouse.y >= 40) && ($mouse.y <= 110) && ( $read(setting\config, $calc(5+ %confread)) ) { $cmdconfig(5) }
  • elseif ($mouse.x >= 20) && ($mouse.x <= 90) && ($mouse.y >= 125) && ($mouse.y <= 195) && ( $read(setting\config, $calc(6+ %confread)) ) { $cmdconfig(6) }
  • elseif ($mouse.x >= 100) && ($mouse.x <= 170) && ($mouse.y >= 125) && ($mouse.y <= 195) && ( $read(setting\config, $calc(7+ %confread)) ) { $cmdconfig(7) }
  • elseif ($mouse.x >= 180) && ($mouse.x <= 250) && ($mouse.y >= 125) && ($mouse.y <= 195) && ( $read(setting\config, $calc(8+ %confread)) ) { $cmdconfig(8) }
  • elseif ($mouse.x >= 260) && ($mouse.x <= 330) && ($mouse.y >= 125) && ($mouse.y <= 195) && ( $read(setting\config, $calc(9+ %confread)) ) { $cmdconfig(9) }
  • elseif ($mouse.x >= 340) && ($mouse.x <= 410) && ($mouse.y >= 125) && ($mouse.y <= 195) && ( $read(setting\config, $calc(10+ %confread)) ) { $cmdconfig(10) }
  • elseif ($mouse.x >= 20) && ($mouse.x <= 90) && ($mouse.y >= 210) && ($mouse.y <= 280) && ( $read(setting\config, $calc(11+ %confread)) ) { $cmdconfig(11) }
  • elseif ($mouse.x >= 100) && ($mouse.x <= 170) && ($mouse.y >= 210) && ($mouse.y <= 280) && ( $read(setting\config, $calc(12+ %confread)) ) { $cmdconfig(12) }
  • elseif ($mouse.x >= 180) && ($mouse.x <= 250) && ($mouse.y >= 210) && ($mouse.y <= 280) && ( $read(setting\config, $calc(13+ %confread)) ) { $cmdconfig(13) }
  • elseif ($mouse.x >= 260) && ($mouse.x <= 330) && ($mouse.y >= 210) && ($mouse.y <= 280) && ( $read(setting\config, $calc(14+ %confread)) ) { $cmdconfig(14) }
  • elseif ($mouse.x >= 340) && ($mouse.x <= 410) && ($mouse.y >= 210) && ($mouse.y <= 280) && ( $read(setting\config, $calc(15+ %confread)) ) { $cmdconfig(15) }
  • elseif ($mouse.x >= 435) && ($mouse.x <= 445) && ($mouse.y >= 3) && ($mouse.y <= 13) { window -c @config }
  • else { placeconfig $calc($mouse.dx - $window($active).x) $calc($mouse.dy - $window($active).y) }
  • }
  • close :/window -c @config
  • }
  • alias cmdconfig {
  • if ( : isin $read(setting\config, $calc($1 + %confread)) ) { return $mid($read(setting\config, $calc($1 + %confread)),$pos($read(setting\config, $calc($1 + %confread)),$chr(32)),$calc($pos($read(setting\config, $calc( $1 + %confread)),:)-1-$pos($read(setting\config, $calc( $1 + %confread)),$chr(32)))) }
  • else { return $mid($read(setting\config, $calc($1 + %confread)),$pos($read(setting\config, $calc($1 + %confread)),$chr(32)),9999999) }
  • }
  • alias placeconfig { window @config $calc($mouse.dx - $1) $calc($mouse.dy - $2) | if ($mouse.key & 1) .timer $+ $ticks -m 1 0 placeconfig $1- }
;/!\ prenner le zip /!\

;#########################
;#########################
;###                   ###
;###   configuration   ###
;###                   ###
;#########################
;###                   ###
;###  by aBd0ulaX      ###
;###                   ###
;#########################
;#########################

alias configuration {
  window -dapBkzC +dL @config 1 1 450 300
  set %confread 0
  configuration1
}
alias configuration1 {
  drawrect -f @config 1 1 0 0 450 300
  if ( $read(setting\config, $calc(15+ %confread)) ) {   drawpic -t @config $rgb(255,0,255) 0 0 -340 -210 420 280 $read(setting\config,$calc(15+ %confread)) }
  if ( $read(setting\config, $calc(14+ %confread)) ) {   drawpic -t @config $rgb(255,0,255) 0 0 -260 -210 340 280 $read(setting\config,$calc(14+ %confread)) }
  if ( $read(setting\config, $calc(13+ %confread)) ) {   drawpic -t @config $rgb(255,0,255) 0 0 -180 -210 260 280 $read(setting\config,$calc(13+ %confread)) }
  if ( $read(setting\config, $calc(12+ %confread)) ) {   drawpic -t @config $rgb(255,0,255) 0 0 -100 -210 180 280 $read(setting\config,$calc(12+ %confread)) }
  if ( $read(setting\config, $calc(11+ %confread)) ) {   drawpic -t @config $rgb(255,0,255) 0 0 -20 -210 100 280 $read(setting\config,$calc(11+ %confread)) }

  if ( $read(setting\config, $calc(10+ %confread)) ) {   drawpic -t @config $rgb(255,0,255) 0 0 -340 -125 420 195 $read(setting\config,$calc(10+ %confread)) }
  if ( $read(setting\config, $calc(9+ %confread)) ) {   drawpic -t @config $rgb(255,0,255) 0 0 -260 -125 340 195 $read(setting\config,$calc(9+ %confread)) }
  if ( $read(setting\config, $calc(8+ %confread)) ) {   drawpic -t @config $rgb(255,0,255) 0 0 -180 -125 260 195 $read(setting\config,$calc(8+ %confread)) }
  if ( $read(setting\config, $calc(7+ %confread)) ) {   drawpic -t @config $rgb(255,0,255) 0 0 -100 -125 180 195 $read(setting\config,$calc(7+ %confread)) }
  if ( $read(setting\config, $calc(6+ %confread)) ) {   drawpic -t @config $rgb(255,0,255) 0 0 -20 -125 100 195 $read(setting\config,$calc(6+ %confread)) }

  if ( $read(setting\config, $calc(5+ %confread)) ) {   drawpic -t @config $rgb(255,0,255) 0 0 -340 -40 420 110 $read(setting\config,$calc(5+ %confread)) }
  if ( $read(setting\config, $calc(4+ %confread)) ) {   drawpic -t @config $rgb(255,0,255) 0 0 -260 -40 340 110 $read(setting\config,$calc(4+ %confread)) }
  if ( $read(setting\config, $calc(3+ %confread)) ) {   drawpic -t @config $rgb(255,0,255) 0 0 -180 -40 260 110 $read(setting\config,$calc(3+ %confread)) }
  if ( $read(setting\config, $calc(2+ %confread)) ) {   drawpic -t @config $rgb(255,0,255) 0 0 -100 -40 180 110 $read(setting\config,$calc(2+ %confread)) }
  if ( $read(setting\config, $calc(1+ %confread)) ) {   drawpic -t @config $rgb(255,0,255) 0 0 -20 -40 100 110 $read(setting\config,$calc(1+ %confread)) }
  drawrect @config 15 3 0 0 450 300
  drawrect @config 15 2 0 0 450 24
  drawrect @config 14 1 0 0 450 300
  drawtext @config 3 435 3 x
  drawrect -f @config 3 2 425 42 10 10
  drawrect -f @config 3 2 425 270 10 10
  drawtext @config 9 429 40 -
  drawtext @config 9 427 267 +
}
menu @config {
  mouse { 
    if ($mouse.x >= 425) && ($mouse.x <= 435) && ($mouse.y >= 42) && ($mouse.y <= 52) { drawrect @config 9 1 425 42 10 10 }
    elseif ($mouse.x >= 425) && ($mouse.x <= 435) && ($mouse.y >= 270) && ($mouse.y <= 280) { drawrect @config 9 1 425 270 10 10 }
    elseif ($mouse.x >= 435) && ($mouse.x <= 445) && ($mouse.y >= 3) && ($mouse.y <= 13) { drawtext @config 9 435 3 x }
    elseif ($mouse.x >= 20) && ($mouse.x <= 90) && ($mouse.y >= 40) && ($mouse.y <= 110) && ( $read(setting\config, $calc(1+ %confread)) ) { drawrect @config 14 1 20 40 70 70 | if ( : isin $read(setting\config, $calc(1+ %confread)) ) { drawrect -f @config 1 1 3 3 430 17 | drawtext @config 4 6 3 $mid($read(setting\config, $calc(1+ %confread)),$calc($pos($read(setting\config, $calc(1+ %confread)),:)+2),999999) } }
    elseif ($mouse.x >= 100) && ($mouse.x <= 170) && ($mouse.y >= 40) && ($mouse.y <= 110) && ( $read(setting\config, $calc(2+ %confread)) ) { drawrect @config 14 1 100 40 70 70 | if ( : isin $read(setting\config, $calc(2+ %confread)) ) { drawrect -f @config 1 1 3 3 430 17 | drawtext @config 4 6 3 $mid($read(setting\config, $calc(2+ %confread)),$calc($pos($read(setting\config, $calc(2+ %confread)),:)+2),999999) } }
    elseif ($mouse.x >= 180) && ($mouse.x <= 250) && ($mouse.y >= 40) && ($mouse.y <= 110) && ( $read(setting\config, $calc(3+ %confread)) ) { drawrect @config 14 1 180 40 70 70 | if ( : isin $read(setting\config, $calc(3+ %confread)) ) { drawrect -f @config 1 1 3 3 430 17 | drawtext @config 4 6 3 $mid($read(setting\config, $calc(3+ %confread)),$calc($pos($read(setting\config, $calc(3+ %confread)),:)+2),999999) } }
    elseif ($mouse.x >= 260) && ($mouse.x <= 330) && ($mouse.y >= 40) && ($mouse.y <= 110) && ( $read(setting\config, $calc(4+ %confread)) ) { drawrect @config 14 1 260 40 70 70 | if ( : isin $read(setting\config, $calc(4+ %confread)) ) { drawrect -f @config 1 1 3 3 430 17 | drawtext @config 4 6 3 $mid($read(setting\config, $calc(4+ %confread)),$calc($pos($read(setting\config, $calc(4+ %confread)),:)+2),999999) } }
    elseif ($mouse.x >= 340) && ($mouse.x <= 410) && ($mouse.y >= 40) && ($mouse.y <= 110) && ( $read(setting\config, $calc(5+ %confread)) ) { drawrect @config 14 1 340 40 70 70 | if ( : isin $read(setting\config, $calc(5+ %confread)) ) { drawrect -f @config 1 1 3 3 430 17 | drawtext @config 4 6 3 $mid($read(setting\config, $calc(5+ %confread)),$calc($pos($read(setting\config, $calc(5+ %confread)),:)+2),999999) } }
    elseif ($mouse.x >= 20) && ($mouse.x <= 90) && ($mouse.y >= 125) && ($mouse.y <= 195) && ( $read(setting\config, $calc(6+ %confread)) ) { drawrect @config 14 1 20 125 70 70 | if ( : isin $read(setting\config, $calc(6+ %confread)) ) { drawrect -f @config 1 1 3 3 430 17 | drawtext @config 4 6 3 $mid($read(setting\config, $calc(6+ %confread)),$calc($pos($read(setting\config, $calc(6+ %confread)),:)+2),999999) } }
    elseif ($mouse.x >= 100) && ($mouse.x <= 170) && ($mouse.y >= 125) && ($mouse.y <= 195) && ( $read(setting\config, $calc(7+ %confread)) ) { drawrect @config 14 1 100 125 70 70 | if ( : isin $read(setting\config, $calc(7+ %confread)) ) { drawrect -f @config 1 1 3 3 430 17 | drawtext @config 4 6 3 $mid($read(setting\config, $calc(7+ %confread)),$calc($pos($read(setting\config, $calc(7+ %confread)),:)+2),999999) } }
    elseif ($mouse.x >= 180) && ($mouse.x <= 250) && ($mouse.y >= 125) && ($mouse.y <= 195) && ( $read(setting\config, $calc(8+ %confread)) ) { drawrect @config 14 1 180 125 70 70 | if ( : isin $read(setting\config, $calc(8+ %confread)) ) { drawrect -f @config 1 1 3 3 430 17 | drawtext @config 4 6 3 $mid($read(setting\config, $calc(8+ %confread)),$calc($pos($read(setting\config, $calc(8+ %confread)),:)+2),999999) } }
    elseif ($mouse.x >= 260) && ($mouse.x <= 330) && ($mouse.y >= 125) && ($mouse.y <= 195) && ( $read(setting\config, $calc(9+ %confread)) ) { drawrect @config 14 1 260 125 70 70 | if ( : isin $read(setting\config, $calc(9+ %confread)) ) { drawrect -f @config 1 1 3 3 430 17 | drawtext @config 4 6 3 $mid($read(setting\config, $calc(9+ %confread)),$calc($pos($read(setting\config, $calc(9+ %confread)),:)+2),999999) } }
    elseif ($mouse.x >= 340) && ($mouse.x <= 410) && ($mouse.y >= 125) && ($mouse.y <= 195) && ( $read(setting\config, $calc(10+ %confread)) ) { drawrect @config 14 1 340 125 70 70 | if ( : isin $read(setting\config, $calc(10+ %confread)) ) { drawrect -f @config 1 1 3 3 430 17 | drawtext @config 4 6 3 $mid($read(setting\config, $calc(10+ %confread)),$calc($pos($read(setting\config, $calc(10+ %confread)),:)+2),999999) } }
    elseif ($mouse.x >= 20) && ($mouse.x <= 90) && ($mouse.y >= 210) && ($mouse.y <= 280) && ( $read(setting\config, $calc(11+ %confread)) ) { drawrect @config 14 1 20 210 70 70 | if ( : isin $read(setting\config, $calc(11+ %confread)) ) { drawrect -f @config 1 1 3 3 430 17 | drawtext @config 4 6 3 $mid($read(setting\config, $calc(11+ %confread)),$calc($pos($read(setting\config, $calc(11+ %confread)),:)+2),999999) } }
    elseif ($mouse.x >= 100) && ($mouse.x <= 170) && ($mouse.y >= 210) && ($mouse.y <= 280) && ( $read(setting\config, $calc(12+ %confread)) ) { drawrect @config 14 1 100 210 70 70 | if ( : isin $read(setting\config, $calc(12+ %confread)) ) { drawrect -f @config 1 1 3 3 430 17 | drawtext @config 4 6 3 $mid($read(setting\config, $calc(12+ %confread)),$calc($pos($read(setting\config, $calc(12+ %confread)),:)+2),999999) } }
    elseif ($mouse.x >= 180) && ($mouse.x <= 250) && ($mouse.y >= 210) && ($mouse.y <= 280) && ( $read(setting\config, $calc(13+ %confread)) ) { drawrect @config 14 1 180 210 70 70 | if ( : isin $read(setting\config, $calc(13+ %confread)) ) { drawrect -f @config 1 1 3 3 430 17 | drawtext @config 4 6 3 $mid($read(setting\config, $calc(13+ %confread)),$calc($pos($read(setting\config, $calc(13+ %confread)),:)+2),999999) } }
    elseif ($mouse.x >= 260) && ($mouse.x <= 330) && ($mouse.y >= 210) && ($mouse.y <= 280) && ( $read(setting\config, $calc(14+ %confread)) ) { drawrect @config 14 1 260 210 70 70 | if ( : isin $read(setting\config, $calc(14+ %confread)) ) { drawrect -f @config 1 1 3 3 430 17 | drawtext @config 4 6 3 $mid($read(setting\config, $calc(14+ %confread)),$calc($pos($read(setting\config, $calc(14+ %confread)),:)+2),999999) } }
    elseif ($mouse.x >= 340) && ($mouse.x <= 410) && ($mouse.y >= 210) && ($mouse.y <= 280) && ( $read(setting\config, $calc(15+ %confread)) ) { drawrect @config 14 1 340 210 70 70 | if ( : isin $read(setting\config, $calc(15+ %confread)) ) { drawrect -f @config 1 1 3 3 430 17 | drawtext @config 4 6 3 $mid($read(setting\config, $calc(15+ %confread)),$calc($pos($read(setting\config, $calc(15+ %confread)),:)+2),999999) } }
    else { 
      drawrect @config 3 1 425 42 10 10
      drawrect @config 3 1 425 270 10 10
      drawrect @config 1 1 20 40 70 70
      drawrect @config 1 1 100 40 70 70
      drawrect @config 1 1 180 40 70 70
      drawrect @config 1 1 260 40 70 70
      drawrect @config 1 1 340 40 70 70
      drawrect @config 1 1 20 125 70 70
      drawrect @config 1 1 100 125 70 70
      drawrect @config 1 1 180 125 70 70
      drawrect @config 1 1 260 125 70 70
      drawrect @config 1 1 340 125 70 70
      drawrect @config 1 1 20 210 70 70
      drawrect @config 1 1 100 210 70 70
      drawrect @config 1 1 180 210 70 70
      drawrect @config 1 1 260 210 70 70
      drawrect @config 1 1 340 210 70 70
      drawrect -f @config 1 1 3 3 430 17
      drawtext @config 3 435 3 x
    }
  }
  sclick {
    if ($mouse.x >= 425) && ($mouse.x <= 435) && ($mouse.y >= 42) && ($mouse.y <= 52) && ( %confread > 0 ) { set %confread $calc(%confread -5) | configuration1 }
    elseif ($mouse.x >= 425) && ($mouse.x <= 435) && ($mouse.y >= 270) && ($mouse.y <= 280) && ( %confread < $calc($lines(setting\config)/5+5) ) { set %confread $calc(%confread +5) | configuration1 }
    elseif ($mouse.x >= 20) && ($mouse.x <= 90) && ($mouse.y >= 40) && ($mouse.y <= 110) && ( $read(setting\config, $calc(1+ %confread)) ) { $cmdconfig(1) }
    elseif ($mouse.x >= 100) && ($mouse.x <= 170) && ($mouse.y >= 40) && ($mouse.y <= 110) && ( $read(setting\config, $calc(2+ %confread)) ) { $cmdconfig(2) }
    elseif ($mouse.x >= 180) && ($mouse.x <= 250) && ($mouse.y >= 40) && ($mouse.y <= 110) && ( $read(setting\config, $calc(3+ %confread)) ) { $cmdconfig(3) }
    elseif ($mouse.x >= 260) && ($mouse.x <= 330) && ($mouse.y >= 40) && ($mouse.y <= 110) && ( $read(setting\config, $calc(4+ %confread)) ) { $cmdconfig(4) }
    elseif ($mouse.x >= 340) && ($mouse.x <= 410) && ($mouse.y >= 40) && ($mouse.y <= 110) && ( $read(setting\config, $calc(5+ %confread)) ) { $cmdconfig(5) }
    elseif ($mouse.x >= 20) && ($mouse.x <= 90) && ($mouse.y >= 125) && ($mouse.y <= 195) && ( $read(setting\config, $calc(6+ %confread)) ) { $cmdconfig(6) }
    elseif ($mouse.x >= 100) && ($mouse.x <= 170) && ($mouse.y >= 125) && ($mouse.y <= 195) && ( $read(setting\config, $calc(7+ %confread)) ) { $cmdconfig(7) }
    elseif ($mouse.x >= 180) && ($mouse.x <= 250) && ($mouse.y >= 125) && ($mouse.y <= 195) && ( $read(setting\config, $calc(8+ %confread)) ) { $cmdconfig(8) }
    elseif ($mouse.x >= 260) && ($mouse.x <= 330) && ($mouse.y >= 125) && ($mouse.y <= 195) && ( $read(setting\config, $calc(9+ %confread)) ) { $cmdconfig(9) }
    elseif ($mouse.x >= 340) && ($mouse.x <= 410) && ($mouse.y >= 125) && ($mouse.y <= 195) && ( $read(setting\config, $calc(10+ %confread)) ) { $cmdconfig(10) }
    elseif ($mouse.x >= 20) && ($mouse.x <= 90) && ($mouse.y >= 210) && ($mouse.y <= 280) && ( $read(setting\config, $calc(11+ %confread)) ) { $cmdconfig(11) }
    elseif ($mouse.x >= 100) && ($mouse.x <= 170) && ($mouse.y >= 210) && ($mouse.y <= 280) && ( $read(setting\config, $calc(12+ %confread)) ) { $cmdconfig(12) }
    elseif ($mouse.x >= 180) && ($mouse.x <= 250) && ($mouse.y >= 210) && ($mouse.y <= 280) && ( $read(setting\config, $calc(13+ %confread)) ) { $cmdconfig(13) }
    elseif ($mouse.x >= 260) && ($mouse.x <= 330) && ($mouse.y >= 210) && ($mouse.y <= 280) && ( $read(setting\config, $calc(14+ %confread)) ) { $cmdconfig(14) }
    elseif ($mouse.x >= 340) && ($mouse.x <= 410) && ($mouse.y >= 210) && ($mouse.y <= 280) && ( $read(setting\config, $calc(15+ %confread)) ) { $cmdconfig(15) }
    elseif ($mouse.x >= 435) && ($mouse.x <= 445) && ($mouse.y >= 3) && ($mouse.y <= 13) { window -c @config }
    else { placeconfig $calc($mouse.dx - $window($active).x) $calc($mouse.dy - $window($active).y) }
  }
  close :/window -c @config
}

alias cmdconfig { 
  if ( : isin $read(setting\config, $calc($1 + %confread)) ) { return $mid($read(setting\config, $calc($1 + %confread)),$pos($read(setting\config, $calc($1 + %confread)),$chr(32)),$calc($pos($read(setting\config, $calc( $1 + %confread)),:)-1-$pos($read(setting\config, $calc( $1 + %confread)),$chr(32)))) }
  else { return $mid($read(setting\config, $calc($1 + %confread)),$pos($read(setting\config, $calc($1 + %confread)),$chr(32)),9999999) }
}
alias placeconfig {  window @config $calc($mouse.dx - $1) $calc($mouse.dy - $2) | if ($mouse.key & 1) .timer $+ $ticks -m 1 0 placeconfig $1- }

 Conclusion

have fun

by abdoulax

 Fichier Zip

Les Membres Club peuvent télécharger directement un fichier contenu dans le zip sans télécharger le zip en entier !
  •   image
  •   setting
    • configTélécharger ce fichier [Réservé aux membres club]102 octets
  • config.azTélécharger ce fichier [Réservé aux membres club]14 350 octets

Télécharger le zip


 Sources du même auteur

Source avec Zip DLL DOS
Source avec Zip WIZZ
SCAN IP SNIPET
Source avec une capture SERVER FTP
Source avec Zip PORT SCANNER

 Sources de la même categorie

PACMAN MULTI-JOUEUR EN LIGNE par wims
PROXY&SOCKS SCANNER+LEECHER par independentt
GESTIONNAIRE DE HIGHLIGHT AVANCÉ AVEC IGNORE SALON OU PSEUDO par doob666
AUTOJOIN HTABLE MULTISERVER par doob666
TCL - AJOUT SUPPRESSION DE LOGS par Atok

Commentaires et avis

Commentaire de abdoulax le 12/11/2003 12:52:20

mdr je ve un comments , lol

Commentaire de GoTeN le 20/12/2003 13:09:05

débutant ? tu va désespéré des débutant la :'(

Commentaire de TaZz_ le 11/12/2004 00:39:03

lol kler chu déséspéré !

 Ajouter un commentaire




Nos sponsors


Sondage...

Comparez les prix

CalendriCode

Février 2012
LMMJVSD
  12345
6789101112
13141516171819
20212223242526
272829    

Consulter la suite du CalendriCode

Photothèque

 
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 : 0,936 sec (3)

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