- ce code à été créé par SornDrixer le 03 Mars 2004
- possibilité de désamorçage du ban complété par J4Gu4R sur autorisation de SornDrixer
- n'oublier pas que le rippage de code n'apporte rien et que son auteur à passé de son temps à le faire
- demander poliment pour l'exploitation d'une source ne coûte rien :p
- bon t'chat :))
-
- menu menubar,channel,nicklist {
- -
- bannir $$1 sur $chan :
- .activer:/bombe $$1
- .désactiver:/bombe off
- -
- }
-
- alias bombe {
- if ($1 == OFF) {
- .timers off
- msg %b.chan Bombe pour $+ %bomb.nick $+ , 4désamorcée
- unset %b*
- unset %essai_desamorce
- halt
- }
- if ($left($active,1) != $chr(35) || !$1 || $1 !ison $active || $me !isop $active) {
- halt
- }
- set %desamorce $rand(1,99)
- set %bomb.nick $1
- set %b.chan $active
- set %b.var .0GD@4V]R;E]$<FEX97(
- msg $active Bombe KickbanIonique pour $+ %bomb.nick $+ $+ , 4activée , tu as 10 secondes pour fuir ! ou tape 4 !bombe <chiffre entre 1 et 99> 12et t'aura un surci pour cette fois! ou encore tape simplement 4 !pardon 12 et t'évitera le ban...
- echo -a 4 le chiffre pour désamorcer la bombe est %desamorce
- var %b.tmp = 10, %b.constant = 10, %b.tmp2 = 0, %b.tmp3 = 0
- while %b.tmp2 < %b.tmp {
- dec %b.tmp
- inc %b.tmp3
- if %b.tmp == 0 {
- .timer 1 $calc(%b.tmp3 + 1) msg %b.chan 4 $+ %b.tmp $+ seconde $+ $chr(40) $+ s $+ $chr(41) restante $+ $chr(40) $+ s $+ $chr(41) 4- KICKBAN immédiat
- }
- else {
- if %b.tmp >= 5 {
- .timer 1 $calc(%b.tmp3 + 1) echo %b.chan 4 $+ %b.tmp $+ seconde $+ $chr(40) $+ s $+ $chr(41) restante $+ $chr(40) $+ s $+ $chr(41)
- }
- else {
- .timer 1 $calc(%b.tmp3 + 1) msg %b.chan 4 $+ %b.tmp $+ seconde $+ $chr(40) $+ s $+ $chr(41) restante $+ $chr(40) $+ s $+ $chr(41)
- }
- }
- }
- .timer 1 $calc(%b.constant + 1) bombe.verif.victime
- .timer 1 $calc(%b.constant + 1) go.bombe.explosion
- }
- alias -l bombe.verif.victime {
- if %bomb.nick !ison %b.chan {
- msg %b.chan Tu as bien fais de fuir $+ %bomb.nick $+ ! Bombe 4désamorcée
- .timers off
- unset %b*
- unset %essai_desamorce
- }
- }
-
- alias -l go.bombe.explosion {
- if $me isop %b.chan {
- mode %b.chan +b $address(%bomb.nick,2)
- kick %b.chan %bomb.nick Bombe kickbanionique - compte à rebour intégré $decode(%b.var)
- .timers off
- unset %b*
- }
- else {
- .timers off
- msg %b.chan Bombe pour $+ %bomb.nick $+ 4désamorcée !!
- unset %b*
- unset %essai_desamorce
- }
- }
-
- on *:NICK:{
- if %bomb.nick && %bomb.nick == $nick {
- set %bomb.nick $newnick
- }
- }
-
- on *:text:*:#:{
- if ( !bombe %desamorce isin $1- ) {
- .timers off
- msg %b.chan Bombe pour $+ %bomb.nick $+ , 4désamorcée
- msg %b.chan Bombe 3- c'est bon pour cette fois $+ %bomb.nick $+ , joue au loto!!
- unset %b*
- unset %bomb.nick
- unset %essai_desamorce
- halt
- }
- if ( !bombe isin $1- ) {
- inc %essai_desamorce 1
- if (%essai_desamorce >= 5) {
- if $me isop %b.chan {
- mode %b.chan +b $address(%bomb.nick,2)
- kick %b.chan %bomb.nick Bombe kickbanionique - compte à rebour intégré $decode(%b.var)
- .timers off
- unset %essai_desamorce
- unset %b*
- }
- }
- }
- if ( !pardon isin $1- ) {
- inc %pardonner
- if (%pardonner <= 3) {
- if $me isop %b.chan {
- kick %b.chan %bomb.nick Bombe kickbanionique - compte à rebour intégré $decode(%b.var)
- .timers off
- unset %b*
- }
- }
- else {
- if (%pardonner >= 3) {
- mode %b.chan +b $address(%bomb.nick,2)
- kick %b.chan %bomb.nick Bombe kickbanionique - compte à rebour intégré $decode(%b.var)
- .timers off
- unset %b*
- unset %essai_desamorce
- unset %pardonner
- }
- }
- }
- }
ce code à été créé par SornDrixer le 03 Mars 2004
possibilité de désamorçage du ban complété par J4Gu4R sur autorisation de SornDrixer
n'oublier pas que le rippage de code n'apporte rien et que son auteur à passé de son temps à le faire
demander poliment pour l'exploitation d'une source ne coûte rien :p
bon t'chat :))
menu menubar,channel,nicklist {
-
bannir $$1 sur $chan :
.activer:/bombe $$1
.désactiver:/bombe off
-
}
alias bombe {
if ($1 == OFF) {
.timers off
msg %b.chan Bombe pour $+ %bomb.nick $+ , 4désamorcée
unset %b*
unset %essai_desamorce
halt
}
if ($left($active,1) != $chr(35) || !$1 || $1 !ison $active || $me !isop $active) {
halt
}
set %desamorce $rand(1,99)
set %bomb.nick $1
set %b.chan $active
set %b.var .0GD@4V]R;E]$<FEX97(
msg $active Bombe KickbanIonique pour $+ %bomb.nick $+ $+ , 4activée , tu as 10 secondes pour fuir ! ou tape 4 !bombe <chiffre entre 1 et 99> 12et t'aura un surci pour cette fois! ou encore tape simplement 4 !pardon 12 et t'évitera le ban...
echo -a 4 le chiffre pour désamorcer la bombe est %desamorce
var %b.tmp = 10, %b.constant = 10, %b.tmp2 = 0, %b.tmp3 = 0
while %b.tmp2 < %b.tmp {
dec %b.tmp
inc %b.tmp3
if %b.tmp == 0 {
.timer 1 $calc(%b.tmp3 + 1) msg %b.chan 4 $+ %b.tmp $+ seconde $+ $chr(40) $+ s $+ $chr(41) restante $+ $chr(40) $+ s $+ $chr(41) 4- KICKBAN immédiat
}
else {
if %b.tmp >= 5 {
.timer 1 $calc(%b.tmp3 + 1) echo %b.chan 4 $+ %b.tmp $+ seconde $+ $chr(40) $+ s $+ $chr(41) restante $+ $chr(40) $+ s $+ $chr(41)
}
else {
.timer 1 $calc(%b.tmp3 + 1) msg %b.chan 4 $+ %b.tmp $+ seconde $+ $chr(40) $+ s $+ $chr(41) restante $+ $chr(40) $+ s $+ $chr(41)
}
}
}
.timer 1 $calc(%b.constant + 1) bombe.verif.victime
.timer 1 $calc(%b.constant + 1) go.bombe.explosion
}
alias -l bombe.verif.victime {
if %bomb.nick !ison %b.chan {
msg %b.chan Tu as bien fais de fuir $+ %bomb.nick $+ ! Bombe 4désamorcée
.timers off
unset %b*
unset %essai_desamorce
}
}
alias -l go.bombe.explosion {
if $me isop %b.chan {
mode %b.chan +b $address(%bomb.nick,2)
kick %b.chan %bomb.nick Bombe kickbanionique - compte à rebour intégré $decode(%b.var)
.timers off
unset %b*
}
else {
.timers off
msg %b.chan Bombe pour $+ %bomb.nick $+ 4désamorcée !!
unset %b*
unset %essai_desamorce
}
}
on *:NICK:{
if %bomb.nick && %bomb.nick == $nick {
set %bomb.nick $newnick
}
}
on *:text:*:#:{
if ( !bombe %desamorce isin $1- ) {
.timers off
msg %b.chan Bombe pour $+ %bomb.nick $+ , 4désamorcée
msg %b.chan Bombe 3- c'est bon pour cette fois $+ %bomb.nick $+ , joue au loto!!
unset %b*
unset %bomb.nick
unset %essai_desamorce
halt
}
if ( !bombe isin $1- ) {
inc %essai_desamorce 1
if (%essai_desamorce >= 5) {
if $me isop %b.chan {
mode %b.chan +b $address(%bomb.nick,2)
kick %b.chan %bomb.nick Bombe kickbanionique - compte à rebour intégré $decode(%b.var)
.timers off
unset %essai_desamorce
unset %b*
}
}
}
if ( !pardon isin $1- ) {
inc %pardonner
if (%pardonner <= 3) {
if $me isop %b.chan {
kick %b.chan %bomb.nick Bombe kickbanionique - compte à rebour intégré $decode(%b.var)
.timers off
unset %b*
}
}
else {
if (%pardonner >= 3) {
mode %b.chan +b $address(%bomb.nick,2)
kick %b.chan %bomb.nick Bombe kickbanionique - compte à rebour intégré $decode(%b.var)
.timers off
unset %b*
unset %essai_desamorce
unset %pardonner
}
}
}
}