mIRC Homepage
Posted By: SnakeRulez Help me plz - 17/05/03 06:43 AM
I want to do that if someone write in my channel
!infoline top
then the bot write the five users that wrote the most infolines
and when someone wrote a info line for some one the bot do
writeini InfoLine/infoline.ini InfoLiners $nick $calc($readini(InfoLine\infoline.ini,InfoLiners,$nick) + 1)

So how the bot can generate the five users that wrote the most infolines? crazy
Posted By: ScatMan Re: Help me plz - 17/05/03 08:18 AM
//window -h @a | filter -fweut 2 32 file.txt @a | var %i = 1 | while (%i <= 5) { if ($line(@a,%i) != $null) { echo -a $gettok($ifmatch,1,32) } | inc %i } | window -c @a
that will /echo those 5 nicks, u can do whatever u want except echo like msg $nick or something

© mIRC Discussion Forums