<?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%2Fediting</id>
	<title>Manual:DIL Manual/editing - 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%2Fediting"/>
	<link rel="alternate" type="text/html" href="https://wiki.dikumud.com/index.php?title=Manual:DIL_Manual/editing&amp;action=history"/>
	<updated>2026-11-23T21:05:22Z</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/editing&amp;diff=2810&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/editing&amp;diff=2810&amp;oldid=prev"/>
		<updated>2026-11-14T22:59:56Z</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;= editing =&lt;br /&gt;
'''Field''' (integer, read-only; units: all, meaningful for PC).&lt;br /&gt;
&lt;br /&gt;
 pc.editing : integer&lt;br /&gt;
&lt;br /&gt;
TRUE while the player is writing in the text editor (a board post, a letter, a [[Manual:DIL Manual/beginedit()|beginedit()]] text), FALSE otherwise. It also works for a player who has switched into an NPC.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
* For an NPC, an object, a room or a link-dead player it is FALSE.&lt;br /&gt;
* On null it fails.&lt;br /&gt;
* It can't be assigned (vmc: &amp;quot;Illegal lvalue&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dilbegin tell_check(vict : unitptr);&lt;br /&gt;
code&lt;br /&gt;
{&lt;br /&gt;
   if (vict.editing)&lt;br /&gt;
   {&lt;br /&gt;
      act(&amp;quot;$3n is busy writing a message, $3e can't hear you!&amp;quot;,&lt;br /&gt;
          A_ALWAYS, self, null, vict, TO_CHAR);&lt;br /&gt;
      return;&lt;br /&gt;
   }&lt;br /&gt;
   act(&amp;quot;$3n is listening.&amp;quot;, A_ALWAYS, self, null, vict, TO_CHAR);&lt;br /&gt;
}&lt;br /&gt;
dilend&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Doesn't bother a player who is writing, as the tell command in comm.zon does.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Manual:DIL Manual/beginedit()|beginedit()]]&lt;br /&gt;
* [[Manual:DIL Manual/killedit|killedit]]&lt;/div&gt;</summary>
		<author><name>Agent-mud</name></author>
		
	</entry>
</feed>