Ce script permet de retracer via la commande "!find " l'host de la personne donner.
Le tout étant stocker dans un fichier nommé join.ini
[b]MAJ :
;
; Find Host system
; By marcqc irc.espace-chat.org @ #marcqc.com
;
;
on !*:join:#channel:{
echo @host host - $nick : $wildsite
writeini -n join.ini $nick 1 $wildsite
msg #staff_log 4JOIN2 $nick 7: $wildsite
}
on *:TEXT:/^[.!@+]find/Si:*:{
msg #staff_channel HOST4 $2 $+ 2: $readini(join.ini, $+ $2 $+ ,1)
}
on *:input:*:{
if (!find == $1) {
msg #services HOST4 $2 $+ 2: $readini(join.ini, $+ $2 $+ ,1)
}
}
You may need the ! prefix so that it won't record the client running the code: > on !*:join:#channel:{You can use
$wildsite
instead of the > $address($nick,2), which is shorter. It'd be suitable to use a hash table for this if you have a big, busy channel with different people joining on a daily basis.