stick prompt to bottom

Posted by finnish on Sun 14 Sep 2003 11:00 PM — 5 posts, 20,308 views.

Russia #0
hiya.

i wanna make prompt apeear only once on screen, at the bottom. guess all i have to do is omit other occurances of it.
let me show the prompt i get:
<5000/5000 1000/1000 1500/1500 500>
oh i wish muchclient could do substituitions based on regexp...
but now i have to make it work without substitutioning...
Australia Forum Administrator #1
Make a trigger that matches the prompt, eg.

<*/* */* */* *>*

Send the matching text to the status line, and omit the matching line from output.
USA #2
If <5000/5000 1000/1000 1500/1500 150> is your prompt then

You can use this:

<triggers>
<trigger
enabled="y"
keep_evaluating="y"
match="^\&lt;(.*)\/(.*) (.*)\/(.*) (.*)\/(.*) (.*)\&gt;$"
omit_from_output="y"
regexp="y"
repeat="y"
send_to="12"
sequence="100"
other_text_colour="black"
other_back_colour="black"
>
<send>world.setstatus &quot;&lt;&quot; &amp; &quot;%1&quot; &amp; &quot;/&quot; &amp; &quot;%2&quot; &amp; &quot; &quot; &amp; &quot;%3&quot; &amp; &quot;/&quot; &amp; &quot;%4&quot; &amp; &quot; &quot; &amp; &quot;%5&quot; &amp; &quot;/&quot; &amp; &quot;%6&quot; &amp; &quot; &quot; &amp; &quot;%7&quot;</send>
</trigger>
</triggers>

One problem your going to run into with this is if you omit from the output like this...

if you don't have a linedromp on your prompt it'll also omit everything else in the line as well(might be a bug, not sure though).

I.E.
<5000/5000 1000/1000 1500/1500 500> Character says 'Blah blah blah'

It'll omit the say as well.

Make sure you can add a drop line to fix that.
Russia #3
bah.
never thought of that way.....
you predicted my thought. but, surely, i never thought of adding a \n at the end of prompt to fix.
gotta see if my mud can do it..
yeah! wow! blah!
it works, thanks
Russia #4
never change to another client