Accueil > > > ANTIPUB :-)
ANTIPUB :-)
Information sur la source
Description
ben.; un antipub, basé sur les classiques #, http, www, .com, .fr et // prononcés sur chan qui est modéré ;-) ce code n'est opérationnel que si vous êtes op sur un chan - et que vous avez les access pour kick/ban, bien sur :-) comment l'addon réagit => 1ere fois. notice a celui qui a prononcé la pub 2eme fois : kické 3eme kicke+ban pour 1 jour 4e et plus (si vous avez effacé une des variables : kick + ban definitif
Source
- on *:TEXT:*:#:{
- set %active $chan
- if (%stop == $null) { set %stop oui }
- set %i 1
- while (%i => 8) {
- if (%active == %chan.antipub $+ %i && %chan.antipub.stop $+ %i == oui) { set %stop oui | set %i 9 }
- inc %i
- }
- if (%stop == non) {
- if (( www isin $1- ) && ( $me isop $chan )) { .set %Nick.Ban $nick | inc %Pub. [ $+ [ %Nick.Ban ] ]
- if ( %Pub. [ $+ [ %Nick.Ban ] ] == $null ) { .set %Pub. [ $+ [ %Nick.Ban ] ] 0 }
- elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 1 ) { .notice $nick Cela constitue une régle violée des lois de ce chan, ceci est ton %Pub. [ $+ [ %Nick.Ban ] ] er avertiseemnt, au 2em tu es kické, au 3eme banni... la pub se fait en PV merci }
- elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 2 ) { .kick $chan $nick ceci est ton [ %Pub. [ $+ [ %Nick.Ban ] ] eme avertissement }
- elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 3 ) { .ban -u86400 $chan $nick | .kick $chan $nick ceci etait ton %Pub. [ $+ [ %Nick.Ban ] ] eme avertissement .. tu est banni pour 1 jour }
- elseif ( %Pub. [ $+ [ %Nick.Ban ] ] >= 4 ) { .ban $chan $nick ton ban est définitif | .kick $chan $nick | unset %pub. [ $+ [ %Nick.Ban ] ] | unset %Nick.Ban }
- else { .msg $chan commande inconnue anti-insultes carpediem.mrc }
- haltdef }
-
- elseif (( http isin $1- ) && ( $me isop $chan )) { .set %Nick.Ban $nick | inc %Pub. [ $+ [ %Nick.Ban ] ]
- if ( %Pub. [ $+ [ %Nick.Ban ] ] == $null ) { .set %Pub. [ $+ [ %Nick.Ban ] ] 0 }
- elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 1 ) { .notice $nick Cela constitue une régle violée des lois de ce chan, ceci est ton %Pub. [ $+ [ %Nick.Ban ] ] er avertiseemnt, au 2em tu es kické, au 3eme banni... la pub se fait en PV merci }
- elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 2 ) { .kick $chan $nick ceci est ton [ %Pub. [ $+ [ %Nick.Ban ] ] eme avertissement }
- elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 3 ) { .ban -u86400 $chan $nick | .kick $chan $nick ceci etait ton %Pub. [ $+ [ %Nick.Ban ] ] eme avertissement .. tu est banni pour 1 jour }
- elseif ( %Pub. [ $+ [ %Nick.Ban ] ] >= 4 ) { .ban $chan $nick ton ban est définitif | .kick $chan $nick | unset %pub. [ $+ [ %Nick.Ban ] ] | unset %Nick.Ban }
- else { .msg $chan commande inconnue anti-insultes carpediem.mrc }
- haltdef }
-
- elseif (( # isin $1- ) && ( $me isop $chan )) { .set %Nick.Ban $nick | inc %Pub. [ $+ [ %Nick.Ban ] ]
- if ( %Pub. [ $+ [ %Nick.Ban ] ] == $null ) { .set %Pub. [ $+ [ %Nick.Ban ] ] 0 }
- elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 1 ) { .notice $nick Cela constitue une régle violée des lois de ce chan, ceci est ton %Pub. [ $+ [ %Nick.Ban ] ] er avertiseemnt, au 2em tu es kické, au 3eme banni... la pub se fait en PV merci }
- elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 2 ) { .kick $chan $nick ceci est ton [ %Pub. [ $+ [ %Nick.Ban ] ] eme avertissement }
- elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 3 ) { .ban -u86400 $chan $nick | .kick $chan $nick ceci etait ton %Pub. [ $+ [ %Nick.Ban ] ] eme avertissement .. tu est banni pour 1 jour }
- elseif ( %Pub. [ $+ [ %Nick.Ban ] ] >= 4 ) { .ban $chan $nick ton ban est définitif | .kick $chan $nick | unset %pub. [ $+ [ %Nick.Ban ] ] | unset %Nick.Ban }
- else { .msg $chan commande inconnue anti-insultes carpediem.mrc }
- haltdef }
- elseif (( // isin $1- ) && ( $me isop $chan )) { .set %Nick.Ban $nick | inc %Pub. [ $+ [ %Nick.Ban ] ]
- if ( %Pub. [ $+ [ %Nick.Ban ] ] == $null ) { .set %Pub. [ $+ [ %Nick.Ban ] ] 0 }
- elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 1 ) { .notice $nick Cela constitue une régle violée des lois de ce chan, ceci est ton %Pub. [ $+ [ %Nick.Ban ] ] er avertiseemnt, au 2em tu es kické, au 3eme banni... la pub se fait en PV merci }
- elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 2 ) { .kick $chan $nick ceci est ton [ %Pub. [ $+ [ %Nick.Ban ] ] eme avertissement }
- elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 3 ) { .ban -u86400 $chan $nick | .kick $chan $nick ceci etait ton %Pub. [ $+ [ %Nick.Ban ] ] eme avertissement .. tu est banni pour 1 jour }
- elseif ( %Pub. [ $+ [ %Nick.Ban ] ] >= 4 ) { .ban $chan $nick ton ban est définitif | .kick $chan $nick | unset %pub. [ $+ [ %Nick.Ban ] ] | unset %Nick.Ban }
- else { .msg $chan commande inconnue anti-insultes nom du script }
- haltdef }
-
- elseif (( .com isin $1- ) && ( $me isop $chan )) { .set %Nick.Ban $nick | inc %Pub. [ $+ [ %Nick.Ban ] ]
- if ( %Pub. [ $+ [ %Nick.Ban ] ] == $null ) { .set %Pub. [ $+ [ %Nick.Ban ] ] 0 }
- elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 1 ) { .notice $nick Cela constitue une régle violée des lois de ce chan, ceci est ton %Pub. [ $+ [ %Nick.Ban ] ] er avertiseemnt, au 2em tu es kické, au 3eme banni... la pub se fait en PV merci }
- elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 2 ) { .kick $chan $nick ceci est ton [ %Pub. [ $+ [ %Nick.Ban ] ] eme avertissement }
- elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 3 ) { .ban -u86400 $chan $nick | .kick $chan $nick ceci etait ton %Pub. [ $+ [ %Nick.Ban ] ] eme avertissement .. tu est banni pour 1 jour }
- elseif ( %Pub. [ $+ [ %Nick.Ban ] ] >= 4 ) { .ban $chan $nick ton ban est définitif | .kick $chan $nick | unset %pub. [ $+ [ %Nick.Ban ] ] | unset %Nick.Ban }
- else { .msg $chan commande inconnue anti-insultes nom du script }
- haltdef }
-
- elseif (( .fr isin $1- ) && ( $me isop $chan )) { .set %Nick.Ban $nick | inc %Pub. [ $+ [ %Nick.Ban ] ]
- if ( %Pub. [ $+ [ %Nick.Ban ] ] == $null ) { .set %Pub. [ $+ [ %Nick.Ban ] ] 0 }
- elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 1 ) { .notice $nick Cela constitue une régle violée des lois de ce chan, ceci est ton %Pub. [ $+ [ %Nick.Ban ] ] er avertiseemnt, au 2em tu es kické, au 3eme banni... la pub se fait en PV merci }
- elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 2 ) { .kick $chan $nick ceci est ton [ %Pub. [ $+ [ %Nick.Ban ] ] eme avertissement }
- elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 3 ) { .ban -u86400 $chan $nick | .kick $chan $nick ceci etait ton %Pub. [ $+ [ %Nick.Ban ] ] eme avertissement .. tu est banni pour 1 jour }
- elseif ( %Pub. [ $+ [ %Nick.Ban ] ] >= 4 ) { .ban $chan $nick ton ban est définitif | .kick $chan $nick | unset %pub. [ $+ [ %Nick.Ban ] ] | unset %Nick.Ban }
- else { .msg $chan commande inconnue anti-insultes nom du script }
- haltdef }
- }
- }
-
- dialog antipub_canaux {
- title "Canaux autorisés pour l'antipub :-) Made By Carpediem666fr"
- size -1 -1 192 74
- option dbu
-
- text "Canaux où autoriser la publicité:", 3, 24 3 132 8, center
- button "&OK", 5, 126 58 37 12, ok cancel
-
- edit "", 1, 35 14 50 10
- edit "", 7, 35 24 50 10
- edit "", 2, 35 34 50 10
- edit "", 8, 35 44 50 10
- edit "", 12, 132 14 50 10
- edit "", 11, 132 24 50 10
- edit "", 10, 132 34 50 10
- edit "", 9, 132 44 50 10
-
- check "Canal 1", 6, 3 15 32 10
- check "Canal 2", 13, 3 25 32 10
- check "Canal 3", 14, 3 35 32 10
- check "Canal 4", 15, 3 45 32 10
- check "Canal 5", 16, 99 15 32 10
- check "Canal 6", 17, 99 25 32 10
- check "Canal 7", 18, 99 35 32 10
- check "Canal 8", 19, 99 45 32 10
- icon 4, 2 56 15 15
- link "http://www.onlyu.fr.st", 20, 22 60 60 8
- }
-
- on *:dialog:antipub_canaux:*:*:{
- if ($devent == init) {
- }
- if ($devent == sclick) {
- if ($did == 20) { run http://www.onlyu.fr.st }
- if ($did == 6) {
- if ($did(6).state == 1) { set %chan.antipub.stop1 oui | did -rea antipub_canaux 1 %chan.antipub1 }
- if ($did(6).state == 0) { set %chan.antipub.stop1 non | did -rba antipub_canaux 1 }
- }
- if ($did == 13) {
- if ($did(13).state == 1) { set %chan.antipub.stop2 oui | did -rea antipub_canaux 7 %chan.antipub2 }
- if ($did(13).state == 0) { set %chan.antipub.stop2 non | did -rba antipub_canaux 7 }
- }
- if ($did == 14) {
- if ($did(14).state == 1) { set %chan.antipub.stop3 oui | did -rea antipub_canaux 2 %chan.antipub3 }
- if ($did(14).state == 0) { set %chan.antipub.stop3 non | did -rba antipub_canaux 2 }
- }
- if ($did == 15 ) {
- if ($did(15).state == 1) { set %chan.antipub.stop4 oui | did -rea antipub_canaux 8 %chan.antipub4 }
- if ($did(15).state == 0) { set %chan.antipub.stop4 non | did -rba antipub_canaux 8 }
- }
- if ($did == 16) {
- if ($did(16).state == 1) { set %chan.antipub.stop5 oui | did -rea antipub_canaux 12 %chan.antipub5 }
- if ($did(16).state == 0) { set %chan.antipub.stop5 non | did -rba antipub_canaux 12 }
- }
- if ($did == 17) {
- if ($did(17).state == 1) { set %chan.antipub.stop6 oui | did -rea antipub_canaux 11 %chan.antipub6 }
- if ($did(17).state == 0) { set %chan.antipub.stop6 non | did -rba antipub_canaux 11 }
- }
- if ($did == 18 ) {
- if ($did(18).state == 1) { set %chan.antipub.stop7 oui | did -rea antipub_canaux 10 %chan.antipub7 }
- if ($did(18).state == 0) { set %chan.antipub.stop7 non | did -rba antipub_canaux 10 }
- }
- if ($did == 19) {
- if ($did(19).state == 1) { set %chan.antipub.stop8 oui | did -rea antipub_canaux 9 %chan.antipub8 }
- if ($did(19).state == 0) { set %chan.antipub.stop8 non | did -rba antipub_canaux 9 }
- }
- }
- if ($devent == edit) {
- if ($did == 1) { set %chan.antipub1 $did(1) }
- if ($did == 7) { set %chan.antipub2 $did(7) }
- if ($did == 2) { set %chan.antipub3 $did(2) }
- if ($did == 8) { set %chan.antipub4 $did(8) }
- if ($did == 12) { set %chan.antipub5 $did(12) }
- if ($did == 11) { set %chan.antipub6 $did(11) }
- if ($did == 10 ) { set %chan.antipub7 $did(10) }
- if ($did == 9) { set %chan.antipub8 $did(9) }
- }
- }
-
-
- menu * {
- [=-antipub-=]:dialog -m antipub_canaux antipub_canaux
- }
on *:TEXT:*:#:{
set %active $chan
if (%stop == $null) { set %stop oui }
set %i 1
while (%i => 8) {
if (%active == %chan.antipub $+ %i && %chan.antipub.stop $+ %i == oui) { set %stop oui | set %i 9 }
inc %i
}
if (%stop == non) {
if (( www isin $1- ) && ( $me isop $chan )) { .set %Nick.Ban $nick | inc %Pub. [ $+ [ %Nick.Ban ] ]
if ( %Pub. [ $+ [ %Nick.Ban ] ] == $null ) { .set %Pub. [ $+ [ %Nick.Ban ] ] 0 }
elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 1 ) { .notice $nick Cela constitue une régle violée des lois de ce chan, ceci est ton %Pub. [ $+ [ %Nick.Ban ] ] er avertiseemnt, au 2em tu es kické, au 3eme banni... la pub se fait en PV merci }
elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 2 ) { .kick $chan $nick ceci est ton [ %Pub. [ $+ [ %Nick.Ban ] ] eme avertissement }
elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 3 ) { .ban -u86400 $chan $nick | .kick $chan $nick ceci etait ton %Pub. [ $+ [ %Nick.Ban ] ] eme avertissement .. tu est banni pour 1 jour }
elseif ( %Pub. [ $+ [ %Nick.Ban ] ] >= 4 ) { .ban $chan $nick ton ban est définitif | .kick $chan $nick | unset %pub. [ $+ [ %Nick.Ban ] ] | unset %Nick.Ban }
else { .msg $chan commande inconnue anti-insultes carpediem.mrc }
haltdef }
elseif (( http isin $1- ) && ( $me isop $chan )) { .set %Nick.Ban $nick | inc %Pub. [ $+ [ %Nick.Ban ] ]
if ( %Pub. [ $+ [ %Nick.Ban ] ] == $null ) { .set %Pub. [ $+ [ %Nick.Ban ] ] 0 }
elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 1 ) { .notice $nick Cela constitue une régle violée des lois de ce chan, ceci est ton %Pub. [ $+ [ %Nick.Ban ] ] er avertiseemnt, au 2em tu es kické, au 3eme banni... la pub se fait en PV merci }
elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 2 ) { .kick $chan $nick ceci est ton [ %Pub. [ $+ [ %Nick.Ban ] ] eme avertissement }
elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 3 ) { .ban -u86400 $chan $nick | .kick $chan $nick ceci etait ton %Pub. [ $+ [ %Nick.Ban ] ] eme avertissement .. tu est banni pour 1 jour }
elseif ( %Pub. [ $+ [ %Nick.Ban ] ] >= 4 ) { .ban $chan $nick ton ban est définitif | .kick $chan $nick | unset %pub. [ $+ [ %Nick.Ban ] ] | unset %Nick.Ban }
else { .msg $chan commande inconnue anti-insultes carpediem.mrc }
haltdef }
elseif (( # isin $1- ) && ( $me isop $chan )) { .set %Nick.Ban $nick | inc %Pub. [ $+ [ %Nick.Ban ] ]
if ( %Pub. [ $+ [ %Nick.Ban ] ] == $null ) { .set %Pub. [ $+ [ %Nick.Ban ] ] 0 }
elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 1 ) { .notice $nick Cela constitue une régle violée des lois de ce chan, ceci est ton %Pub. [ $+ [ %Nick.Ban ] ] er avertiseemnt, au 2em tu es kické, au 3eme banni... la pub se fait en PV merci }
elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 2 ) { .kick $chan $nick ceci est ton [ %Pub. [ $+ [ %Nick.Ban ] ] eme avertissement }
elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 3 ) { .ban -u86400 $chan $nick | .kick $chan $nick ceci etait ton %Pub. [ $+ [ %Nick.Ban ] ] eme avertissement .. tu est banni pour 1 jour }
elseif ( %Pub. [ $+ [ %Nick.Ban ] ] >= 4 ) { .ban $chan $nick ton ban est définitif | .kick $chan $nick | unset %pub. [ $+ [ %Nick.Ban ] ] | unset %Nick.Ban }
else { .msg $chan commande inconnue anti-insultes carpediem.mrc }
haltdef }
elseif (( // isin $1- ) && ( $me isop $chan )) { .set %Nick.Ban $nick | inc %Pub. [ $+ [ %Nick.Ban ] ]
if ( %Pub. [ $+ [ %Nick.Ban ] ] == $null ) { .set %Pub. [ $+ [ %Nick.Ban ] ] 0 }
elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 1 ) { .notice $nick Cela constitue une régle violée des lois de ce chan, ceci est ton %Pub. [ $+ [ %Nick.Ban ] ] er avertiseemnt, au 2em tu es kické, au 3eme banni... la pub se fait en PV merci }
elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 2 ) { .kick $chan $nick ceci est ton [ %Pub. [ $+ [ %Nick.Ban ] ] eme avertissement }
elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 3 ) { .ban -u86400 $chan $nick | .kick $chan $nick ceci etait ton %Pub. [ $+ [ %Nick.Ban ] ] eme avertissement .. tu est banni pour 1 jour }
elseif ( %Pub. [ $+ [ %Nick.Ban ] ] >= 4 ) { .ban $chan $nick ton ban est définitif | .kick $chan $nick | unset %pub. [ $+ [ %Nick.Ban ] ] | unset %Nick.Ban }
else { .msg $chan commande inconnue anti-insultes nom du script }
haltdef }
elseif (( .com isin $1- ) && ( $me isop $chan )) { .set %Nick.Ban $nick | inc %Pub. [ $+ [ %Nick.Ban ] ]
if ( %Pub. [ $+ [ %Nick.Ban ] ] == $null ) { .set %Pub. [ $+ [ %Nick.Ban ] ] 0 }
elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 1 ) { .notice $nick Cela constitue une régle violée des lois de ce chan, ceci est ton %Pub. [ $+ [ %Nick.Ban ] ] er avertiseemnt, au 2em tu es kické, au 3eme banni... la pub se fait en PV merci }
elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 2 ) { .kick $chan $nick ceci est ton [ %Pub. [ $+ [ %Nick.Ban ] ] eme avertissement }
elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 3 ) { .ban -u86400 $chan $nick | .kick $chan $nick ceci etait ton %Pub. [ $+ [ %Nick.Ban ] ] eme avertissement .. tu est banni pour 1 jour }
elseif ( %Pub. [ $+ [ %Nick.Ban ] ] >= 4 ) { .ban $chan $nick ton ban est définitif | .kick $chan $nick | unset %pub. [ $+ [ %Nick.Ban ] ] | unset %Nick.Ban }
else { .msg $chan commande inconnue anti-insultes nom du script }
haltdef }
elseif (( .fr isin $1- ) && ( $me isop $chan )) { .set %Nick.Ban $nick | inc %Pub. [ $+ [ %Nick.Ban ] ]
if ( %Pub. [ $+ [ %Nick.Ban ] ] == $null ) { .set %Pub. [ $+ [ %Nick.Ban ] ] 0 }
elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 1 ) { .notice $nick Cela constitue une régle violée des lois de ce chan, ceci est ton %Pub. [ $+ [ %Nick.Ban ] ] er avertiseemnt, au 2em tu es kické, au 3eme banni... la pub se fait en PV merci }
elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 2 ) { .kick $chan $nick ceci est ton [ %Pub. [ $+ [ %Nick.Ban ] ] eme avertissement }
elseif ( %Pub. [ $+ [ %Nick.Ban ] ] == 3 ) { .ban -u86400 $chan $nick | .kick $chan $nick ceci etait ton %Pub. [ $+ [ %Nick.Ban ] ] eme avertissement .. tu est banni pour 1 jour }
elseif ( %Pub. [ $+ [ %Nick.Ban ] ] >= 4 ) { .ban $chan $nick ton ban est définitif | .kick $chan $nick | unset %pub. [ $+ [ %Nick.Ban ] ] | unset %Nick.Ban }
else { .msg $chan commande inconnue anti-insultes nom du script }
haltdef }
}
}
dialog antipub_canaux {
title "Canaux autorisés pour l'antipub :-) Made By Carpediem666fr"
size -1 -1 192 74
option dbu
text "Canaux où autoriser la publicité:", 3, 24 3 132 8, center
button "&OK", 5, 126 58 37 12, ok cancel
edit "", 1, 35 14 50 10
edit "", 7, 35 24 50 10
edit "", 2, 35 34 50 10
edit "", 8, 35 44 50 10
edit "", 12, 132 14 50 10
edit "", 11, 132 24 50 10
edit "", 10, 132 34 50 10
edit "", 9, 132 44 50 10
check "Canal 1", 6, 3 15 32 10
check "Canal 2", 13, 3 25 32 10
check "Canal 3", 14, 3 35 32 10
check "Canal 4", 15, 3 45 32 10
check "Canal 5", 16, 99 15 32 10
check "Canal 6", 17, 99 25 32 10
check "Canal 7", 18, 99 35 32 10
check "Canal 8", 19, 99 45 32 10
icon 4, 2 56 15 15
link "http://www.onlyu.fr.st", 20, 22 60 60 8
}
on *:dialog:antipub_canaux:*:*:{
if ($devent == init) {
}
if ($devent == sclick) {
if ($did == 20) { run http://www.onlyu.fr.st }
if ($did == 6) {
if ($did(6).state == 1) { set %chan.antipub.stop1 oui | did -rea antipub_canaux 1 %chan.antipub1 }
if ($did(6).state == 0) { set %chan.antipub.stop1 non | did -rba antipub_canaux 1 }
}
if ($did == 13) {
if ($did(13).state == 1) { set %chan.antipub.stop2 oui | did -rea antipub_canaux 7 %chan.antipub2 }
if ($did(13).state == 0) { set %chan.antipub.stop2 non | did -rba antipub_canaux 7 }
}
if ($did == 14) {
if ($did(14).state == 1) { set %chan.antipub.stop3 oui | did -rea antipub_canaux 2 %chan.antipub3 }
if ($did(14).state == 0) { set %chan.antipub.stop3 non | did -rba antipub_canaux 2 }
}
if ($did == 15 ) {
if ($did(15).state == 1) { set %chan.antipub.stop4 oui | did -rea antipub_canaux 8 %chan.antipub4 }
if ($did(15).state == 0) { set %chan.antipub.stop4 non | did -rba antipub_canaux 8 }
}
if ($did == 16) {
if ($did(16).state == 1) { set %chan.antipub.stop5 oui | did -rea antipub_canaux 12 %chan.antipub5 }
if ($did(16).state == 0) { set %chan.antipub.stop5 non | did -rba antipub_canaux 12 }
}
if ($did == 17) {
if ($did(17).state == 1) { set %chan.antipub.stop6 oui | did -rea antipub_canaux 11 %chan.antipub6 }
if ($did(17).state == 0) { set %chan.antipub.stop6 non | did -rba antipub_canaux 11 }
}
if ($did == 18 ) {
if ($did(18).state == 1) { set %chan.antipub.stop7 oui | did -rea antipub_canaux 10 %chan.antipub7 }
if ($did(18).state == 0) { set %chan.antipub.stop7 non | did -rba antipub_canaux 10 }
}
if ($did == 19) {
if ($did(19).state == 1) { set %chan.antipub.stop8 oui | did -rea antipub_canaux 9 %chan.antipub8 }
if ($did(19).state == 0) { set %chan.antipub.stop8 non | did -rba antipub_canaux 9 }
}
}
if ($devent == edit) {
if ($did == 1) { set %chan.antipub1 $did(1) }
if ($did == 7) { set %chan.antipub2 $did(7) }
if ($did == 2) { set %chan.antipub3 $did(2) }
if ($did == 8) { set %chan.antipub4 $did(8) }
if ($did == 12) { set %chan.antipub5 $did(12) }
if ($did == 11) { set %chan.antipub6 $did(11) }
if ($did == 10 ) { set %chan.antipub7 $did(10) }
if ($did == 9) { set %chan.antipub8 $did(9) }
}
}
menu * {
[=-antipub-=]:dialog -m antipub_canaux antipub_canaux
}
Conclusion
mise à jour : un ti dialogue permettant de gérer les chans ou la pub est autorisée :-) Merci à Steve !
tous ces addons seront bientot dispo sur http://www.onlyu.fr.st -
Fichier Zip
Historique
- 21 septembre 2004 00:12:51 :
Sources du même auteur
Sources de la même categorie
Commentaires et avis
|
Derniers Blogs
SESSION SILVERLIGHT 5 3D : SLIDES ET DEMOSSESSION SILVERLIGHT 5 3D : SLIDES ET DEMOS par Groc
Durant les techdays, j'ai eu le plaisir d'animer une session sur Silverlight 5 et la 3D avec Simon Ferquel. Comme promis, voici nos slides et mes démos (celles avec le viper BSG) ici et là. Pour mémoire, les démos utilisent toutes le viper BSG...
Cliquez pour lire la suite de l'article par Groc [TECHDAYS 2012] SESSION WEBMATRIX 2 : LE COUTEAU SUISSE GRATUIT POUR VOS DéVELOPPEMENTS WEB - SLIDES[TECHDAYS 2012] SESSION WEBMATRIX 2 : LE COUTEAU SUISSE GRATUIT POUR VOS DéVELOPPEMENTS WEB - SLIDES par gpommier
Suite à la session que j'ai présenté sur WebMatrix 2, vous pouvez trouver les slides ici, ainsi que les démos en packages nuget : démos1 et démos2 J'en profite pour remercier chaleureusement tous ceux qui sont venus très nombreux à cette sess...
Cliquez pour lire la suite de l'article par gpommier [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
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
PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO (V8.4)PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO (V8.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 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 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
|