begin process at 2012 02 11 21:00:50
  Trouver un code source :
 
dans
 
Accueil > 

Code

 > 

AddOns

 > ANTIPV

ANTIPV


 Information sur la source

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

  • 1

  • 2

  • 3

  • 4

  • 5

  • 6

  • 7

  • 8

  • 9

  • 10
Catégorie :AddOns Niveau :Débutant Date de création :29/05/2003 Date de mise à jour :29/05/2003 20:12:30 Vu :3 260

Auteur : MisterAno

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

 Description

Cet addon en dialog permet de refermer les PVs en envoyant un message au mec qui ouvre le PV

Source

  • menu menubar,channel {
  • AntiPV : dialog -m antipv antipv
  • }
  • dialog antipv {
  • title "Antipv par ---Anonyme---"
  • size -1 -1 138 118
  • option dbu
  • box "Anti PV", 1, 6 7 124 75
  • text "Que faire lorsque vous recevez un PV ?", 2, 13 17 110 8
  • check "Fermer le PV", 3, 13 28 50 10
  • check "Envoyer un message", 4, 13 40 67 10
  • text "Message envoyé : ", 5, 14 56 50 8
  • edit %antipvmsg, 6, 14 67 108 10, autohs
  • radio "Activer", 7, 11 90 50 10
  • radio "Désactiver", 8, 11 102 50 10
  • button "OK", 9, 60 91 69 20, 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 off
  • On 1:OPEN:?:{
  • if (%antipvclose == on) { close -m $nick }
  • if (%antipvmess == on) { .msg $nick %antipv }
  • halt
  • }
  • #antipv end
menu menubar,channel {
  AntiPV : dialog -m antipv antipv
}

dialog antipv {
  title "Antipv par ---Anonyme---"
  size -1 -1 138 118
  option dbu
  box "Anti PV", 1, 6 7 124 75
  text "Que faire lorsque vous recevez un PV ?", 2, 13 17 110 8
  check "Fermer le PV", 3, 13 28 50 10
  check "Envoyer un message", 4, 13 40 67 10
  text "Message envoyé : ", 5, 14 56 50 8
  edit %antipvmsg, 6, 14 67 108 10, autohs
  radio "Activer", 7, 11 90 50 10
  radio "Désactiver", 8, 11 102 50 10
  button "OK", 9, 60 91 69 20, 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 off
On 1:OPEN:?:{
  if (%antipvclose == on) { close -m $nick }
  if (%antipvmess == on) { .msg $nick %antipv }
  halt
}
#antipv end



 Sources du même auteur

PSEUDO' CONFIGURATION
L'ASV
Source avec une capture AWAY SYSTEM
OPTIONS PV
MARS_QUEDUBONHEUR

 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 mitch_lebuzz le 16/02/2005 23:35:13

jaimerais savoir ou lintaller dans mirc  lanti pv

Commentaire de punk6_2 le 28/03/2005 15:59:58

Tu vas dans remote (alt R) tu fais fichier nouveau et tu met le code !

Il est vrément cool ton anti pv !!!!!!!!! C'est celui que je met à tous mes bot!! Bonne continuation !

Commentaire de KainKiller le 08/12/2005 15:30:31

Bonjour , bon deja :
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 }

mettre plusieurs fois if ($devent == sclick) ne sert a rien, autant faire :

if ($devent == sclick) {
  if ($did(3).state == 1) { set %antipvclose on  }
  if ($did(3).state == 0) { set %antipvclose off }
  if ... etc etc
  }
}

Pareil pour les edit :)

Commentaire de KainKiller le 08/12/2005 15:32:00

Les init pardon ^^

 Ajouter un commentaire




Nos sponsors


Sondage...

Comparez les prix

CalendriCode

Février 2012
LMMJVSD
  12345
6789101112
13141516171819
20212223242526
272829    

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

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