Please check out Dark Rifts !

Member Discussions

terms



[Previous] [Next] [Post] [Reply] [Topics] [Summary] [Search]


1. %r and %t in MOO Fri Nov 11, 2005 [2:34 PM]
LE_Cerebro
lore@virtual-adept.com
member since: Nov 11, 2005
Reply

I know that it's possible to adapt MOO to use %r and %t. Does anyone know how to do this? I've seen it before, but it's a little too advanced for me at the moment.

If anyone can help it would be greatly appreciated.

legacyofevolution.com port 2009


2. RE: %r and %t in MOO Sat Nov 12, 2005 [10:44 AM]
slunk731
sdb036000@utdallas.edu
member since: Nov 9, 2005
In Reply To
Reply
I'm not entirely sure what you're wanting to be doing with them. However, if you look at $string_utils:pronoun_sub, I think you might see what you're looking for. If used on a string in a particular verb, %r is replaced with the reflexive pronoun for the player object (himself, herself) of that particular verb and %t defaults to the caller of the verb (#-1 if it's self-evalled), but can be set explicitly in the $string_utils:pronoun_sub arguments.

Also, you can do substitutions for the other pronoun forms (he/him/his) and the names of direct/indirect objects for the verb, etc. I highly suggest you check it out.


3. RE: %r and %t in MOO Tue Nov 22, 2005 [6:23 AM]
LE_Cerebro
Email not supplied
member since: Nov 11, 2005
In Reply To
Reply

Sorry I wasn't more elaborate. I don't know what I was thinking. Anyway, I meant the %r for Return and the %t for Tab that MUSH uses. :). I've seen MOOS adapted to use this but I'm not entirely sure how they did it.



4. RE: %r and %t in MOO Tue Nov 22, 2005 [1:11 PM]
thyrr
Email not supplied
member since: Nov 21, 1999
In Reply To
Reply
For future reference, this kind of topic doesn't qualify as "advanced" Coding or MUD design. Please use the regular coder's forum.




[Previous] [Next] [Post] [Reply] [Topics] [Summary] [Search]