<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -163,6 +163,7 @@ module CommandParser
 	'astatus',
 	'acroom',
 	'acexit',
+	'acdoor',
 	'acprop',
 	'asave',
 	'awatch',
@@ -459,6 +460,10 @@ module CommandParser
 				event[:object] = &quot;exit&quot;
 				event[:alt_names] = [$1.strip]
 				event[:args] = [$2.strip]
+			when /^acdoor\s+(\w+)\s+(.*)$/i
+				event[:action] = :acdoor
+				event[:direction] = $1.strip
+				event[:exit_room] = $2.strip
 			when /^aconfig(\s+reload)?$/i
 				event[:action] = :aconfig
 				event[:setting] = &quot;reload&quot; if $1</diff>
      <filename>components/commandparser.rb</filename>
    </modified>
    <modified>
      <diff>@@ -94,6 +94,28 @@ module Admin
 			object
 		end
 
+		def acdoor event, player, room
+			exit_room = $manager.get_object event[:exit_room]
+
+			if exit_room.nil?
+				player.output &quot;Cannot find #{event[:exit_room]} to connect to.&quot;
+				return
+			end
+
+			door_here = $manager.create_object Door, room, exit_room.goid, {:@alt_names =&gt; [event[:direction]] }
+			door_there = $manager.create_object Door, exit_room, room.goid, {:@alt_names =&gt; [opposite_dir(event[:direction])] }
+			door_here.connect_to door_there
+
+			player.output &quot;Created: #{door_here}&quot;
+			player.output &quot;Created: #{door_there}&quot;
+
+			if room
+				event[:to_player] = &quot;Frowning in concentration, you make vague motions with your hands. There is a small flash of light as #{door_here.name} to #{exit_room.name} appears.&quot;
+				event[:to_other] = &quot;Frowning in concentration, #{player.name} makes vague motions with #{player.pronoun(:possessive)} hands. There is a small flash of light as #{door_here.name} to #{exit_room.name} appears.&quot;
+				room.out_event event
+			end
+		end
+
 		#Creates a portal.
 		def acportal(event, player, room)
 			object = Admin.acreate(event, player, room)</diff>
      <filename>events/admin.rb</filename>
    </modified>
    <modified>
      <diff>@@ -5,6 +5,8 @@ module Syntax
 	Reference = {
 &quot;acarea&quot; =&gt;
 &quot;ACAREA [NAME]&quot;,
+&quot;acdoor&quot; =&gt;
+&quot;ACDOOR [DIRECTION] [EXIT_ROOM]&quot;,
 &quot;acexit&quot; =&gt;
 &quot;ACEXIT [DIRECTION] [EXIT_ROOM]&quot;,
 &quot;acomm&quot; =&gt;</diff>
      <filename>help/syntax.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2c56ad2a26ea1debbcb115113a16b44237f65a41</id>
    </parent>
  </parents>
  <author>
    <name>Justin</name>
    <email>justin@presidentbeef.com</email>
  </author>
  <url>http://github.com/presidentbeef/kams/commit/307785eb606d55bf361526a98365e1ea46dceaee</url>
  <id>307785eb606d55bf361526a98365e1ea46dceaee</id>
  <committed-date>2009-09-22T11:27:42-07:00</committed-date>
  <authored-date>2009-09-22T11:27:42-07:00</authored-date>
  <message>Added ACDOOR for the making of doors</message>
  <tree>e9f0c6ddc7f220b4a5bed2cb4c69b01cbaf7fa75</tree>
  <committer>
    <name>Justin</name>
    <email>justin@presidentbeef.com</email>
  </committer>
</commit>
