mIRC Homepage

save ident nick ip

Posted By: nexux

save ident nick ip - 25/06/20 10:29 PM

Code
on *:TEXT:ww w .*:#paraguay:/mode #paraguay +b $nick | /kick #paraguay $nick Molestias continuas en la sala. Spam


I did this for my protection in the room, but I would like to record the ident and the nick and the total ip of the nick in a text file

Then, when entering a nick, check in a file if that nick, ident, or total ip of the nick is in the file and ban and kikear

Is that feasible?

I try my code

Quote
on *:TEXT:*perro*:#pruebapy:
{
mode # +b $nick
write texto.txt $nick
}
Posted By: nexux

Re: save ident nick ip - 28/06/20 12:18 AM

Any help?

Quote

$read(text.txt,nt,3) 3
if $address($nick,2) isin $readline {}
else {
inc %lineaincremento
}



set %contador 1
Set %blabla $read(text.txt,nt,%lineaincremento)
if $address($nick,2) isin blabla { Lo que quieras hacer }
else {
inc %lineaincremento
}




set %totalline $lines(readme.txt)
while (<condition>) {
;Code here will be executed
}
while (<condition>) {
;Code here will be executed
}
while ( %contador < totalline ) {
set %contador 1
Set %blabla $read(text.txt,nt,%lineaincremento)
if $address($nick,2) isin blabla { Lo que quieras hacer }
else {
inc %lineaincremento
}
}
%totalline
Posted By: nexux

Re: save ident nick ip - 28/06/20 12:27 AM

Quote

on +1:text:*perro:#paraguay:{

write C:\Users\Yo\AppData\Roaming\mIRC\texto.txt $nick $address($nick,1) $address($nick,2) $address($nick,3) $1-
/mode #pruebapy +b $nick | /whois $nick | /kick #paraguay $nick Molestias continuas en la sala. Spam
}
© 2020 mIRC Discussion Forums