PHIL974
PHIL974Bjr @ tous,
J'ai un ch'ti pb. Je souhaiterai avoir un fenêtre qui s'ouvre et qui log ma dération. Tous mes avertos sont en raccourcis clavier, allant de la touche F1 à F12.
Les avertos envoyé ne sont lu que par l'user à qui il est destiné. Donc, j'ai essayé de fabriqué un truc mais, étant un newbie, je ne suis pas arrivé à le faire fonctioner.
La 1ère touche F1 fonctionne à peu près mais, le reste nada :). Je me permet de vous montrer se que j'ai fais avec l'aide d'un copain.
f1 { /notice $1- 1[4Averti1] 12 $read kicks\Avertissements\Vulgarité.txt | /notice @ $+ # 4 Averti 12 $$1 4 " Pour sa vulgarité ! "
if ( $window(@Avertis) == $NULL ) { window -k0mnw @Avertis }
echo @Avertis $timestamp Averti # $$1 $address($$1,1) raison : Vulgarité | halt }
f2 { /notice $1- 1[4Averti1] 12 $read kicks\Avertissements\Sexe.txt | /notice @ $+ # 4 Averti 12 $$1 4 " Hormones trop hautes ! " }
if ( $window(@Avertis) == $NULL ) { window -k0mnw @Avertis
echo @Avertis $timestamp Averti # $$1 $address($$1,1) raison : Hormones trop hautes | halt }
f3 { /notice $1- 1[4Averti1] 12 $read kicks\Avertissements\Flood.txt | /notice @ $+ # 4 Averti 12 $$1 4 " Trop de flood ! " }
if ( $window(@Avertis) == $NULL ) { window -k0mnw @Avertis
echo @Avertis $timestamp Averti # $$1 $address($$1,1) raison : Trop de flood ! }
f4 { /notice $1- 1[4Averti1] 12 $read kicks\Avertissements\Coordoprivees.txt | /notice @ $+ # 4 Averti 12 $$1 4 " Coordonnées privées ! " }
if ( $window(@Avertis) == $NULL ) { window -k0mnw @Avertis
echo @Avertis $timestamp Averti # $$1 $address($$1,1) raison : Coordonnées privées ! }
f5 { /notice $1- 1[4Averti1] 12 $read kicks\Avertissements\Majuscules.txt | /notice @ $+ # 4 Averti 12 $$1 4 " Majuscules ! " }
if ( $window(@Avertis) == $NULL ) { window -k0mnw @Avertis
echo @Avertis $timestamp Averti # $$1 $address($$1,1) raison : Majuscules ! }
f6 { /notice $1- 1[4Averti1] 12 $read kicks\Avertissements\Pub.txt | /notice @ $+ # 4 Averti 12 $$1 4 " Pub ! " }
if ( $window(@Avertis) == $NULL ) { window -k0mnw @Avertis
echo @Avertis $timestamp Averti # $$1 $address($$1,1) raison : Pub ! }
f7 { /notice $1- 1[4Averti1] 12 $read kicks\Avertissements\Script.txt | /notice @ $+ # 4 Averti 12 $$1 4 " Script ! " }
if ( $window(@Avertis) == $NULL ) { window -k0mnw @Avertis
echo @Avertis $timestamp Averti # $$1 $address($$1,1) raison : Script ! }
f8 { /notice $1- 1[4Averti1] 12 $read kicks\Avertissements\neti.txt | /notice @ $+ # 4 Averti 12 $$1 4 " Netiquette ! " }
if ( $window(@Avertis) == $NULL ) { window -k0mnw @Avertis
echo @Avertis $timestamp Averti # $$1 $address($$1,1) raison : Netiquette ! }
f9 { /notice $1- 1[4Averti1] 12 $read kicks\Avertissements\Clones.txt | /notice @ $+ # 4 Averti 12 $$1 4 " Clones ! " }
if ( $window(@Avertis) == $NULL ) { window -k0mnw @Avertis
echo @Avertis $timestamp Averti # $$1 $address($$1,1) raison : Clones ! }
f10 { /ban # $address($$1,2) | /kick # $1- 4 " Mineurs ! " }
f11 { /ban # $address($$1,2) | /kick # $1- 4 " Homophobe ! " }
f12 {
.notice $$1 12Merci de changer et de prendre un pseudo plus correct. Celui-ci est interdit par la netiquette, que tu es censé connaitre donc, $$1 je te conseille donc, de déconnecter et de vite changer de pseudo stp ! Les pseudos trop explicites (actif, passif, nu, chaud, cho, lascard, pass, act, loue, bouche, soum, envie, hot, zoo )... pseudos Pub ( msn, aol, messenger etc...), injurieux, ambigus (tjh, tjm, jeunekeum, jeune minet)... homophobes et en général irrespectueux sont interdits. 6Merci de ta compréhension - 5Pour plus d'informations tu peux aller lire la netiquette à cette adresse: 4 http://chat.voila.fr/dix.html
.notice @ $+ # 12 j'ai averti $$1 pour son pseudo.
.echo 1 $time $+ # ( $$1 ) 4Averti : 12 Mauvais-Pseudo %pasop
.timer 1 10 .notice $$1 4 la commande est déconnection et reconnection avec un nouveau pseudo merci et bon t'chat !
.timer 1 35 /kick $chan $$1 12 Mauvais-pseudo à changer... SVP merci !
}
Merci à vous de trouver un ch'ti temps pour me dépatouiller cela car, sur un chan de plus de 490 user et quand il arrive d'être seul à modérer, il est impossible de remonter se dernier et donner une réponse à celui qui deamnde pkoi il à été averti, voire mêm de le contester.
Bon courage et très cordialemnt, j'espère vous lire très vite les ch'tis lous.
