i did get it to work, but it seems to work only with the command
DigiKeyboard.sendKeyStroke(0,128);
for some reason.
also my scripts run automatically on plugin, and i figured out i was also losing the key inputs at the beginning which made the windows key problem more confusing, the only solution i could find for this was to send
DigiKeyboard.sendKeyStroke(0);
DigiKeyboard.delay(2000);
before sending the keyboard input or it seems the first few inputs get lost at random, slightly inconvenient but that seems to work. for future users of cheap clone boards: if none of your scripts seem to be working right but only at the beginning i would definitely start by adding a delay of 5000 or so, see if that fixes the problem, and if it does slowly tweak the delay down to find the minimum time you can delay before keyboard inputs work. it also could be caused by unreliable usb ports on my beat up windows 7 test machine i was using to test scripts.