So, um, it was already added bro.
//set -sl %test local | set -sg %test global | echo -a $var(%test,0) : local? 1= $var(%test,1).local , 2= $var(%test,2).local : var= %test
//echo -a %test
> * Set %test to local
> * Set %test to global
> 2 : local? 1= $true , 2= $false : var= local
> global