mIRC Home    About    Download    Register    News    Help

Topic Options
#264666 - 29/12/18 02:12 PM Help please with a catcher logging script
Orobas Offline
Nutrimatic drinks dispenser

Registered: 13/10/14
Posts: 8
Original script from an old unrealircd 3.2 series..

Quote:
on $*:text:/(?i)logusers\72\s(\S+).*\100((\S+)\.){2}\w{3}/S:#services:{
if $regml(2) = mibbit. {
msg #opers $regml(1) has connected from a mibbit connection.
}
}


We now have a multi-server setup on unrealircd 4 series and the output in #services is <time><ChanServ> USERS:name!ident@hostmask

I'm trying to get the bot to now notifty on any mibbit connects initially for seeing how many we get during a day etc.. and then changing to Tor connects once the script works

I am currently only getting messages when mibbot_stats connects and not from any other mibbit users.

I have edited the top line of script to this so far

Quote:
on $*:text:/(?i)USERS\72\s(\S+).*\100((\S+)\.){2}\w{3}/S:#services:{


but i dont know where it's wrong


Edited by Orobas (29/12/18 02:14 PM)
Edit Reason: forgot some info

Top
#264841 - Yesterday at 06:05 PM Re: Help please with a catcher logging script [Re: Orobas]
fossa Offline
Bowl of petunias

Registered: 16/01/19
Posts: 2
Maybe you can use something like this if I understand your question clear:
Code:
on *:text:USERS*:#services:{
  if ($regex($address,/(mibbit)/i)) {
    .msg #opers $removecs($1,USERS:) has connected from a mibbit connection.
  }
}

Maybe a start for you.

Top