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
[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
|