<?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%2Finfo</id>
	<title>Manual:DIL Manual/info - 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%2Finfo"/>
	<link rel="alternate" type="text/html" href="https://wiki.dikumud.com/index.php?title=Manual:DIL_Manual/info&amp;action=history"/>
	<updated>2026-11-23T22:33:35Z</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/info&amp;diff=2798&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/info&amp;diff=2798&amp;oldid=prev"/>
		<updated>2026-11-14T22:59:18Z</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;= info =&lt;br /&gt;
'''Field''' (extraptr, read-only; units: PC).&lt;br /&gt;
&lt;br /&gt;
 pc.info : extraptr&lt;br /&gt;
&lt;br /&gt;
A player's administrative extra descriptions: a list of extras like &amp;lt;code&amp;gt;.extra&amp;lt;/code&amp;gt;, saved with the player, that the game keeps for itself. The public zones keep the ignore list (comm.zon) and guild membership (guilds.zon) here.&lt;br /&gt;
&lt;br /&gt;
The field itself can't be assigned (vmc says &amp;quot;Illegal lvalue&amp;quot;), but the list it gives can be changed: pass it to [[Manual:DIL Manual/addextra()|addextra()]] and [[Manual:DIL Manual/subextra()|subextra()]], test it with &amp;lt;code&amp;gt;&amp;quot;name&amp;quot; in pc.info&amp;lt;/code&amp;gt; and pick an entry with &amp;lt;code&amp;gt;pc.info.[&amp;quot;name&amp;quot;]&amp;lt;/code&amp;gt;, as with &amp;lt;code&amp;gt;.extra&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
* Players only. On an NPC, an object, a room or null the field fails.&lt;br /&gt;
* Saved in the player file with the rest of the player.&lt;br /&gt;
* An &amp;lt;code&amp;gt;extraptr&amp;lt;/code&amp;gt; variable holding one of its entries becomes null at every &amp;lt;code&amp;gt;wait&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;pause&amp;lt;/code&amp;gt;; look the entry up again afterwards.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dilbegin remember_note(arg : string);&lt;br /&gt;
var&lt;br /&gt;
   ex : extraptr;&lt;br /&gt;
code&lt;br /&gt;
{&lt;br /&gt;
   if (self.type != UNIT_ST_PC)&lt;br /&gt;
      quit;&lt;br /&gt;
&lt;br /&gt;
   ex := self.info.[&amp;quot;$note&amp;quot;];&lt;br /&gt;
   if (ex == null)&lt;br /&gt;
   {&lt;br /&gt;
      addextra(self.info, {&amp;quot;$note&amp;quot;}, arg);&lt;br /&gt;
      sendtext(&amp;quot;Noted.&amp;lt;br/&amp;gt;&amp;quot;, self);&lt;br /&gt;
   }&lt;br /&gt;
   else&lt;br /&gt;
   {&lt;br /&gt;
      sendtext(&amp;quot;Your note was: &amp;quot; + ex.descr + &amp;quot;&amp;lt;br/&amp;gt;&amp;quot;, self);&lt;br /&gt;
      subextra(self.info, &amp;quot;$note&amp;quot;);&lt;br /&gt;
   }&lt;br /&gt;
   quit;&lt;br /&gt;
}&lt;br /&gt;
dilend&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Keeps one note on the player in &amp;lt;code&amp;gt;.info&amp;lt;/code&amp;gt;, the way comm.zon keeps the ignore list.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Manual:DIL Manual/extra|extra]]&lt;br /&gt;
* [[Manual:DIL Manual/addextra()|addextra()]]&lt;br /&gt;
* [[Manual:DIL Manual/subextra()|subextra()]]&lt;br /&gt;
* [[Manual:DIL Manual/in|in]]&lt;br /&gt;
* [[Manual:DIL Manual/extraptr|extraptr]]&lt;/div&gt;</summary>
		<author><name>Agent-mud</name></author>
		
	</entry>
</feed>