Support for tilde ~ console commands?
note it might just be me, but the tilde is appearing as an elongated hyphen in my post.

I think support for tilde console commands would be a fantastic feature to this plugin! For instance:
bind o ~o.grant group admin build.perm;o.revoke group admin build.perm
this line will grant build.perm by pressing the o key, then revoke it the next time you press it (making a toggle).

I tried /alias add /buildtoggle "~o.grant group admin build.perm;o.revoke group admin build.perm" but unfortunately it doesn't seem to work.

This is my .json for my commands. /buildon and /buildoff work perfectly!

{
  "alias": [
    {
      "original": "o.grant group admin build.perm",
      "alias": "/buildon",
      "originaltype": "console",
      "aliastype": "chat",
      "permission": "aliassystem.use"
    },
    {
      "original": "o.revoke group admin build.perm",
      "alias": "/buildoff",
      "originaltype": "console",
      "aliastype": "chat",
      "permission": "aliassystem.use"
    },
    {
      "original": "~o.grant group admin build.perm;o.revoke group admin build.perm",
      "alias": "/buildtoggle",
      "originaltype": "console",
      "aliastype": "chat",
      "permission": "aliassystem.use"
    }
  ]
}​

Thank you for making this wonderful plugin!

What is a tilde command? Both chat and console commands are supported in this plugin, ~ has nothing to do with the command execution. If you are hoping the plugin would open a console with ~ for you, that isn't possible and not necessary anyway for most games.

The tilde allows a key to cycle through commands with each button press. For example:

bind rightarrow ~graphics.vm_horizontal_flip 0;graphics.vm_horizontal_flip 1​

Putting this in console will bind rightarrow to change the viewmodel from right handed to left handed with the first press, then left handed back to right handed if you press it again.

 

That sounds like a client-side thing, which this plugin wouldn't have a concept of really, or even the server most likely. You may be able to run it as a console command on a client, but unsure if that'd work, so that'd need some testing.

Ah okay.