<?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%2Fpayonly</id>
	<title>Manual:DIL Manual/payonly - 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%2Fpayonly"/>
	<link rel="alternate" type="text/html" href="https://wiki.dikumud.com/index.php?title=Manual:DIL_Manual/payonly&amp;action=history"/>
	<updated>2026-11-22T22:21:17Z</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/payonly&amp;diff=2869&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/payonly&amp;diff=2869&amp;oldid=prev"/>
		<updated>2026-11-14T23:09:41Z</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;= payonly =&lt;br /&gt;
'''Field''' (integer, read-only; on a zoneptr).&lt;br /&gt;
&lt;br /&gt;
 z.payonly : integer&lt;br /&gt;
&lt;br /&gt;
Whether the zone is only for paying players: the sixth column of &amp;lt;code&amp;gt;vme/etc/zonelist&amp;lt;/code&amp;gt; (0 when missing). With accounting on in the server, a mortal player who doesn't connect from the local network is kept out of the zone's rooms by these values:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Value !! Kept out&lt;br /&gt;
|-&lt;br /&gt;
| 0 || Nobody&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Players without credit&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Players without a running flat rate&lt;br /&gt;
|-&lt;br /&gt;
| 3 || Players who have credit or a running flat rate&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
* With accounting off nobody is kept out, whatever the value.&lt;br /&gt;
* The &amp;lt;code&amp;gt;help area&amp;lt;/code&amp;gt; command (helpzon.zon) tells whether the current zone is restricted.&lt;br /&gt;
* It can't be assigned (vmc: &amp;quot;Illegal lvalue&amp;quot;).&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 string pay_text(z : zoneptr);&lt;br /&gt;
code&lt;br /&gt;
{&lt;br /&gt;
   if (z == null)&lt;br /&gt;
      return (&amp;quot;&amp;quot;);&lt;br /&gt;
   if (z.payonly)&lt;br /&gt;
      return (&amp;quot;This area is restricted to people with donation status.&amp;quot;);&lt;br /&gt;
   return (&amp;quot;This area is not restricted.&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
dilend&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Tells whether a zone is restricted, 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/access|access]]&lt;br /&gt;
* [[Manual:DIL Manual/acc balance|acc_balance]]&lt;br /&gt;
* [[Manual:DIL Manual/findzone()|findzone()]]&lt;/div&gt;</summary>
		<author><name>Agent-mud</name></author>
		
	</entry>
</feed>