|
zeiuszeppo Novice
Joined: 22 Nov 2001 Posts: 48 Location: Italy
|
Posted: Thu Nov 22, 2001 8:18 pm
problem automapping |
I cant automap correctly a room if it has
a blank line in. As this one:
Castle Entrance
The deathly chilling fog slowly parts to show you tower spires and a
crumbling castle. The iron gates before you are slick with slime and rust.
The gates creaks in the wind ...
Visible exits: North
The blank line makes the automapper not
lo log correctly the room.
How can I do? |
|
|
|
Castaway GURU
Joined: 10 Oct 2000 Posts: 793 Location: Swindon, England
|
Posted: Fri Nov 23, 2001 9:05 am |
Hmm, what exactly does it not do? Anything at all? Are there also rooms without black lines? did you try a trigger "^$" -> #NOMAP?
Lady C. |
|
|
|
zeiuszeppo Novice
Joined: 22 Nov 2001 Posts: 48 Location: Italy
|
Posted: Fri Nov 23, 2001 1:00 pm |
I made it, thanks!
but now I have another problem.
Sometimes the mud sends me lines after the prompt. How can I force zmud to split that line (containing prompt and the line) into 2 lines? |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Fri Nov 23, 2001 1:05 pm |
The easiest solution is not not send more than one command to the MUD at once (command1;command2;command3) because I noticed that this is when what you described happens.
A little more elaborate solution would be:
#TRIGGER {~<(%d)/(%d)hp (%d)/(%d)m (%d)/(%d)mv~>(%*)} {#GAG;#SH ~<%1/%2hp %3/%4m %5/%6mv~>;#SH %7}
However this is may not always work perfectly. Also, notice that I used a generic prompt. Modify the pattern accordingly to match your prompt.
Kjata |
|
|
|
|
|