begin process at 2010 03 21 16:05:14
  Trouver un code source :
 
dans
 
Accueil > 

Code

 > 

Scripts

 > ANTI PV

ANTI PV


 Information sur la source

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

  • 1

  • 2

  • 3

  • 4

  • 5

  • 6

  • 7

  • 8

  • 9

  • 10
Catégorie :Scripts Niveau :Débutant Date de création :04/10/2003 Date de mise à jour :04/10/2003 17:26:48 Vu :3 547

Auteur : Fayen$

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

 Description

Un ptit anti pv avec msg et fermeture si vous le souhaitez (no comment)

Source

  • alias pv {
  • dialog -m antipv antipv
  • }
  • dialog antipv {
  • title "Répondeur"
  • size -1 -1 87 86
  • option dbu
  • box "Anti Pv", 1, 3 1 82 70
  • text "[-Quand vous recevez un Pv-]", 2, 8 9 110 8
  • check "Fermer le Pv", 3, 8 17 50 10
  • check "Envoyer un message", 4, 8 26 67 10
  • text "[-Message à envoyé-]", 5, 8 37 110 8
  • edit %antipvmsg, 6, 8 47 71 10, autohs
  • radio "Activer", 7, 8 59 30 10
  • radio "Désactiver", 8, 44 59 33 10
  • button "[-OK-]", 9, 3 73 81 10, multi ok
  • }
  • on *:dialog:antipv:sclick:9:{ set %antipv $did(6) }
  • on *:dialog:antipv:*:*:{
  • if ($devent == sclick) && ($did(3).state == 1) { set %antipvclose on }
  • if ($devent == sclick) && ($did(3).state == 0) { set %antipvclose off }
  • if ($devent == sclick) && ($did(7).state == 1) { .enable #antipv }
  • if ($devent == sclick) && ($did(8).state == 1) { .disable #antipv }
  • if ($devent == sclick) && ($did(4).state == 1) { .set %antipvmess on }
  • if ($devent == sclick) && ($did(4).state == 0) { .set %antipvmess off }
  • if ($devent == init) && ($group(#antipv) == on) { did -c antipv 7 }
  • if ($devent == init) && ($group(#antipv) == off) { did -c antipv 8 }
  • if ($devent == init) && (%antipvmess == on) { did -c antipv 4 }
  • if ($devent == init) && (%antipv != $null) { did -ra antipv 6 %antipv }
  • if ($devent == init) && (%antipvclose == on) { did -c antipv 3 }
  • }
  • #antipv on
  • On 1:OPEN:?:{
  • if (%antipvclose == on) { close -m $nick }
  • if (%antipvmess == on) { msg $nick %antipv }
  • halt
  • }
  • #antipv end
alias pv {
  dialog -m antipv antipv
}

dialog antipv {
  title "Répondeur"
  size -1 -1 87 86
  option dbu
  box "Anti Pv", 1, 3 1 82 70
  text "[-Quand vous recevez un Pv-]", 2, 8 9 110 8
  check "Fermer le Pv", 3, 8 17 50 10
  check "Envoyer un message", 4, 8 26 67 10
  text "[-Message à envoyé-]", 5, 8 37 110 8
  edit %antipvmsg, 6, 8 47 71 10, autohs
  radio "Activer", 7, 8 59 30 10
  radio "Désactiver", 8, 44 59 33 10
  button "[-OK-]", 9, 3 73 81 10, multi ok
}


on *:dialog:antipv:sclick:9:{ set %antipv $did(6) }
on *:dialog:antipv:*:*:{
  if ($devent == sclick) && ($did(3).state == 1) { set %antipvclose on }
  if ($devent == sclick) && ($did(3).state == 0) { set %antipvclose off }
  if ($devent == sclick) && ($did(7).state == 1) { .enable #antipv }
  if ($devent == sclick) && ($did(8).state == 1) { .disable #antipv }
  if ($devent == sclick) && ($did(4).state == 1) { .set %antipvmess on }
  if ($devent == sclick) && ($did(4).state == 0) { .set %antipvmess off }
  if ($devent == init) && ($group(#antipv) == on) { did -c antipv 7 }
  if ($devent == init) && ($group(#antipv) == off) { did -c antipv 8 }
  if ($devent == init) && (%antipvmess == on) { did -c antipv 4 }
  if ($devent == init) && (%antipv != $null) { did -ra antipv 6 %antipv }
  if ($devent == init) && (%antipvclose == on) { did -c antipv 3 }
}

#antipv on
On 1:OPEN:?:{
  if (%antipvclose == on) { close -m $nick }
  if (%antipvmess == on) { msg $nick %antipv }
  halt
}
#antipv end

 Conclusion

(no comment²)


 Sources du même auteur

PTITS DIALOG DE CONFIGURATION DE JEUX

 Sources de la même categorie

Source avec une capture TORRENT VIEWER par kamikaze97441
Source avec Zip Source avec une capture PANNEAU DE CONFIGURATION PS7 par aliassangelius
LA CONFIGURATION D'UN EGGDROP QUI ENLÈVE LES BANS APRÈS X ... par Atok
Source avec Zip Source avec une capture DARKPROJECT - SCRIPT MIRC par Artwerks
Source avec une capture STATISTIQUES DISQUE(S) DUR(S) par Nort0n

Commentaires et avis

Commentaire de thyb le 04/10/2003 23:28:05

bah mouaif .. ta pas bcp d'option .. mais bon, c un bon debut ( je commence a devenir gentil avec toute les source de mer*** qu'il y avait avant ^^)

Commentaire de Fayen$ le 05/10/2003 00:09:28

lol j'avais mis (no comment) :p
tu as tout a fait raison ^^
pis d'abord lé tout mini pas comme certain avec leur fenetre de 2m² lol :p

Commentaire de NaNo45 le 14/10/2003 12:59:38

oué .... tu te prend tro la tete enfin bon

Commentaire de NaNo45 le 06/01/2004 21:52:27

#pv on

ON 1:OPEN:?:{
/notice $nick Je n'accepte pas de pvs désoler | closemsg
}

#pv end

 Ajouter un commentaire




Nos sponsors


Sondage...

Comparez les prix

CalendriCode

Mars 2010
LMMJVSD
1234567
891011121314
15161718192021
22232425262728
293031    

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 : 0,250 sec (4)

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