<?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_logon</id>
	<title>On logon - 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_logon"/>
	<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=On_logon&amp;action=history"/>
	<updated>2026-06-04T03:25:52Z</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_logon&amp;diff=4440&amp;oldid=prev</id>
		<title>Doomie at 14:44, 11 December 2005</title>
		<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=On_logon&amp;diff=4440&amp;oldid=prev"/>
		<updated>2005-12-11T14:44:03Z</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 LOGON event triggers before and after mIRC sends the standard PASS, NICK, and USER messages to the server.&lt;br /&gt;
 on &amp;lt;level&amp;gt;:LOGON:*:&amp;lt;commands&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note&amp;#039;&amp;#039;&amp;#039; that you can use ^ to execute commands just before mIRC sends the standard messages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
 on ^*:LOGON:*: {&lt;br /&gt;
  [[echo]] -a Logging on to [[$network]] [[$server]]&lt;br /&gt;
 }&lt;br /&gt;
This triggers before mIRC sends the standard messages and echos it to the active window.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 on *:LOGON:*: {&lt;br /&gt;
  echo -a Logged on to $network $server&lt;br /&gt;
 }&lt;br /&gt;
This triggers right after mIRC sends the standard messages and echos it to the active window.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can use this to open a debug window right before you connect.&lt;br /&gt;
 on ^*:logon:*:{&lt;br /&gt;
  ; echo with timestamp and corrent window to the status window&lt;br /&gt;
  !echo -sct info * Connected to [[$serverip]] ( [[DollarPlus|$+]] [[$port]] $+ )&lt;br /&gt;
  ; open a new window called @debug&amp;lt;cid here&amp;gt; and write /.!quote to it&lt;br /&gt;
  ![[window]] -nvE @debug $+ [[$cid]] /.![[quote]]&lt;br /&gt;
  ; Outputs raw server messages, both incoming and outgoing, to @debug window.&lt;br /&gt;
  !.[[debug]] -ntp @debug $+ $cid&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
[[Category:Events]]&lt;/div&gt;</summary>
		<author><name>Doomie</name></author>
	</entry>
</feed>