ya it does, but you need to type it like Tristhan has shown, with pause at the front.
Your pause needs to have enough time for the spell to cast, and for the global cooldown that follows. The entire line gets executed at once, so as it starts casting the spell it will also start the timer. Don't forget to add a little extra for lag, so 40 would be like 42.
Regards,
Sticky