BlockButton(+Mykey, true)
Posted: Fri Sep 30, 2016 5:21 am
Hello, I want to ask for such a function:
I do not know whether it makes sense to create suggestions, but sorely lacking function that can block one button not only in the ACS but also in keykonf. Such a function is difficult to realized?
like this:
keyConf:
I do not know whether it makes sense to create suggestions, but sorely lacking function that can block one button not only in the ACS but also in keykonf. Such a function is difficult to realized?
like this:
keyConf:
Code: Select all
AddMenuKey "SomeKey" +MyKey
alias +MyKey "Puke 5; Take Left; Take Right; Take Walk; Take WalkStop; Give Walk; Give Right; +forward;"
alias -MyKey "-forward; Take Right; Take Walk; Take WalkStop; Give WalkStop"
DefaultBind D +MyKey
function blocks in keyСonf pressing button +myKey:
BlockKey(str key, int blockkey);//str key this variable or string of lump keykonf
int CheckBlockKey(str MyKey);// return true if key block, or return false if key not block.
Script 1 (void)
{
if(CheckBlockKey(+MyKey)== false)
{
BlockButton(+Mykey, true);
}
}