In "Problem with act..." Michael wrote:
> I have a ton of Immortals on the MUD I'm coding at, and I wanted an easier
> way to change do_sac and what not, so I wouldn't have to do if checks for 
> alignment, so I made a new variable in act, like this:

It's unclear (to me, at least) exactly what this new variable does, or
how it might be used.

Now that you mention it though, here are a pair I added to my act_new.
They're used at the beginning of a message string where the short of
a mob would be called and needs to be capitalised, as in consider:

if ( diff < -6 )       msg = "$C isn't worth the effort.";

__________________________________
$c   Result is the capitalized name of 'ch'.  If 'ch' is not visible to the
      target character, result is the string 'Someone'.

$C   Result is the capitalized name of 'arg2'.  If 'arg2' is not visible to
      the target character, result is the string 'Someone'.


 case 'c': i = capitalize(PERS( ch,  to  ));             break;
 case 'C': i = capitalize(PERS( vch, to  ));             break;
__________________________________


Sandi                            

   "I only regret that I have but one lifetime to give for my compiler"

[EMAIL PROTECTED]                                blades.inetsolve.com 3333


Reply via email to