One problem you'll run into is that $n takes a CHAR_DATA argument, so
you can't send it ch->pcdata->pretitle... one way you could do it would
be to do something like this:
act("{C $q $n says, \"$T\"{x", ch, NULL, argument, TO_ROOM);
and in void act_new, create a new letter entry where you see all the
other ones... make it substitute the value of ch->pcdata->pretitle and
use the same ch that's used for $n... replace the q with another letter
if there's already a q in existence :D
Richard Lindsey.
-----Original Message-----
From: Brittany Dannenberg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 01, 2005 11:12 AM
To: [email protected]
Subject: help with a loop..
Heya,
All I'm trying to do is make it so a person's pretitle
appears before they say something. I kept getting a
bunch of infinite loops. It wasn't working well with
an act() - act(ch->pcdata->pretitle, NULL, NULL.....)
etc. because act automatically does a \n\r after each
statement so it would show up like:
Lady
Lona says, "Hi."
Here's the say I'm working with =)
act ("{C$n says, \"$T\"{x", ch, NULL, argument,
TO_ROOM);
Any ideas? It's probably something wicked simple, but
I can't figure it out. Thank ya.
Brittany
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
ROM mailing list
[email protected]
Unsubscribe here ->>> http://www.rom.org/cgi-bin/mailman/listinfo/rom