Detection de lien

Soyez le premier à donner votre avis sur cette source.

Snippet vu 4 367 fois - Téléchargée 28 fois

Contenu du snippet

Ce code vous previendra dès qu'un personne prononcera un site Web sur un salon quelquonc...

Source / Exemple :


on *:TEXT:*http*:*:{
  If ($readini mirc.ini chasseururl activ = ok) { 
    /write url.txt ( $+ $time $+ ) - ( $+ $date $+ ) < $+ $nick $+ > $1-
    If (http isin $1) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $1 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $1 }
    ElseIf (http isin $2) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $2 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $2 }
    ElseIf (http isin $3) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $3 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $3 }
    ElseIf (http isin $4) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $4 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $4 }
    ElseIf (http isin $5) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $5 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $5 }
    ElseIf (http isin $6) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $6 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $6 }
    ElseIf (http isin $7) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $7 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $7 }
    ElseIf (http isin $8) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $8 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $8 }
    ElseIf (http isin $9) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $9 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $9 }
    ElseIf (http isin $10) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $10 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $10 }
    ElseIf (http isin $11) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $11 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $11 }
    ElseIf (http isin $12) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $12 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $12 }
    ElseIf (http isin $13) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $13 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $13 }
    ElseIf (http isin $14) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $14 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $14 }
    ElseIf (http isin $15) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $15 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $15 }
    ElseIf (http isin $16) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $16 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $16 }
    ElseIf (http isin $17) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $17 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $17 }
  }
  Else halt
}
on *:TEXT:*www*:*:{
  If ($readini mirc.ini chasseururl activ = ok) { 
    /write url.txt ( $+ $time $+ ) - ( $+ $date $+ ) < $+ $nick $+ > $1-
    If (www isin $1) { /echo -a 15-( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $1 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $1 }
    ElseIf (www isin $2) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $2 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $2 }
    ElseIf (www isin $3) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $3 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $3 }
    ElseIf (www isin $4) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $4 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $4 }
    ElseIf (www isin $5) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $5 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $5 }
    ElseIf (www isin $6) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $6 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $6 }
    ElseIf (www isin $7) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $7 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $7 }
    ElseIf (www isin $8) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $8 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $8 }
    ElseIf (www isin $9) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $9 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $9 }
    ElseIf (www isin $10) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $10 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $10 }
    ElseIf (www isin $11) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $11 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $11 }
    ElseIf (www isin $12) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $12 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $12 }
    ElseIf (www isin $13) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $13 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $13 }
    ElseIf (www isin $14) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $14 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $14 }
    ElseIf (www isin $15) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $15 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $15 }
    ElseIf (www isin $16) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $16 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $16 }
    ElseIf (www isin $17) { /echo -a -( $+ $time(hh:nn) $+ )- 9[ 8URL Détécté : $17 9] 15 Appuyer sur F4 pour y aller | set %autoWeb $17 }
  }
  Else halt
}

Conclusion :


Pour que ce code fonctionne, ajouter ce morceau de code dans la partie "Aliase"
/F4 //Run %autoWeb

A voir également

Ajouter un commentaire Commentaires
cs_Kolibot Messages postés 817 Date d'inscription mercredi 25 juin 2003 Statut Membre Dernière intervention 19 avril 2004
25 déc. 2003 à 19:37
Le script ne va pas de toute manière ... si le lien est en position 18 ... par ex ...
cs_Chose Messages postés 14 Date d'inscription mardi 11 mars 2003 Statut Membre Dernière intervention 4 septembre 2003
18 mars 2003 à 00:28
erfffff o lieu de mettre $1 $2 $3 $4 $5 met $1- et hop !
lol
c bcp moins lour et pi ca marche pour tout les mots de la fraz !
youl46 Messages postés 10 Date d'inscription jeudi 1 mars 2001 Statut Membre Dernière intervention 11 avril 2002
9 avril 2002 à 01:19
on peut faire plus simple... avec des variable
cs_max12 Messages postés 1491 Date d'inscription dimanche 19 novembre 2000 Statut Modérateur Dernière intervention 7 juillet 2014
8 avril 2002 à 23:22
un peut lourd........

Vous n'êtes pas encore membre ?

inscrivez-vous, c'est gratuit et ça prend moins d'une minute !

Les membres obtiennent plus de réponses que les utilisateurs anonymes.

Le fait d'être membre vous permet d'avoir un suivi détaillé de vos demandes et codes sources.

Le fait d'être membre vous permet d'avoir des options supplémentaires.