TinTin++ Mud Client The TinTin++ message board

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
TinTin++ Mud Client

Coloring input and tt++ input

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
Sarec



Joined: 03 Sep 2007
Posts: 5

PostPosted: Mon Oct 22, 2007 4:02 am    Post subject: Coloring input and tt++ input Reply with quote

I was wondering is there a setting that can change the color of client input in the mud output window.

I'd like to get something like that:

<10/10/10>
look in bag

A bag contains nothing
<10/10/10>

Also, I'd like to achieve similar effect with aliases:
<10/10/10>
ll

A bag contains nothing
<10/10/10>



Second question: Is there a way to debug actual output to mud? With DEBUG ALIASES/ACTIONS ON it doesn't show the input sent to mud, only the name of alias called:

#action {abc} {bbb}
#alias bbb {ddd}
#alias bbb {ddd a;ddd b}
#alias ddd {jump %1}

#debug aliases on
#debug actions on

#sh abc
#ACTION DEBUG: bbb
#ALIAS DEBUG: bbb :
#ALIAS DEBUG: ddd : a
#NO SESSION ACTIVE. USE: #session {name} {host} {port} TO START ONE.
#ALIAS DEBUG: ddd : b
#NO SESSION ACTIVE. USE: #session {name} {host} {port} TO START ONE.
abc

I would like to get something like this:
#sh abc
jump a
#NO SESSION ACTIVE. USE: #session {name} {host} {port} TO START ONE.
jump b
#NO SESSION ACTIVE. USE: #session {name} {host} {port} TO START ONE.
abc
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3770

PostPosted: Mon Oct 22, 2007 11:34 am    Post subject: Re: Coloring input and tt++ input Reply with quote

Sarec wrote:
I was wondering is there a setting that can change the color of client input in the mud output window.

You can substitute your prompt and put the color of your liking behind it:

#substitute {^<%0/%1/%2> } {<%0/%1/%2> <138>}

This will not work for split screen prompted command echoing though. I guess I could add a config option to set a value between 000 and 999 to manipulate the command echo color.

Sarec wrote:

Second question: Is there a way to debug actual output to mud? With DEBUG ALIASES/ACTIONS ON it doesn't show the input sent to mud, only the name of alias called:

That could be useful indeed. I'll add a general note to my todo list to look into improving debug information.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> General Discussion All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
TinTin++ Homepage

Powered by phpBB © 2001, 2002 phpBB Group