Jdiddleymspot said:
Posted at Saturday, 02:52 AM Australian time
Basically, what I want is for when a PC or NPC description is displayed on screen, it will put his/her/its name in brackets after the description. How do I do this?
...
Jdiddleymspot said:
Please help :)
...
Jdiddleymspot said:
Posted at Saturday, 10:01 PM Australian time
Can't it trigger on the description of the PC?
...
Jdiddleymspot said:
Posted at Sunday, 06:11 AM Australian time
Can't it trigger on the description of the PC?
Making multiple posts won't get your questions answered faster. You asked a question at 10 PM my time, and then tried to hurry us up at 6 AM my time. Personally I was asleep.
When you made your initial post you were asked to supply, amongst other things, the scripting language you use, and the version of MUSHclient. You haven't done so.
I asked this:
Nick Gammon said:
How do we know, from what you posted, to put the name Barry there?
You haven't answered that.
Are you saying that every time you see this line:
A blue eyed man with short hair is here.
You want to replace it with:
A blue eyed man with short hair is here. (Barry)
Is that just because you happen to know that this person is Barry?
Is that description part of a longer description (like some MUDs do, with many people listed in one paragraph)?
It would help to know which MUD you are talking about.
If you are talking about a longer paragraph then an actual example would help too.
Are you planning to replace many descriptions with names, or just a single one (Barry)?
Sure, it can be done by triggering on the description, assuming you happen to know which name matches which description (which you didn't say).
But if you have hundreds of them there might be a better way. And if the descriptions are inside a big paragraph then the paragraph would have to be broken down into individual descriptions.
Have you read the FAQ?
The people who visit these forums are generally very helpful, and will be happy to help you tidy up an attempt that you have made. But they need information to work on, and generally like you to show you have tried to solve the problem yourself. |