I'm making a real time battle engine, basically you attack a guy by clicking "attack" then sprites will appear on the screen and you must click them before the timer runs out, or your attack ends. It mimics slashing.
Here is what I have so far
SPRITE 1 300 600 soldier1.gif
slashtimermax = 50
' the starting timer for the slash
slashtimer = slashtimermax
' the tmer
click = 0
' tells that the player is NOT slashing
timer = 0
'when button named attack is pushed the timer starts
IF timer = 1 THEN
 ON TIMER 1
  IF click = 0 THEN
   place = RANDOM 5
  END IF
  ' places where x can be
  IF place = 1 THEN
   SPRITE 2 230 520 x.gif
   click = 1
  END IF
  IF place = 2 THEN
   SPRITE 2 160 480 x.gif
   click = 1
  END IF
  IF place = 3 THEN
   SPRITE 2 170 500 x.gif
   click = 1
  END IF
  IF place = 4 THEN
   SPRITE 2 200 450 x.gif
   click = 1
  END IF
  IF place = 5 THEN
   SPRITE 2 310 620 x.gif
   click = 1
  END IF
  slashtimer = slashtimer - 1
  ' timer for slashing
  IF slashtimer = 0 THEN
   timer = 0
   ' if timer runs out slashing ends
  END IF
  IF spriteclicked = 2 THEN
   enemyHP = enemyHP - 10
   click = 0
   slashtimermax = slashtimermax - 5
   slashtimer = slashtimermax
   ' when you click the designated  x for the slash, the enemy is damaged, the max timer goes down, and timer
   ' resets
  END IF
 END TIMER
END IF
The sprites won;t show up, but that seems to be the only problem so far.