1997Q1/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: command parsing -->
<!--X-From-R13: pynjNahyy.arg -->
<!--X-Date: from babe.globecomm.net [207.51.48.8] by mx01.ca.us.ibm.net id 858622131.33444&#45;1 Mon Mar 17 18:08:51 1997 -->
<!--X-Message-Id: 332d81ca3ea2002#msgSFO01,schwab.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 199703130711.HAA142084#out1,ibm.net -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, command parsing</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:claw#null,net">
</head>
<body background="/backgrounds/paperback.gif" bgcolor="#ffffff"
      text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000">

  <font size="+4" color="#804040">
    <strong><em>MUD-Dev<br>mailing list archive</em></strong>
  </font>
      
<br>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00128.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00132.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00102.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00132.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00125">Author</A>
&nbsp;|&nbsp;<A HREF="#00125">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00125">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>command parsing</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A></LI>
<LI><em>Subject</em>: command parsing</LI>
<LI><em>From</em>: <A HREF="mailto:claw#null,net">claw#null,net</A></LI>
<LI><em>Date</em>: Mon, 17 Mar 97 09:30:32 -0800</LI>
<LI><em>Reply-to</em>: <A HREF="mailto:claw#null,net">claw#null,net</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>

On 12/03/97 at 10:23 PM, cg#ami-cg,GraySage.Edmonton.AB.CA (Chris Gray)
said:

&gt;:I guess it's the difference between making a wall and letting users get
&gt;:over it in whatever way they can manage (whether it be flying, climbing,
&gt;:becoming non-corporeal and walking through, or even smashing it down)
&gt;and :doing a script like:
&gt;:
&gt;:if token++.Is("climb") and token.Is("wall")
&gt;:  room_message("$n scale$s the wall.", ch);
&gt;:  move_char(ch, UP)

&gt;You're going to have to have a very general scenario in order for all of
&gt;those methods of getting past the wall work! You're not going to get any
&gt;of them for free, I suspect.

I suspect that the solution to the general case for this sort of
limitation (eg can he get over the wall) is to fract the problem into an
attempted motion in a direction (which is easy to code for the success
failure of), and a generalist reaction to motions.  In the case of the
wall,  if he can somehow get "up" (or "scale" or whatever you call the
verb), you do that.  If he then achieves the position of being atop the
wall, you then report or react that.

This comes back to coding in general physical laws into the world, and
then presuming that they will ensure correct behaviour.

-- 
J C Lawrence                              Internet: coder#null,net
----------(*)                              Internet: coder#ibm,net
...Honourary Member of Clan McFud -- Teamer's Avenging Monolith...



</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00128.html">Re: Just a bit of musing (VRML)</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00132.html">Re: command parsing</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00102.html">Re: command parsing</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00132.html">Re: command parsing</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00125"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00125"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<ul><li>Thread context:
<BLOCKQUOTE><UL>
<LI><strong><A NAME="00059" HREF="msg00059.html">Command Parsers, continued</A></strong>, 
Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Mon 25 Nov 1996, 01:28 GMT
<LI><strong><A NAME="00061" HREF="msg00061.html">Command Parsing</A></strong>, 
Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Sun 24 Nov 1996, 23:06 GMT
<UL>
<li>&lt;Possible follow-up(s)&gt;<br>
<LI><strong><A NAME="00100" HREF="msg00100.html">command parsing</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Thu 13 Mar 1997, 15:00 GMT
</LI>
<LI><strong><A NAME="00102" HREF="msg00102.html">Re: command parsing</A></strong>, 
Adam Wiggins <a href="mailto:nightfall#inficad,com">nightfall#inficad,com</a>, Thu 13 Mar 1997, 16:22 GMT
</LI>
<LI><strong><A NAME="00125" HREF="msg00125.html">command parsing</A></strong>, 
claw <a href="mailto:claw#null,net">claw#null,net</a>, Tue 18 Mar 1997, 02:08 GMT
</LI>
<LI><strong><A NAME="00132" HREF="msg00132.html">Re: command parsing</A></strong>, 
claw <a href="mailto:claw#null,net">claw#null,net</a>, Tue 18 Mar 1997, 02:11 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00058" HREF="msg00058.html">Re: MUD Design Digest V1 #52</A></strong>, 
Chris Lawrence <a href="mailto:clawrenc#xsvr1,cup.hp.com">clawrenc#xsvr1,cup.hp.com</a>, Fri 22 Nov 1996, 21:34 GMT
<LI><strong><A NAME="00064" HREF="msg00064.html">Re: MUD Design Digest V1 #49</A></strong>, 
Chris Lawrence <a href="mailto:clawrenc#xsvr1,cup.hp.com">clawrenc#xsvr1,cup.hp.com</a>, Fri 22 Nov 1996, 21:22 GMT
<LI><strong><A NAME="00057" HREF="msg00057.html">Re: MUD Design Digest V1 #47</A></strong>, 
Chris Lawrence <a href="mailto:clawrenc#xsvr1,cup.hp.com">clawrenc#xsvr1,cup.hp.com</a>, Fri 22 Nov 1996, 21:20 GMT
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>