1. Click here to join our community discord server.

Add a submenu to filter bufflist in !bl command

Discussion in 'Suggestions Box' started by Biscince, Apr 9, 2021.

  1. Biscince

    Biscince New Member

    Hello,

    I like to name my bufflists with a prefix according to my class. So here my suggestion.

    I would like to be able to filter my bufflist with !bl command such as the !craft "regex" command do.

    Example of "!craft adren" command :
    upload_2021-4-9_18-3-17.png

    What I want to do is : "/bl |A|", so it filters all bufflist that match this pattern so I can select the one I want, instead of selecting the first one that matchs the regex :
    upload_2021-4-9_18-4-12.png

    If the algorithm only find one corresponding bufflist, then it can auto-select it like it does currently.

    Thanks for reading :3
     
    Last edited: Apr 9, 2021
    timkit likes this.
  2. Mute

    Mute Head Administrator Staff Member

    I just pushed an update where if you enter the search pattern in quotes, it will now display a list of those matching the pattern instead of auto-equipping the first one found.

    For example, if i enter the command: /bl "test" in my list of buff lists it will now show: [​IMG]

    Whereas if I enter: /bl test it will auto-equip the first one it finds.
     
    Biscince likes this.
  3. Biscince

    Biscince New Member

    Thank you so much, this update is very helpful in managing our bufflists.
    I can now create a custom radial wheel to filter my bufflist according to my class :3
     
  4. Biscince

    Biscince New Member

    Little edit, I'm looking for binding those commands.
    But since it is not possible to escape quotes ("") in left 4 dead 2 console (didn't find any workaround yet), is it possible :

    - to modify the search pattern without using those quotes ""
    - or add another special character as separator
    - or simply create a new command instead.

    If it is not too much to ask.

    If it's too complicated, I don't mind, it's already very useful that way.
    Thank you in advance.
     
  5. Mute

    Mute Head Administrator Staff Member

    I updated it to allow single quotes ' as well.
     
    Biscince likes this.
  6. Biscince

    Biscince New Member

    Thank you very much <3