<?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=%24error</id>
	<title>$error - 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=%24error"/>
	<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=$error&amp;action=history"/>
	<updated>2026-06-04T03:24:45Z</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=$error&amp;diff=4675&amp;oldid=prev</id>
		<title>Daveoh at 23:15, 6 April 2008</title>
		<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=$error&amp;diff=4675&amp;oldid=prev"/>
		<updated>2008-04-06T23:15:58Z</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;Returns the error message when an error has occurred.&lt;br /&gt;
 $error&lt;br /&gt;
==Example==&lt;br /&gt;
 testerror {&lt;br /&gt;
 [[msg]] [[Dana]]&lt;br /&gt;
 [[halt]]&lt;br /&gt;
 [[Goto|:]][[Error handling|error]]&lt;br /&gt;
 [[echo]] Error in script! $error&lt;br /&gt;
 }&lt;br /&gt;
Running the above alias would create an error. This would jump to the :error point and run the commands afterwards, echoing the error message.&lt;br /&gt;
==See Also==&lt;br /&gt;
* [[Error handling]]&lt;br /&gt;
* [[Reseterror|/reseterror]]&lt;br /&gt;
[[Category:Identifiers]]&lt;/div&gt;</summary>
		<author><name>Daveoh</name></author>
	</entry>
</feed>