|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4702 Location: Pensacola, FL, USA
|
Posted: Wed Jun 07, 2006 3:10 am
Echo commands |
Is there a simple way to reroute commands send to echo in a child window instead of the main one? Those sent via triggers and whatnot as well as those entered on the command line.
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
Arcane_of_Discworld Wanderer
Joined: 29 Jan 2002 Posts: 99 Location: UK
|
Posted: Wed Jun 07, 2006 9:45 am |
Easiest way would be to disable echoing of commands and scripts within preferences (Script Parser) then create a window using #WIN eg: '#WIN Commands', so you don't have to always create it when starting zMud it is best if you right click on the new window and select Edit Menu the in the settings window that pops up save (File>Save as) the settings file (by default it will be the name of the window name), then close the settings. Position the window where you would always like it and then save the layout.
To actually reroute the echoing of commands I would use an #ONINPUT trigger such as:
Code: |
#ONINPUT {(*)} {:Commands:#SAYPROMPT %time( hh:nn:ss:zzz)%char( 32)
:Commands:#SAY %1} "" {notrig} |
The above also adds a time stamp to the beginning of the line. |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4702 Location: Pensacola, FL, USA
|
Posted: Wed Jun 07, 2006 10:03 am |
that only works for the ones entered on the command line, what about those fired off from triggers?
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
Arcane_of_Discworld Wanderer
Joined: 29 Jan 2002 Posts: 99 Location: UK
|
Posted: Wed Jun 07, 2006 10:58 am |
No idea.. I don't have any triggers that send commands to the mud..
|
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Wed Jun 07, 2006 11:33 am |
Input triggers also work for commands that are sent from a script.
|
|
_________________ Kjata |
|
|
|
|
|