You can actually use the System object's actions from script, the Create one is (for example):
System.Create("Sprite", 1, System.mousex, System.mousey)
where 1 is the layer number, and it creates at the mouse. This isn't clear, I know - the next build will have proper intellisense incorporated for the system object, just like with normal objects.