mIRC Homepage
Posted By: mexico extract logged please - 09/10/23 08:35 PM
I would like to extract Telegram alone:
⌠03:14:27 PM⌡ > Telegram is logged in as Telegram

some code for it. thank you


Quote
⌠03:14:27 PM⌡ > Telegram is ~Telegram@189.92.92.3 * Telegram
⌠03:14:27 PM⌡ > Telegram on +#Telegram
⌠03:14:27 PM⌡ > Telegram using *.eerfdf.org Underworld
⌠03:14:27 PM⌡ > Telegram is away: Auto away at Fri Sep 22 04:40:57 2023 UTC
⌠03:14:27 PM⌡ > Telegram is logged in as Telegram
⌠03:14:27 PM⌡ > Telegram End of /WHOIS list.
Posted By: atomic10 Re: extract logged please - 04/11/23 01:49 PM
You must use the RAW Event
RAW 330 is what you want.

Code
RAW 330:*:{
  haltdef
  echo 4 -a 7[6WHOIS INFO07]14 $1-
}

You can Stop all other Whois Informations by the RAW Event

Sample:
Code
RAW 311:*:{ haltdef }

You can see all RAW Events with this Sample Code

Code
RAW *:*:{
  if (!@raw) { window -n @raw }
  echo 4 @raw Numeric: $numeric
  echo 12 @raw Text: $1-
© mIRC Discussion Forums