This is probably simpler than I think, but this is what I'm wanting to do:
Whenever I cast a particular spell, I want a message to come up (a grouptell message) 5 minutes later warning the spell is about to drop.
The way I -think- I should do this is to have the existing alias I have that casts the spell to also call a subroutine. The subroutine will enable the timer which is set to fire every 5 mins. Once it's enabled, theoretically it should then fire in 5 minutes time and give the warning message. I would also have it call another script when it fires which disables the timer itself. So far so good.
Does this sound right, or is there an easier way around this?
Also, with another existing timer I have that fires every 1 minute with a message, when I first activate (enable) it, it sends the message then too, which I don't want to happen with this new timer I am planning on setting up. So, is there an easier way to do what I want?
I am wondering if there is some type of vbs routine I can do that when I cast the spell, the subroutine basically says 'wait 5 minutes, then send this message' ..but I don't know if that is possible, and if so, I don't know the correct syntax. Can anyone help? |