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

Lowercase tab-completion

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



Joined: 11 Feb 2009
Posts: 48

PostPosted: Wed Nov 19, 2014 11:42 am    Post subject: Lowercase tab-completion Reply with quote

Is there anyway to have tab-completion on the input line be entered in lowercase? On my mud, names are displayed with the first letter capitalized but if you try to send a tell or other skill on that name, it won't recognize it unless it's lowercase.
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3770

PostPosted: Wed Nov 19, 2014 5:56 pm    Post subject: Reply with quote

There's no easy work around that I know of.
Back to top
View user's profile Send private message Send e-mail
PowerGod



Joined: 04 Aug 2014
Posts: 339

PostPosted: Thu Nov 20, 2014 5:21 am    Post subject: Reply with quote

I'm not sure I understood correctly, but maybe you can trap names with an ACTION, convert them in lowercase and add them to the TAB completion list.

Didn't tried, but something like this:

Code:


PlayerName tell 'Hello World !!'

#action {%+ tell '%+'}
{
#format {testvar} {%l} {%1};
#tab {$testvar}
}


So when you write "pla" [TAB] it shoud complete "playername"
Back to top
View user's profile Send private message
reality3k



Joined: 11 Feb 2009
Posts: 48

PostPosted: Sat Nov 22, 2014 4:50 pm    Post subject: Reply with quote

Nice idea, PowerGod. I ended up just patching a few things with the tab complete. I kind of wonder if lowercase shouldn't be default. I'm probably biased by my only experience, but most muds I've played expect lowercase input.
Back to top
View user's profile Send private message
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