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...
Make a trigger that matches the prompt, eg.
<*/* */* */* *>*
Send the matching text to the status line, and omit the matching line from output.
If <5000/5000 1000/1000 1500/1500 150> is your prompt then
You can use this:
<triggers>
<trigger
enabled="y"
keep_evaluating="y"
match="^\<(.*)\/(.*) (.*)\/(.*) (.*)\/(.*) (.*)\>$"
omit_from_output="y"
regexp="y"
repeat="y"
send_to="12"
sequence="100"
other_text_colour="black"
other_back_colour="black"
>
<send>world.setstatus "<" & "%1" & "/" & "%2" & " " & "%3" & "/" & "%4" & " " & "%5" & "/" & "%6" & " " & "%7"</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.
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
never change to another client