Table of Contents

# $EPIC: window_kill.txt,v 1.3 2006/08/20 18:32:13 sthalik Exp $

Synopsis:

window kill

Description:

This destroys the current window...

  • /ON WINDOW_BEFOREKILL is thrown first so your script can be warned.
  • If the window is the final window on the screen, it is swapped out
  • Otherwise, it is hidden (made invisible)
  • The window’s scrollback and lastlog histories are deleted.
  • The window’s queries and nicklist are deleted
  • The window’s channels ARE NOT PARTED, they are moved to another window.
  • /ON WINDOW_KILL is thrown when the whole process is done.

There are important considerations:

  • A window can’t be killed if it can’t be made invisible first. This means that if both window hide or window swap would fail, then window kill will fail.
  • If you kill the last window connected to a server, the server is disconnected.

History:

This operation was already present in ircII2.1.5g.

 
window_kill.txt · Last modified: 2006/08/20 13:32
 

All documentation is available under the same terms as EPIC itself.