begin process at 2012 02 12 01:33:26
  Trouver un code source :
 
dans
 
Accueil > 

Code

 > 

AddOns

 > ANTIPV DE [GIO}V{ANI]

ANTIPV DE [GIO}V{ANI]


 Information sur la source

Note :
Aucune note
Catégorie :AddOns Niveau :Débutant Date de création :25/07/2003 Date de mise à jour :25/07/2003 03:07:33 Vu :3 136

Auteur : giovani54

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

 Description

antiPV assez simple je c...mais toujour utile.@+[GIO}v{ANI]

Source

  • menu menubar,chat,channel {
  • -
  • Anti PV : dialog -m antiPV antiPV
  • -
  • }
  • dialog antiPV {
  • title "{{-----------------------------------Anti PV pâr [GIO}v{ANI]------------------------------------}}"
  • size -1 -1 241 112
  • option dbu
  • check "Fermer le PV automatiquement a l'ouverture", 3, 8 15 115 10
  • check "Envoyé un message a l'ouverture d'un PV", 4, 125 15 108 10
  • box "Que faire à l'ouverture d'un PV", 10, 5 5 231 25
  • box "Message à envoyer à l'ouverture d'un PV", 11, 5 35 231 25
  • box "Activer ou désactiver l'anti PV", 12, 5 65 82 40
  • edit %antipvmsg, 6, 10 45 221 10, autohs
  • radio "Activer l'anti PV", 7, 11 75 50 10
  • radio "Désactiver l'anti PV", 8, 11 90 55 10
  • button "E N R E G I S T R E R", 9, 95 68 141 37.5, multi ok
  • }
  • on *:dialog:antiPV:sclick:9:{ set %antiPV $did(6) }
  • on *:dialog:antiPV:*:*:{
  • if ($devent == sclick) && ($did(3).state == 1) { set %antiPVferme on }
  • if ($devent == sclick) && ($did(3).state == 0) { set %antiPVferme 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 %antiPVmessage on }
  • if ($devent == sclick) && ($did(4).state == 0) { .set %antiPVmessage off }
  • if ($devent == init) && ($group(#antiPV) == on) { did -c antiPV 7 }
  • if ($devent == init) && ($group(#antiPV) == off) { did -c antiPV 8 }
  • if ($devent == init) && (%antiPVmessage == on) { did -c antipv 4 }
  • if ($devent == init) && (%antiPV != $null) { did -ra antipv 6 %antiPV }
  • if ($devent == init) && (%antiPVferme == on) { did -c antiPV 3 }
  • }
  • #antiPV on
  • On 1:OPEN:?:{
  • if (%antiPVferme == on) { close -m $nick }
  • if (%antiPVmessage == on) { .msg $nick %antiPV }
  • halt
  • }
  • #antiPV end
menu menubar,chat,channel {
  -
  Anti PV : dialog -m antiPV antiPV
  -
}

dialog antiPV {
  title "{{-----------------------------------Anti PV pâr [GIO}v{ANI]------------------------------------}}"
  size -1 -1 241 112
  option dbu
  check "Fermer le PV automatiquement a l'ouverture", 3, 8 15 115 10
  check "Envoyé un message a l'ouverture d'un PV", 4, 125 15 108 10
  box "Que faire à l'ouverture d'un PV", 10, 5 5 231 25
  box "Message à envoyer à l'ouverture d'un PV", 11, 5 35 231 25
  box "Activer ou désactiver l'anti PV", 12, 5 65 82 40
  edit %antipvmsg, 6, 10 45 221 10, autohs
  radio "Activer l'anti PV", 7, 11 75 50 10
  radio "Désactiver l'anti PV", 8, 11 90 55 10
  button "E N R E G I S T R E R", 9, 95 68 141 37.5, multi ok
}


on *:dialog:antiPV:sclick:9:{ set %antiPV $did(6) }
on *:dialog:antiPV:*:*:{
  if ($devent == sclick) && ($did(3).state == 1) { set %antiPVferme on }
  if ($devent == sclick) && ($did(3).state == 0) { set %antiPVferme 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 %antiPVmessage on }
  if ($devent == sclick) && ($did(4).state == 0) { .set %antiPVmessage off }
  if ($devent == init) && ($group(#antiPV) == on) { did -c antiPV 7 }
  if ($devent == init) && ($group(#antiPV) == off) { did -c antiPV 8 }
  if ($devent == init) && (%antiPVmessage == on) { did -c antipv 4 }
  if ($devent == init) && (%antiPV != $null) { did -ra antipv 6 %antiPV }
  if ($devent == init) && (%antiPVferme == on) { did -c antiPV 3 }
}

#antiPV on
On 1:OPEN:?:{
  if (%antiPVferme == on) { close -m $nick }
  if (%antiPVmessage == on) { .msg $nick %antiPV }
  halt
}
#antiPV end

 Conclusion

a coller dans vos remotes...@+  Bientot la version 2 de mon systeme d'away, avec son enregistreur de message, notice envoyé a chaque HL, et d'autre chose...Si j arrive lol. Je rapelle que je suis novice :p


 Sources du même auteur

ASV SYSTEME
AWAY & AUTO AWAY VERSION 1.2

 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 Tiboug le 25/07/2003 10:02:56

au lieu de deux radios,  ce seai mieu un check non ?

Commentaire de giovani54 le 25/07/2003 12:00:27

oui c vrai je changerai sa...Je compte fair un addon de tout mes addon's (qui ne son pas tres nombreux LOL) avec des onglets:repondeur,anti PV,away...la je changerai sa.merci de ton commentair,@+ [GIO}v{ANI]
:)

Commentaire de SaTEliT le 26/07/2003 11:45:29

le nom est bcp tro lon
"{{-----------------------------------Anti PV pâr [GIO}v{ANI]------------------------------------}}"
    
:s :s :s :s :s :s :s :s :s :s :s :s :s :s :s :s :s: :s :s :s: :s :s: :s

Commentaire de giovani54 le 27/07/2003 02:21:57

certes...Mais 'aime quand c centré, alor voila.@+ [GIO}v{ANI]

Commentaire de PuMaZ le 06/08/2003 17:37:23

Pitin les scripteur comme sa qui se complique la vie sa m'enerve :/ au lieu de ettre 30 000 if ($devent == sclick) && ($did(3).state ==1) { } et tout ton bordel,t'aurai pu mettre
if ($devent == init) {
if ($did(3).state == 1) { action }
if ($$did(4).state == 1) { action2)
}
apres ti fer le meme turc avec les sclick mais bon comme je dis souvent , le principal c ke sa marche :)

Commentaire de PuMaZ le 06/08/2003 17:38:22

oups if ($$did(4).state == 1) { action2)

enfin plutot if ($did(4).state == 1) { action2 }

Commentaire de NaNo45 le 21/01/2004 13:15:54

/closemsg :þ

 Ajouter un commentaire




Nos sponsors


Sondage...

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 : 2,168 sec (4)

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