Here's how I structured the script:
ScriptName AAAStealthWarBook
;This activates the random stealther chance
Begin Gamemode
Short Doonce
float A
float B
If OnControlDown 9 Set A to Rand 1 4
If A <= 2 Set B to Rand 1 2
Endif
If B == 1 NPC1.MoveTo Player 100,100,0
NPC1.enable
Endif
If B == 2 NPC2.MoveTo Player -100,100,0
NPC2.enable
Endif
Endif
End
I also had some errors in regards to the OnControlDown, saying something about it being wrong too. I can't remember the error message, but I switched it around to read the way the current script is now.
Thank you for helping out if you can.