<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://script.quakenet.org/wiki/index.php?action=history&amp;feed=atom&amp;title=On_disconnect</id>
	<title>On disconnect - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://script.quakenet.org/wiki/index.php?action=history&amp;feed=atom&amp;title=On_disconnect"/>
	<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=On_disconnect&amp;action=history"/>
	<updated>2026-04-30T14:45:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://script.quakenet.org/wiki/index.php?title=On_disconnect&amp;diff=4474&amp;oldid=prev</id>
		<title>Doomie at 15:36, 29 March 2006</title>
		<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=On_disconnect&amp;diff=4474&amp;oldid=prev"/>
		<updated>2006-03-29T15:36:32Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The on DISCONNECT event triggers when you quit or are disconnected from an IRC Server.&lt;br /&gt;
&lt;br /&gt;
 on &amp;lt;level&amp;gt;:DISCONNECT:&amp;lt;commands&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can use this event to unset variables or delete / free hashtables.&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
The following example will unset all variables beginning with &amp;quot;moo&amp;quot; whenever you close mIRC or are disconnected.&lt;br /&gt;
&lt;br /&gt;
 on *:DISCONNECT: {&lt;br /&gt;
  [[unset]] %moo*&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
* [[on_connect|on connect]] triggers when you connect to an IRC Server&lt;br /&gt;
* [[on_quit|on quit]] triggers whenever someone quits from IRC&lt;br /&gt;
&lt;br /&gt;
[[Category:Events]]&lt;/div&gt;</summary>
		<author><name>Doomie</name></author>
	</entry>
</feed>