|
rsleite Newbie
Joined: 27 Mar 2011 Posts: 1
|
Posted: Sun Mar 27, 2011 9:51 pm
Excluding certain commands from the command history |
Hi,
I searched around and did not find anything related. I want to exclude certain commands from the command history (if that is the right term), mostly related to comm channels, like
< gen Hello there>. So when I type <g> and the up arrow I dont see that but the previous command beginning with "g". Any suggestions?
Thanks |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Mon Mar 28, 2011 12:15 am |
To do that, you probably would have to turn off command history and build your own. Beyond that, I think there's a length of command option to be found in Preferences (I know there's a number of commands option for sure).
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
daemoan.vermillious Apprentice
Joined: 28 Feb 2009 Posts: 135 Location: Chico, Ca
|
Posted: Mon Mar 28, 2011 4:43 am |
That would be an intresting option to add....
A Filter list, to filter out #ti #con look who north south east west etc..... fribulous commands that wouldnt wouldnt log.... |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4690 Location: Pensacola, FL, USA
|
Posted: Tue Mar 29, 2011 6:45 pm |
maybe just a means to have it exclude any lines that start with # or %...
#ONINPUT {^(*)$} {
$firstChar=%replace(%replace(%left(%1, 1), "#"), "%")
#IF ($firstChar) {
$excludeCommands=north|south|etc
$firstWord=%word(%1, 1)
#IF (!%ismember($firstWord, $excludeCommands)) {//add to custom command list}
}
}
It might be better to use %match than %ismember though |
|
_________________ Discord: Shalimarwildcat |
|
|
|
|
|