You could make 3 or 4 statedefs, and in the .cmd file you could set them like this: (example taken from one of my old chars)
;Fireballs
[State -1,1° Fireball]
type = ChangeState
value = 1200
triggerall = command = "c" && Power >= 300
trigger1 = Statetype = S
trigger1 = ctrl = 1
[State -1,2° Fireball]
type = ChangeState
value = 1201
triggerall = (command = "c") && (Power >= 300)
trigger1 = (Stateno = 1200) && Time >= 18
[State -1,3° Fireball]
type = ChangeState
value = 1202
triggerall = (command = "c") && (Power >= 300)
trigger1 = (Stateno = 1201) && Time >= 18
[State -1,4° Fireball]
type = ChangeState
value = 1203
triggerall = (command = "c") && (Power >= 300)
trigger1 = (Stateno = 1202) && Time >= 18