Hi there! First off, this should be posted in the scripts section of the forums. This is a pretty simple script, so I'll just make it for you. It is not possible by my knowledge to make it by clicking the mouse, but I've made it according to your example:
;Artificial Intelligence Script
;Header
desc = FIRING
;Triggers:
:state=0:state=1
:state=1,keypressed=35 1:state=2
:state=2,keypressed=35 0:state=3
:state=3:state=4,plraction=1
:state=4,keypressed=35 0:state=3
:state=4,keypressed=35 1:state=5
:state=5,keypressed=35 0:state=1
;End of Script
I hope this is what you were looking for.
Happy to help,
Akanto
| Windows 7 Home Premium 64 - Bit | AMD Athlon II X4 630 @ 2.8GHz | Nvidia GeForce GTX 460 1GB | 6GB DDR3 RAM | 1TB HDD |