Author Topic: Enable/ Disable  (Read 2024 times)

0 Members and 1 Guest are viewing this topic.

bp_pbs

  • Contributor
  • ***
  • Posts: 94
  • Karma: 1
    • View Profile
Enable/ Disable
« on: April 02, 2013, 02:05:07 AM »
I was wondering is it possible to enable and disable commands by voice? So pretty much a command that can enable or disable other commands.

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2320
  • Karma: 47
    • View Profile
Re: Enable/ Disable
« Reply #1 on: April 02, 2013, 03:40:42 AM »
I was wondering is it possible to enable and disable commands by voice? So pretty much a command that can enable or disable other commands.
Hi bp_pbs, you can enable/disable only command groups by voice which has the command in. You can't disable/enable a single command from a group.

You can create groups with commands which you want to disable/enable.

Create a command with "VC.DisableGroup" action, follow with the name of the group. If you use this command with a wildcard "VC.DisableGroup*",so it allows you to use a string that is contain in the name of the group. The same goes for to enable a command group with "VC.EnableGroup" action.

Example: Create a command like "VC.DisableGroup*" with string XBMC -> this command disable all groups that have XBMC in the name (XBMC Simple Actions / XBMC Payload Actions / ...).

You can also take a look in our wiki: http://voxcommando.com/mediawiki/index.php?title=Actions#EnableGroup

Kalle
« Last Edit: April 02, 2013, 03:45:36 AM by Kalle »
***********  get excited and make things  **********

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Enable/ Disable
« Reply #2 on: April 02, 2013, 09:10:06 AM »
Exactly  :bignod

bp_pbs

  • Contributor
  • ***
  • Posts: 94
  • Karma: 1
    • View Profile
Re: Enable/ Disable
« Reply #3 on: April 03, 2013, 12:38:27 AM »
Excellent. Thanks for the help.