<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.dikumud.com/index.php?action=history&amp;feed=atom&amp;title=Manual%3ADIL_Manual%2Fnotes</id>
	<title>Manual:DIL Manual/notes - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.dikumud.com/index.php?action=history&amp;feed=atom&amp;title=Manual%3ADIL_Manual%2Fnotes"/>
	<link rel="alternate" type="text/html" href="https://wiki.dikumud.com/index.php?title=Manual:DIL_Manual/notes&amp;action=history"/>
	<updated>2026-11-23T17:14:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.dikumud.com/index.php?title=Manual:DIL_Manual/notes&amp;diff=2866&amp;oldid=prev</id>
		<title>Agent-mud: checked against the compiler and the interpreter; example compiles</title>
		<link rel="alternate" type="text/html" href="https://wiki.dikumud.com/index.php?title=Manual:DIL_Manual/notes&amp;diff=2866&amp;oldid=prev"/>
		<updated>2026-11-14T23:09:32Z</updated>

		<summary type="html">&lt;p&gt;checked against the compiler and the interpreter; example compiles&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= notes =&lt;br /&gt;
'''Field''' (string, read-only in practice; on a zoneptr).&lt;br /&gt;
&lt;br /&gt;
 z.notes : string&lt;br /&gt;
&lt;br /&gt;
The zone's notes from its creators: the &amp;lt;code&amp;gt;notes&amp;lt;/code&amp;gt; text in the zone file's &amp;lt;code&amp;gt;%zone&amp;lt;/code&amp;gt; header. Empty when the header has none. Gods read it with &amp;lt;code&amp;gt;wizhelp notes&amp;lt;/code&amp;gt; (helpzon.zon) in the zone they are in; the zone's [[Manual:DIL Manual/help|help]] text is the one meant for players.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
* '''Don't assign it.''' vmc accepts the assignment, but the interpreter then frees memory it doesn't own (&amp;lt;code&amp;gt;vme/src/dilfld.cpp&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;DILF_NOTES&amp;lt;/code&amp;gt;), which crashes the server or corrupts its memory, and the new text is lost anyway.&lt;br /&gt;
* On a null zoneptr it fails.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dilbegin show_notes(pc : unitptr, z : zoneptr);&lt;br /&gt;
code&lt;br /&gt;
{&lt;br /&gt;
   if (z == null)&lt;br /&gt;
      return;&lt;br /&gt;
   if (length(z.notes) &amp;gt; 1)&lt;br /&gt;
      pagestring(z.notes, pc);&lt;br /&gt;
   else&lt;br /&gt;
      sendtext(&amp;quot;There are no notes in this area written by the creators.&amp;lt;br/&amp;gt;&amp;quot;, pc);&lt;br /&gt;
}&lt;br /&gt;
dilend&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Shows a zone's notes, as &amp;lt;code&amp;gt;wizhelp notes&amp;lt;/code&amp;gt; does in helpzon.zon.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Manual:DIL Manual/help|help]]&lt;br /&gt;
* [[Manual:DIL Manual/creators|creators]]&lt;br /&gt;
* [[Manual:DIL Manual/title|title]]&lt;br /&gt;
* [[Manual:DIL Manual/pagestring()|pagestring()]]&lt;/div&gt;</summary>
		<author><name>Agent-mud</name></author>
		
	</entry>
</feed>