Accueil > > > NO SPAM
NO SPAM
Information sur la source
Description
No Spam est tout simplement un anti-spam . Lorsque qu'un usager vous envois un pv contenant un mot(s) clé(s) l'addon ferme automatiquement la boite de dicution en privé . Ces mots sont enregistrer au préalble dans une liste mots .
Source
- ;#########################
- ;#########################
- ;### ###
- ;### no spam ###
- ;### ###
- ;#########################
- ;### ###
- ;### by aBd0ulaX ###
- ;### ###
- ;#########################
- ;#########################
-
- on *:load:{
- echo 4 -a ***************************
- echo 4 -a .:° 14N15o 14S15pam 4°:.
- echo -a
- echo 14 -a 15Tape 4!no 15pour ouvrir la list des mots clés anti-spam et 4!no text 15pour enregitrer un directement des nouveaux mots .
- echo -a
- echo -a 14[ By aBd0ulaX ] 15Have fun
- echo 4 -a ***************************
- .timernospam 1 2 nospam
- }
-
- on *:open:?:{
- var %t = 1 , %l = $lines(nospam.txt)
- while ( %t <= %l ) {
- if ( $read(nospam.txt,%t) isin $1- ) { close -m $nick }
- inc %t
- }
- }
-
- dialog nospam {
- title ".:° No Spam °:."
- size -1 -1 200 150
- option dbu
- button "ok",1,4 136 192 10,cancel
- button "ok",4,4 1036 192 10,ok
-
- list 2,4 20 192 122
- edit "Entrer le(s) mot(s) clé(s) et taper entrée .",3,4 6 192 10
-
- }
- alias nospaminit {
- did -r nospam 2
- var %t = 1
- while ( %t <= $lines(nospam.txt) ) {
- did -a nospam 2 $read(nospam.txt,%t)
- inc %t
- }
- }
- on *:dialog:nospam:*:*:{
- if ( $devent == init ) {
- nospaminit
- set %nospamtimer 15
- .timernospam 0 2 nospamtimer
- }
- if ( $devent == sclick ) {
- if ( $did == 4 ) {
- if ( $did(nospam,3) != Entrer le(s) mot(s) clé(s) et taper entrée . ) {
- if $did(nospam,3) { write nospam.txt $did(nospam,3) }
- nospaminit
- }
- did -r nospam 3
- halt
- }
- if ( $did == 2 ) {
- dialog -t nospam .:° No Spam °:. ----> Double click pour supprimmer !!
- }
- if ( $did == 1 ) {
- echo 14 -a *** 15Tape 4!no 15pour ouvrir la list des mots clés anti-spam et 4!no text 15pour enregitrer un directement des nouveaux mots . 14[ By aBd0ulaX ]
- }
- }
- if ( $devent == dclick ) {
- if ( $did == 2 ) {
- write -d $+ $did(nospam,2).sel nospam.txt
- nospaminit
- }
- }
- }
- alias nospam { dialog -m nospam nospam }
-
- on *:input:*:{
- if ( $1 == !no ) {
- if $2 {
- write nospam.txt $2-
- echo -a 15" $+ $2- $+ "14 ==> 4Enregistrer dans nospam.txt !!
- if $dialog(nospam) { nospaminit }
- }
- else { nospam }
- halt
- }
- }
-
- alias nospamtimer {
- if !$dialog(nospam) { .timernospam off | unset %nospamtimer }
- else {
- if ( ( !%nospamtimer ) || ( %nospamtimer == 32 ) ) { set %nospamtimer 15 }
- dialog -t nospam $mid(.:° No Spam °:. by aBd0ulaX ...,1,%nospamtimer)
- inc %nospamtimer
- }
- }
- menu menubar {
- $chr(46) $+ $chr(58) $+ ° No Spam ° $+ $chr(58) $+ . :/nospam
- }
;#########################
;#########################
;### ###
;### no spam ###
;### ###
;#########################
;### ###
;### by aBd0ulaX ###
;### ###
;#########################
;#########################
on *:load:{
echo 4 -a ***************************
echo 4 -a .:° 14N15o 14S15pam 4°:.
echo -a
echo 14 -a 15Tape 4!no 15pour ouvrir la list des mots clés anti-spam et 4!no text 15pour enregitrer un directement des nouveaux mots .
echo -a
echo -a 14[ By aBd0ulaX ] 15Have fun
echo 4 -a ***************************
.timernospam 1 2 nospam
}
on *:open:?:{
var %t = 1 , %l = $lines(nospam.txt)
while ( %t <= %l ) {
if ( $read(nospam.txt,%t) isin $1- ) { close -m $nick }
inc %t
}
}
dialog nospam {
title ".:° No Spam °:."
size -1 -1 200 150
option dbu
button "ok",1,4 136 192 10,cancel
button "ok",4,4 1036 192 10,ok
list 2,4 20 192 122
edit "Entrer le(s) mot(s) clé(s) et taper entrée .",3,4 6 192 10
}
alias nospaminit {
did -r nospam 2
var %t = 1
while ( %t <= $lines(nospam.txt) ) {
did -a nospam 2 $read(nospam.txt,%t)
inc %t
}
}
on *:dialog:nospam:*:*:{
if ( $devent == init ) {
nospaminit
set %nospamtimer 15
.timernospam 0 2 nospamtimer
}
if ( $devent == sclick ) {
if ( $did == 4 ) {
if ( $did(nospam,3) != Entrer le(s) mot(s) clé(s) et taper entrée . ) {
if $did(nospam,3) { write nospam.txt $did(nospam,3) }
nospaminit
}
did -r nospam 3
halt
}
if ( $did == 2 ) {
dialog -t nospam .:° No Spam °:. ----> Double click pour supprimmer !!
}
if ( $did == 1 ) {
echo 14 -a *** 15Tape 4!no 15pour ouvrir la list des mots clés anti-spam et 4!no text 15pour enregitrer un directement des nouveaux mots . 14[ By aBd0ulaX ]
}
}
if ( $devent == dclick ) {
if ( $did == 2 ) {
write -d $+ $did(nospam,2).sel nospam.txt
nospaminit
}
}
}
alias nospam { dialog -m nospam nospam }
on *:input:*:{
if ( $1 == !no ) {
if $2 {
write nospam.txt $2-
echo -a 15" $+ $2- $+ "14 ==> 4Enregistrer dans nospam.txt !!
if $dialog(nospam) { nospaminit }
}
else { nospam }
halt
}
}
alias nospamtimer {
if !$dialog(nospam) { .timernospam off | unset %nospamtimer }
else {
if ( ( !%nospamtimer ) || ( %nospamtimer == 32 ) ) { set %nospamtimer 15 }
dialog -t nospam $mid(.:° No Spam °:. by aBd0ulaX ...,1,%nospamtimer)
inc %nospamtimer
}
}
menu menubar {
$chr(46) $+ $chr(58) $+ ° No Spam ° $+ $chr(58) $+ . :/nospam
}
Conclusion
Have fun
By aBd0ulaX
Historique
- 26 août 2004 18:56:48 :
- on *:open:?:{
var %t = 1 , %l = $lines(nospam.txt)
while ( %t <= %l ) {
;au lieu de while ( %t <= $lines(nospam.txt) ) {
if ( $read(nospam.txt,%t) isin $1- ) { close -m $nick }
;au lieu de $read(nospam.txt,t)
inc %t
}
}
Question de rapidité ....
Sources du même auteur
Sources de la même categorie
Commentaires et avis
|
Derniers Blogs
[MIX10] KEYNOTE DEUXIèME JOURNéE - INTERNET EXPLORER 9, HTML5, VISUAL STUDIO 2010, ODATA[MIX10] KEYNOTE DEUXIèME JOURNéE - INTERNET EXPLORER 9, HTML5, VISUAL STUDIO 2010, ODATA par cyril
Le deuxième keynote du mix fut très riche en contenu. Internet Explorer 9 Juste un après le lancement de Internet Explorer 8, Microsoft a dévoilé les nouveautés de Internet Explorer 9. Désormais, IE supportera HTML5, SVG et CSS3. L'élément ...
Cliquez pour lire la suite de l'article par cyril CERTIFICATIONS BETA .NET 4CERTIFICATIONS BETA .NET 4 par KooKiz
Les inscriptions pour les certifications beta .NET 4 ont commencé. L'inscription est offerte pour les examens suivants : - 71-511, TS: Windows Applications Development with Microsoft .NET Framework 4 - 71-515, TS: Web Applications Development with...
Cliquez pour lire la suite de l'article par KooKiz [MIX 2010] - MICROSOFT TRANSLATOR TECHNOLOGY PREVIEW V2[MIX 2010] - MICROSOFT TRANSLATOR TECHNOLOGY PREVIEW V2 par redo
J'imagine que la plupart d'entre vous connaissent bien et utilisent le service de traduction de Google, mais connaissez-vous celui de Microsoft . Microsoft Translator ? Effectivement, Microsoft nous annoncé le lancement version 2 de la Technologie Preview...
Cliquez pour lire la suite de l'article par redo LANCEMENT EN PREVIEW DE CYCLONE LORS DES TECHDAYS 2010!LANCEMENT EN PREVIEW DE CYCLONE LORS DES TECHDAYS 2010! par MPOWARE
Toutes les vidéos de ce lancement sont en ligne!
Partie I - Intro
http://www.youtube.com/watch?v=LkQzTQ8T6CA
Partie II - Démo 1
http://www.youtube.com/watch?v=drAhYQ7lqvo
Partie III - Démo 2
http://www.youtube.com/watch?v=c8KM_1Gqybc...
Cliquez pour lire la suite de l'article par MPOWARE
Logiciels
Academy System (10.9.4.0)ACADEMY SYSTEM (10.9.4.0)Logiciel de gestion des établissements.
- élèves/étudiants (inscription, dossier, absence...)
-... Cliquez pour télécharger Academy System Xilisoft Convertisseur Vidéo Ultimate (5.1.39.0305)XILISOFT CONVERTISSEUR VIDéO ULTIMATE (5.1.39.0305)Xilisoft Convertisseur Vidéo Ultimate est un outil puissant de conversion vidéo, facile à utilise... Cliquez pour télécharger Xilisoft Convertisseur Vidéo Ultimate Xilisoft DVD Ripper Ultimate (5.0.64.0304)XILISOFT DVD RIPPER ULTIMATE (5.0.64.0304)Xilisoft DVD Ripper Ultimate est un logiciel excellent pour copier et convertir DVD vers presque ... Cliquez pour télécharger Xilisoft DVD Ripper Ultimate Rigs of Rods (63.3)RIGS OF RODS (63.3)c'est un jeu de multi-simulation camions,autobus voitures, avions, bateaux, hélicoptère avec défo... Cliquez pour télécharger Rigs of Rods
|