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
[SHAREPOINT] LES SESSIONS TECHDAYS 2012.[SHAREPOINT] LES SESSIONS TECHDAYS 2012. par Patrick Guimonet
Voici donc pour ceux qui n'ont pas pu venir, ou ceux qui n'ont pas pu toutes les suivre la liste des sessions SharePoint aux TechDays 2012, que je mettrais à jour dès que les liens des vidéo seront disponibles. Ou ici : http...
Cliquez pour lire la suite de l'article par Patrick Guimonet TECHDAYS PARIS 2012 : SESSION PLEINIèRE JOUR 3TECHDAYS PARIS 2012 : SESSION PLEINIèRE JOUR 3 par ROMELARD Fabrice
Speaker: Bernard Ourghanlian Cette session est comme chaque jour transmise en live par BrainSonic, et j'ai donc suivi cette troisième pleinière par ce moyen sur mon iPad . Elle est dédiée comme chaque année à la mise en perspective de l'é...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice MISHRA READER : UN LECTEUR RSS TRèS ZUNE STYLE EN OPEN SOURCE !MISHRA READER : UN LECTEUR RSS TRèS ZUNE STYLE EN OPEN SOURCE ! par Vko
Hier durant une session dédiée aux Techdays 2012, j'ai eu le plaisir d'annoncer la sortie de la Béta 2 de Mishra Reader. C'est quoi ? Pour les utilisateurs, c'est une vraie expérience de lecture de flux RSS sur Windows. Rien à voir avec les produit...
Cliquez pour lire la suite de l'article par Vko [FRAMEWORK 4] LES TASKS ET LE THREAD UI[FRAMEWORK 4] LES TASKS ET LE THREAD UI par fathi
Je viens de passer quelques temps au TechDay's et j'ai pu voir pas mal de session intéressante. Par contre une chose m'a un peu étonné lors de certaines de ces sessions qui abordaient les améliorations du framework .NET (donc le 4.5) : en gros, bea...
Cliquez pour lire la suite de l'article par fathi WORKFLOW FOUNDATION 3 A UN PIED DANS LA TOMBEWORKFLOW FOUNDATION 3 A UN PIED DANS LA TOMBE par JeremyJeanson
Depuis déjà un an, je conseille vivement les utilisateurs de Workflow Foundation 3 à migrer vers la version 4. L'information qui va suivre ne devrait donc pas trop prendre au dépourvu les personnes qui m'ont suivi. Je profite de ce poste, pour faire le re...
Cliquez pour lire la suite de l'article par JeremyJeanson
Forum
RE : AIDERE : AIDE par Nico26000
Cliquez pour lire la suite par Nico26000 RE : AIDERE : AIDE par WorldDMT
Cliquez pour lire la suite par WorldDMT AIDEAIDE par Nico26000
Cliquez pour lire la suite par Nico26000
Logiciels
Academy System (17.2.1.0)ACADEMY SYSTEM (17.2.1.0)Logiciel de gestion des établissements.
- élèves/étudiants (inscription, dossier, absence...)
-... Cliquez pour télécharger Academy System Easy-Planning (1.0.0.1)EASY-PLANNING (1.0.0.1)Basé sur les mêmes principes que MyPlanning, Easy-Planning permet de créer des plannings sous la ... Cliquez pour télécharger Easy-Planning COLLECTOR PLUS (3.00B)COLLECTOR PLUS (3.00B)COLLECTOR PLUS version 3.00B est un logiciel utilisant une base de données alimentée par :
- L... Cliquez pour télécharger COLLECTOR PLUS PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO (V7.4)PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO (V7.4)PONAMEDIA TV DEVIENS HELLLOOO FLASH
LA TV SUR VOTRE ORDINATEUR.
Toute une plateforme Multi... Cliquez pour télécharger PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO LettresFaciles 2011 (8.0.0.1)LETTRESFACILES 2011 (8.0.0.1)LettresFaciles est un logiciel facilitant la création et la rédaction de lettres types.
Son inte... Cliquez pour télécharger LettresFaciles 2011
|