begin process at 2008 07 20 23:03:39
1 213 505 membres
406 nouveaux aujourd'hui
14 167 membres club

Vous ne trouvez pas de réponse à votre problème ? Alors posez la question dans le forum.
Souvenez-vous qu'il n'y a jamais de question bête, mais rester dans l'ignorance parce que l'on n'ose pas poser une question, ça c'est une erreur !

VHOST PERSO


Information sur la source

Catégorie :Scripts Classé sous : remote, vhost, script, perso, vhostperso Niveau : Débutant Date de création : 14/01/2007 Vu : 3 058

Note :
5 / 10 - par 1 personne
5,00 / 10

  • 1

  • 2

  • 3

  • 4

  • 5

  • 6

  • 7

  • 8

  • 9

  • 10

Commentaire sur cette source (5)
Ajouter un commentaire et/ou une note

Description

C'est un système de vhost perso , par exemple si vous voulez reconnaitre facilement quelqu'un c'est inutile mais c'est
rigolo ..

Source

  • dialog vhost {
  • title "Vhost"
  • size -1 -1 141 182
  • option dbu
  • text "Pseudo :", 1, 4 8 25 8
  • edit "", 2, 28 7 87 10
  • text "Vhost :", 3, 4 22 25 8
  • edit "", 4, 29 21 86 10
  • button "Valider", 5, 3 39 37 12
  • button "Voir", 6, 82 39 37 12
  • edit "", 7, 2 61 136 10, read return autohs autovs
  • edit "", 8, 2 79 136 10, read
  • text "Pseudo :", 9, 5 53 25 8
  • text "Vhost :", 10, 4 71 25 8
  • text "Description : ", 11, 3 94 44 8
  • edit "", 12, 2 103 133 64, autohs
  • button "Valider", 13, 48 168 37 12
  • }
  • On *:dialog:vhost:sclick:5: {
  • writeini -n vhost.ini $did(2) vhost $did(4)
  • writeini -n vhost.ini $did(2) inscrit oui
  • }
  • On *:dialog:vhost:sclick:6: {
  • did -ra vhost 7 Pseudo : $did(2)
  • did -ra vhost 8 Vhost : $readini(vhost.ini,$did(2),vhost)
  • }
  • On *:dialog:vhost:sclick:13: {
  • writeini -n vhost.ini $did(2) description $did(12)
  • writeini -n vhost.ini $did(2) vhost $did(4)
  • writeini -n vhost.ini $did(2) inscrit oui
  • }
  • dialog inform {
  • title "Information :"
  • size -1 -1 141 139
  • option dbu
  • text "Pseudo :", 1, 3 3 25 8
  • edit "", 2, 27 2 88 10
  • button "Valider", 3, 43 18 37 12
  • text "Pseudo :", 4, 3 44 25 8
  • edit "", 5, 2 54 135 10, read return autohs autovs
  • text "Vhost :", 6, 3 68 25 8
  • edit "", 7, 2 77 136 10, read autohs autovs
  • text "Description :", 8, 3 91 34 8
  • edit "", 9, 2 101 135 31, read return autohs autovs hsbar
  • }
  • On *:dialog:inform:sclick:3: {
  • did -ra inform 5 $did(2)
  • did -ra inform 7 $readini(vhost.ini,$did(2),vhost)
  • did -ra inform 9 $readini(vhost.ini,$did(2),description)
  • }
  • alias info {
  • if ($readini(vhost.ini,$1,inscrit) == oui) {
  • echo -a [[ 4Vhost PerSo ]]
  • echo -a Pseudo : $1
  • echo -a Vhost : $readini(vhost.ini,$1,vhost)
  • echo -a Description : $readini(vhost.ini,$1,description)
  • echo -a [[ 4Vhost PerSo ]]
  • }
  • else {
  • echo -a [[ 4Vhost PerSo ]]
  • echo -a $1 Pseudo Inconnu
  • echo -a [[ 4Vhost PerSo ]]
  • }
  • }
dialog vhost {
  title "Vhost"
  size -1 -1 141 182
  option dbu
  text "Pseudo :", 1, 4 8 25 8
  edit "", 2, 28 7 87 10
  text "Vhost :", 3, 4 22 25 8
  edit "", 4, 29 21 86 10
  button "Valider", 5, 3 39 37 12
  button "Voir", 6, 82 39 37 12
  edit "", 7, 2 61 136 10, read return autohs autovs
  edit "", 8, 2 79 136 10, read
  text "Pseudo :", 9, 5 53 25 8
  text "Vhost :", 10, 4 71 25 8
  text "Description : ", 11, 3 94 44 8
  edit "", 12, 2 103 133 64, autohs
  button "Valider", 13, 48 168 37 12
}
On *:dialog:vhost:sclick:5: {
  writeini -n vhost.ini $did(2) vhost $did(4)
  writeini -n vhost.ini $did(2) inscrit oui
}
On *:dialog:vhost:sclick:6: {
  did -ra vhost 7 Pseudo : $did(2) 
  did -ra vhost 8 Vhost : $readini(vhost.ini,$did(2),vhost)
}
On *:dialog:vhost:sclick:13: {
  writeini -n vhost.ini $did(2) description $did(12)
  writeini -n vhost.ini $did(2) vhost $did(4)
  writeini -n vhost.ini $did(2) inscrit oui
}

dialog inform {
  title "Information :"
  size -1 -1 141 139
  option dbu
  text "Pseudo :", 1, 3 3 25 8
  edit "", 2, 27 2 88 10
  button "Valider", 3, 43 18 37 12
  text "Pseudo :", 4, 3 44 25 8
  edit "", 5, 2 54 135 10, read return autohs autovs
  text "Vhost :", 6, 3 68 25 8
  edit "", 7, 2 77 136 10, read autohs autovs
  text "Description :", 8, 3 91 34 8
  edit "", 9, 2 101 135 31, read return autohs autovs hsbar
}
On *:dialog:inform:sclick:3: {
  did -ra inform 5  $did(2)
  did -ra inform 7  $readini(vhost.ini,$did(2),vhost)
  did -ra inform 9 $readini(vhost.ini,$did(2),description)
}
alias info {
  if ($readini(vhost.ini,$1,inscrit) == oui) {
    echo -a [[ 4Vhost PerSo ]] 
    echo -a Pseudo : $1
    echo -a Vhost : $readini(vhost.ini,$1,vhost)
    echo -a Description : $readini(vhost.ini,$1,description)
    echo -a [[ 4Vhost PerSo ]]
  }
  else { 
    echo -a [[ 4Vhost PerSo ]]
    echo -a $1 Pseudo Inconnu 
    echo -a [[ 4Vhost PerSo ]] 
  }
}
  • signaler à un administrateur
    Commentaire de aleass le 28/01/2007 10:36:12

    bonjour,
    j'ai collé ton addon dans les remotes
    et apres?... je doit faire quoi pour le lancer?
    merci de bien vouloir m'aider à le mettre en route :)

  • signaler à un administrateur
    Commentaire de isko le 30/01/2007 19:09:28

    Salut, quand tu la add tu tape  : /dialog -m vhost vhost

  • signaler à un administrateur
    Commentaire de aleass le 31/01/2007 18:09:05

    merci :)

  • signaler à un administrateur
    Commentaire de sylence89 le 04/02/2007 09:42:35

    bonjour
    * /dialog: 'vhost' La table n'a pas été trouvée <==chuis un vrai newbee moi dsl mais sa coince :) j ai mit sa dans remote et vala le mess d erreur en tapant la commande ....

  • signaler à un administrateur
    Commentaire de Benjamin37 le 15/02/2007 09:49:29

    sylence89 va  dans la rubrique des aliases de l'éditeur de script
    et dans un nouveau fichier crée ceci :

    /vhost dialog -m vhost vhost

    ou dans le fichier de la remote que tu as collé ajoute cette ligne :

    menu nicklist {
    .vhost:dialog -m vhost vhost
    }

    isko c'est vrai que c'est inutile mais le script reste pas mal ^^


Ajouter un commentaire

Pub



Appels d'offres

Dessins techniques
Budget : 60€
Animation Flash - Doma...
Budget : 370€
Application flash medi...
Budget : 1 000€

CalendriCode

Juillet 2008
LMMJVSD
 123456
78910111213
14151617181920
21222324252627
28293031   

Téléchargements

Logiciels à télécharger sur le même thème :

Boutique

Boutique de goodies CodeS-SourceS