I am fully aware that you are using sansan.
alias vcmp.cmdallow { !return $iif($hget(cmdallow,$1) == No,No,Yes) }
on *:signal:vcmp.event.gamecmd: {
if ($vcmp.cmdallow($vcmp.hgetname($vcmp.nameid($3))) == Yes) {
blablabla
}
}
elseif (!blockcmd* iswm $2) { hadd -m cmdallow $vcmp.hgetname($vcmp.nameid($3)) No }
; to block and
elseif (!unblockcmd* iswm $2) { hdel cmdallow $vcmp.hgetname($vcmp.nameid($3)) }
; to unblock
>> I have never tried this but I hope this works