I got this great javascript based webpage using the clock to calculate time whitin the game environment and set up timers in FFXI.
I'd like to create a plugin which would allow you to setup timed events, according to the moon phase, crystal day and the likes. Also recast a spell every XX seconds when it runs out.
http://www.mithrapride.org/vana_time/index.html
Right now I tried to convert it into vbs and I don't think that's possible. vbs doesn't allow for unsigned long integers and the timediff function is very primitive, which is a key element in my macros. Maybe I'll just rebuild the timediff function so it takes into account the time of the day between two set dates.
I think it is time I turn this project into a plugin and more than a simple vbs macro.