<?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%2Faccess</id>
	<title>Manual:DIL Manual/access - 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%2Faccess"/>
	<link rel="alternate" type="text/html" href="https://wiki.dikumud.com/index.php?title=Manual:DIL_Manual/access&amp;action=history"/>
	<updated>2026-11-22T22:13:40Z</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/access&amp;diff=2863&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/access&amp;diff=2863&amp;oldid=prev"/>
		<updated>2026-11-14T23:09:23Z</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;= access =&lt;br /&gt;
'''Field''' (integer, read-only; on a zoneptr).&lt;br /&gt;
&lt;br /&gt;
 z.access : integer&lt;br /&gt;
&lt;br /&gt;
The zone's access level: the fourth column of &amp;lt;code&amp;gt;vme/etc/zonelist&amp;lt;/code&amp;gt;, 0 to 255, where 0 is the most trusted. Many DIL functions and fields look at the access level of the zone a program comes from: assigning a player's [[Manual:DIL Manual/skills|skills]] or [[Manual:DIL Manual/lifespan|lifespan]], for example, needs 0. A zone with no number in that column gets 255.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
* At boot the zones are reset in order of access level, 0 first.&lt;br /&gt;
* The reserved zones &amp;lt;code&amp;gt;_players&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;_gm&amp;lt;/code&amp;gt; have 255.&lt;br /&gt;
* It can't be assigned (vmc: &amp;quot;Illegal lvalue&amp;quot;). Only the zonelist file sets it, at boot.&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 integer is_trusted(zonename : string);&lt;br /&gt;
var&lt;br /&gt;
   z : zoneptr;&lt;br /&gt;
code&lt;br /&gt;
{&lt;br /&gt;
   z := findzone(zonename);&lt;br /&gt;
   if (z == null)&lt;br /&gt;
      return (FALSE);&lt;br /&gt;
   return (z.access == 0);&lt;br /&gt;
}&lt;br /&gt;
dilend&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Tells whether a zone has the highest access level.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Manual:DIL Manual/loadlevel|loadlevel]]&lt;br /&gt;
* [[Manual:DIL Manual/payonly|payonly]]&lt;br /&gt;
* [[Manual:DIL Manual/findzone()|findzone()]]&lt;br /&gt;
* [[Manual:DIL Manual/zoneptr|zoneptr]]&lt;/div&gt;</summary>
		<author><name>Agent-mud</name></author>
		
	</entry>
</feed>