[TF] Rid prompt from /visual input field
Brought to you by:
kenkeys
|
From: leuschner at gmx.n. (J. Leuschner) - 2003-03-27 11:50:45
|
Petter Njystr?m wrote:
>>
>>/def -h"PROMPT" prompt_hook = /test prompt('')
>>
>>should work (untested).
>>
>
> Yes, that works, it gives the same effect as /set
> lp=off. But that's not what I want. I guess I didn't
> make it clear, but I don't want the prompt to
> disappear, I just want it to be showed in the main
> output field together with the rest of the MUD output.
Ok...
/def -h"PROMPT" prompt_hook = /echo %*%;/test prompt({*})
gives you a Prompt in the output-field AND in the visual-field.
With
/def -h"PROMPT" prompt_hook = /echo %*%;/test prompt("")
it appears only in the output field.
Both hooks only write the prompt itself into the output field, not your
typed commands.
Jens
|