Some help
Posted: Sun Oct 01, 2017 5:28 am
Hi everyone,
Freon here and I want to start by saying that I need help. I've really tried to do this myself but I am overwhelmed by the learning curve needed to get some features up and running for Mudlet. I don't know how to write LUA. I do know how some code works as I've dabbled in some html, css, and very little php, but this is very different.
Anyway, there are two things I'm trying to do that I just can't seem to figure out.
First is to create a recognition trigger that appends the character's name to the text.
For example, the mud gives us:
A bright-eyed, smelly goblin is here.
I know the goblin's name is Daisy.
Currently, I'm using this script in the trigger: echo ("(Daisy)")
and it gives me:
A bright-eyed, smelly goblin is here. (Daisy)
How can I get it to give me this:
(Daisy) A bright-eyed, smelly goblin is here.
It also has to work with mud output like this:
While sitting on a desk, a bright-eyed, smelly goblin writes gibberish on a piece of parchment.
Giving me:
While sitting on a desk, (Daisy) a bright-eyed, smelly goblin writes gibberish on a piece of parchment.
The second thing is to configure the mapper. Of which I have no idea where to begin.
If there are any kind souls willing to help a programming dummy out, I would appreciate it very much.
Thanks!
Freon here and I want to start by saying that I need help. I've really tried to do this myself but I am overwhelmed by the learning curve needed to get some features up and running for Mudlet. I don't know how to write LUA. I do know how some code works as I've dabbled in some html, css, and very little php, but this is very different.
Anyway, there are two things I'm trying to do that I just can't seem to figure out.
First is to create a recognition trigger that appends the character's name to the text.
For example, the mud gives us:
A bright-eyed, smelly goblin is here.
I know the goblin's name is Daisy.
Currently, I'm using this script in the trigger: echo ("(Daisy)")
and it gives me:
A bright-eyed, smelly goblin is here. (Daisy)
How can I get it to give me this:
(Daisy) A bright-eyed, smelly goblin is here.
It also has to work with mud output like this:
While sitting on a desk, a bright-eyed, smelly goblin writes gibberish on a piece of parchment.
Giving me:
While sitting on a desk, (Daisy) a bright-eyed, smelly goblin writes gibberish on a piece of parchment.
The second thing is to configure the mapper. Of which I have no idea where to begin.
If there are any kind souls willing to help a programming dummy out, I would appreciate it very much.
Thanks!