<?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%2Fhelp</id>
	<title>Manual:DIL Manual/help - 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%2Fhelp"/>
	<link rel="alternate" type="text/html" href="https://wiki.dikumud.com/index.php?title=Manual:DIL_Manual/help&amp;action=history"/>
	<updated>2026-11-22T21:25:53Z</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/help&amp;diff=2867&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/help&amp;diff=2867&amp;oldid=prev"/>
		<updated>2026-11-14T23:09:35Z</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;= help =&lt;br /&gt;
'''Field''' (string, read-only in practice; on a zoneptr).&lt;br /&gt;
&lt;br /&gt;
 z.help : string&lt;br /&gt;
&lt;br /&gt;
The zone's help text for players: the &amp;lt;code&amp;gt;help&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. Players read it with &amp;lt;code&amp;gt;help area&amp;lt;/code&amp;gt; (helpzon.zon) in the zone they are in.&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_HELP&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;
* Like every field name, &amp;lt;code&amp;gt;help&amp;lt;/code&amp;gt; is a reserved word: a variable or parameter can't be called &amp;lt;code&amp;gt;help&amp;lt;/code&amp;gt; (vmc: &amp;quot;syntax error&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dilbegin show_area(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.help) &amp;gt; 1)&lt;br /&gt;
   {&lt;br /&gt;
      sendtext(&amp;quot;You are in the area known as: &amp;quot; + z.title + &amp;quot;.&amp;lt;br/&amp;gt;&amp;quot;, pc);&lt;br /&gt;
      pagestring(z.help, pc);&lt;br /&gt;
   }&lt;br /&gt;
   else&lt;br /&gt;
      sendtext(&amp;quot;There is no help on 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 help to a player, as &amp;lt;code&amp;gt;help area&amp;lt;/code&amp;gt; does in helpzon.zon.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Manual:DIL Manual/notes|notes]]&lt;br /&gt;
* [[Manual:DIL Manual/title|title]]&lt;br /&gt;
* [[Manual:DIL Manual/payonly|payonly]]&lt;br /&gt;
* [[Manual:DIL Manual/pagestring()|pagestring()]]&lt;/div&gt;</summary>
		<author><name>Agent-mud</name></author>
		
	</entry>
</feed>