[ZON] FORMULA [ZON] SAMPLE  
     
 #<zone number>[1]   #30
 <zone name>~[2]   Northern Midgaard Main City~
 <creator name>~[3]   Joe Builder
 <top of zone>[4] <life span>[5] <reset mode>[6] <difficulty>[7]   3099 30 2 5
*[8]   *
 { command(s) table }[9]   M 0 3000 1 3033      The Wizard Shop Keeper
S   G 1 3050 500           Give scroll of identify
#99999   G 1 3051 500           Give potion of see invisible.
$~   G 1 3052 500           Give scroll of recall
    G 1 3053 500           Give wand of invisibility
[ZON] Command Table   G 1 3054 500           Give staff of sleep
D[10] <if_flag>[11] <room number> <exit number> <state>[12]   *
E[13] <if_flag> <object number> <max_exists> <equip_position>   M 0 3064 3 3007       A Happy Drunk (at Inn)
F[14] <if_flag> <room number> <mobile number>   M 0 3065 2 3044       A Beggar in poor alley
G[15] <if_flag> <object number> <max_exists>   M 0 3065 2 3048       A Beggar in Grubby Inn
M[16] <if_flag> <mobile number> <max_exists> <room number>   *
O[17] <if_flag> <object number> <max_exists> <room number>   O 0 1212 5 3059       Bulletin board in Temple (limbo for starters)
P[18] <if_flag> <object number 1> <max_exists> <object number 2>   O 0 3098 1 3005       fountain in temple square
R[19] <if_flag> <room number> <object number>   O 0 3099 1 3062       Quest-board in Adventurers Club.
    *
            S
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   

[1]
this is the number of the zone, usually the first number of the locations in the zone. I.e. location 2000 - 2099, belongs to zone 20.
[2]
the name of the zone. This can be anything you like.
[3]
the name of the builder of the zone
[4]
This is the number of the zone, usually the first number of the locations in the zone. I.e. location 2000 - 2099, belongs to zone 20.
[5]
How long the zone exist without rebooting. This is a number of minutes. When the time is up, the zone is queued for reset. This depends also on the reset mode.
[6]
0: Don't reset the zone at all. In this case, the age of the zone is never updated, and it will never be queued for reset. Thus, the value  of the lifespan-field is effectively ignored.

1: Reset the zone as soon as it is deserted, i.e. as soon as there are no players located within the zone.

2: Reset the zone no matter who or what is in it.
[7]
Scale from 0 to 10.  0 being easiest, 10 being most difficult.
[8]
This can be used as a spacer as desired on a line by line basis
[9]
this is where you place objects and mobiles into the world (commands shown below)
[10]
Door State
[11]
The first argument, common to all the commands, is called the 'if-flag'. If it is true (nonzero), the command is executed ONLY if the preceding command was executed. If it is false (zero), the command is executed anyway.

0 - Always Perform
1 - If Preveous Performed
[12]
0: Open.
1: Closed.
2: Closed and locked.
[13]
Equip MOBile

Loads object and places it in the Equipment list of the last monster referenced.
[14]
Remove MOBile from Room
[15]
Give OBJect to MOBile

Loads an object, and gives it to the last monster referenced (i.e.. by the M-command).
[16]
Load MOBile

mobile nr and room nr should be self-explanatory. The 'Max existing' parameter specifies the maximum permissible number of existing units. In other words: If you only want one manifestation of a given monster, you just specify the number '1'. If the Max number is about to be exceeded, the command won't be executed.
[17]
Load OBJect

Load an object and place it in a room. (NOT -1)
[18]
Put OBJect(1) in OBJect(2)

Loads object1 and places it in object2.
[19]
Remove OBJect from Room