Project

General

Profile

[Script] Print your own quit message to Status window

Added by Mr. BS over 8 years ago

To mimic behavior found in other clients, for instance mIRC.

on ^*:DISCONNECT:{ _printQuit [ % $+ _qcid. $+ [ $cid ] ] | halt }
alias quit { set -e %_qcid. $+ $cid $1- | !quit }
alias disconnect { set -e %_qcid. $+ $cid $1- | !quit }
alias reconnect { set -e %_qcid. $+ $cid $1- | !reconnect }
alias _printQuit {
  var %m $iif($1-,$1-,$quitmessage), %e echo -stc info $replace($prefixsys,$chr(32),$chr(160))
  %e Closing Link: $+($me,[,$ip,]) ( $+ $adilang(Quit) $+ : %m $+ )
  linesep -s
  %e $adilang(Disconnected)
  unset %_qcid. $+ $cid
}

Screenshot

Status window quit message