log monitor channel - mIRC Snippet | PremiumChat.ro Pagina principala

log monitor channel

Monitor a channel and save the message written to a logfile. The message that will be stored need to be triggered by a keyword.

on *:TEXT:*:#ichat:{
  var %filepath "D:\ichat_log.txt"
  if (*premiumchat* iswm $1-) {
    write -i %filepath $+($time,|,$nick,:,$chr(32),$1-)
  }
}