mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2015
Posts: 70
Babel fish
OP Offline
Babel fish
Joined: Aug 2015
Posts: 70
Can you please let '.pnick' return the modes of nick before quit?

Last edited by _entropy; 08/02/17 11:28 PM.

mIRC Scripts IRC Network: irc://irc.mircscripts.info/chat
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
It already does. I tested this with both regular On *:QUIT: {, as well as On ^*:QUIT: {

Code:
On *:QUIT: {
  if (!$window(@test)) { return }
  var %i = 1, %n = $comchan($nick,0), %output
  while (%i <= %n) {
    var %chan = $comchan($nick,%i)
    var %pnick = $nick(%chan,$nick).pnick
    var %output = %output %pnick on %chan /
    inc %i
  }
  echo -ti @test * $nick Quit: $left(%output,-1)
}

; Type '/window -eiz @test' to activate.


Does this satisfy the feature you were asking for?


Well. At least I won lunch.
Good philosophy, see good in bad, I like!

Link Copied to Clipboard