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
TECHDAYS PARIS 2010 : CONNECTEZ VOS DONNéES à SHAREPOINT 2010 AVEC LES BUSINESS CONNECTIVITY SERVICESTECHDAYS PARIS 2010 : CONNECTEZ VOS DONNéES à SHAREPOINT 2010 AVEC LES BUSINESS CONNECTIVITY SERVICES par ROMELARD Fabrice
Animé par: Gaetan Bouveret et Julien Chomarat Business Connectivity Services (BCS) est dans SharePoint 2010 la version 2 de Business Data Catalog (BDC dans SharePoint 2007). Il s'agit de la solution permettant de visualiser des données provenan...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice [DIVERS] SUIVRE VOS SéRIES PRéFéRéS SUR LA TOILE[DIVERS] SUIVRE VOS SéRIES PRéFéRéS SUR LA TOILE par orion
Comme de nombreux geek, je suis un grand amateur de série TV et je rate régulièrement des épisodes de mes séries préférés. Une solution s'offre à vous avec ce merveilleux site : Tv Gorge - www.tvgorge.com Moteur de recherche à l'appui, vous pouvez ...
Cliquez pour lire la suite de l'article par orion TECHDAYS PARIS 2010 : LA BI DANS SHAREPOINT 2010TECHDAYS PARIS 2010 : LA BI DANS SHAREPOINT 2010 par ROMELARD Fabrice
Animé par: Vincent Bellet et Baptiste Giraudier La BI dans SharePoint 2010, Les nouveaux services d'application dans SP2010 et SQL Server Reporting services 2008 R2. La BI dans SharePoint est généralisée pour tous afin de permettre à tous les coll...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice TECHDAYS PARIS 2010 : PLAN DE MIGRATION VERS SHAREPOINT 2010TECHDAYS PARIS 2010 : PLAN DE MIGRATION VERS SHAREPOINT 2010 par ROMELARD Fabrice
Animé par: Arnault Nouvel et Antoine Dongois Le processus à prendre : Apprendre (découvrir la plateforme) Préparer (documenter l'historique et choisir la méthode de MAJ) Test (Test de MAJ) Implémenter (Effectuer la MAJ) Valid...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice
Forum
RE : ON RAWMODERE : ON RAWMODE par WorldDMT
Cliquez pour lire la suite par WorldDMT AVERTISSMENT ET KIKKAVERTISSMENT ET KIKK par mouhcine951990
Cliquez pour lire la suite par mouhcine951990
Logiciels
DB-MAIN (9.1.0)DB-MAIN (9.1.0)DB-MAIN is a data-modeling and data-architecture tool. It is designed to help developers and anal... Cliquez pour télécharger DB-MAIN Xilisoft DPG Convertisseur (5.1.37.0120)XILISOFT DPG CONVERTISSEUR (5.1.37.0120)Xilisoft DPG Convertisseur offre aux fans de Nintendo DS une bonne solution leur permettant de dé... Cliquez pour télécharger Xilisoft DPG Convertisseur GraphicsGale (2.01.01)GRAPHICSGALE (2.01.01)GraphicsGale est un logiciel de PixelArt avec de nombreuse fonctionnalités permettant de réalisé ... Cliquez pour télécharger GraphicsGale Architecte 3D (Platinum 2010)ARCHITECTE 3D (PLATINUM 2010)Architecte 3D Platinium vous permet de concevoir facilement les plans votre future maison, de l'é... Cliquez pour télécharger Architecte 3D TeamViewer 5 (TeamViewer 5)TEAMVIEWER 5 (TEAMVIEWER 5)Dépanner un ami,expliquer une manipulation devient un jeu d'enfant.
Prise en main d'un autre ord... Cliquez pour télécharger TeamViewer 5
|