your testing the wrong code.

i have both of those scriptlets loaded

this one SHOULD NOT be a problem because i DO NOT want it to work, but it interferes with my first code working
alias F12 {
if (%si.d.tog.key == F12) { si.d.tog }
}