[Tinymux] @hook

William Young youngwilliam at hotmail.com
Mon May 22 08:14:35 EDT 2006


>From: "Stephen Dennis" <brazilofmux at gmail.com>
>Reply-To: tinymux at tinymux.org
>To: tinymux at tinymux.org
>Subject: Re: [Tinymux] @hook
>Date: Thu, 18 May 2006 15:27:48 -0700
>
>Look at the %m substitution.

Which is something nails and I had hit on when I was trying to recreate an 
aspect of "look" that supposedly existed in the days of yore.  Namely...

B_LOOK: [if(and(nearby(%#, setr(0, pmatch(secure(rest(%m))))), 
not(controls(%#, %q0))), pemit(%#, %r%b[name(%q0)]))]

...so you get their name up top before their desc when you look at other 
folks. We thought we'd have to look into toying with the hardcode behind 
"look" (like how my dream of an @aparent seems to be going) until nails 
realized that %m would do the trick.

Mind, it sometimes gets a little confused when you look at Bob while there's 
an object named "Bob's Hat" in the room (or some other odd match) and it 
really doesn't like 'look bob's fred' if Bob is carrying another 
player-object named "Fred" (which'll probably never ever come up in-game), 
but I'm still working on the finer points.

<html><div>T'Then... <BR>William D. Young <BR><BR>Real Mail 42 Winter St, 
Bangor ME, 04401 <BR>E-Mail youngwilliam at hotmail.com</div></html>




More information about the Tinymux mailing list