Correction:

Erm, actually, it's not a victim, so you need to grab the name of the
corpse, right? Sorry, didn't read the initial post properly.

Use the command str_replace to replace "the corpse of" in the short_descr of
the corpse object to "", then str_dup the replaced string as the scalp name.
Should be peachy.

>
> -Crypt
>
> ----- Original Message -----
> From: "Rainer Roomet" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Monday, April 26, 2004 9:30 AM
> Subject: scalp command for scalping PC corpses
>
>
> > I want to add scalp command for scalping PC corpses. I can do it but i
> have
> > one problem.
> > For example:
> > if in room is corpse named:
> > ---------------------------------
> > The corpse of Test is lying here.
> > scalp corpse
> > You start scalping corpse of Test balalalalal....
> > And then you got scalp, and scalp name have to be same what is corpse
> name;
> > for example
> >
> > the scalp of Test
> > ------------------------------------------------------
> > But when i scalp corpse, then scalp name is "the scalp of Ranka"; My
name
> is
> > ranka who scalping corpse.
> >
> > Anyone can tell me how i can change scalp name to victim->corpse name ?
> >
> >
> > P.S. artifact works perfectly for now; Thanks for everyone.
> >
> > _________________________________________________________________
> > Add photos to your messages with MSN 8. Get 2 months FREE*.
> > http://join.msn.com/?page=features/featuredemail
> >
> >
> > --
> > ROM mailing list
> > [email protected]
> > http://www.rom.org/cgi-bin/mailman/listinfo/rom
> >
>

Reply via email to